Skip to content

Commit

Permalink
(feat - dark bkground)
Browse files Browse the repository at this point in the history
  • Loading branch information
lioneltchami committed Nov 30, 2023
1 parent bc23393 commit 9380dc0
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions index-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">A Visual Git Reference</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-es.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Una referencia visual de Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Une Référence Visuelle de Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-it.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Guida visuale a Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-ja.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">図解 Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-ko.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">A Visual Git Reference</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-pl.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Git: Wizualna ściąga</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-pt.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Uma Referência Visual do Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-ru.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Git: наглядная справка</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-sk.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Príručka Visual Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-vi.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Tham chiếu Git bằng hình ảnh</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-zh-cn.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">图解Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions index-zh-tw.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
async src="goatcounter.js"></script>
</head>
<body onload="replace_all_PNGs();">
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">圖解Git</h1>

<div id="language-box">
Expand Down
1 change: 1 addition & 0 deletions translate-en.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
async src="goatcounter.js"></script>
</head>
<body>
<button id="dark-mode-toggle">Toggle Dark Mode</button>
<h1 id="top">Translating <em>A Visual Git Reference</em></h1>

<p>Thanks to kindness of others, <a href='index-en.html'><em>A Visual Git
Expand Down
30 changes: 30 additions & 0 deletions visual-git-guide.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,36 @@ hr{
}


.dark-mode {
background: #000000; /* Black background */
color: #ffffff; /* White text */
}

.dark-mode a, .dark-mode a:visited {
color: #49a6e9; /* Adjust link color for dark mode */
}

.dark-mode h1, .dark-mode h2, .dark-mode h3 {
color: #ffffff;
}

.dark-mode hr {
background: #424242;
}

#dark-mode-toggle {
position: fixed;
top: 10px;
right: 10px;
padding: 10px;
background-color: #f05033; /* Button background */
color: white; /* Button text color */
border: none;
border-radius: 5px;
cursor: pointer;
}


.center {
text-align: center;
}
Expand Down

0 comments on commit 9380dc0

Please sign in to comment.