Skip to content

Commit

Permalink
Revert "add multiple language (Beta)"
Browse files Browse the repository at this point in the history
This reverts commit 1cab0d0.
  • Loading branch information
FXCourel committed Mar 31, 2022
1 parent ef07449 commit e85b350
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 60 deletions.
39 changes: 1 addition & 38 deletions src/web/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -642,41 +642,4 @@ body {
@keyframes fade {
from {opacity: .6}
to {opacity: 1}
}

/* Drop down menu */

.dropbtn {
background-color: #04AA6D;
color: white;
padding: 16px;
font-size: 16px;
border: none;
}

.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3e8e41;}
}
14 changes: 1 addition & 13 deletions src/web/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="../assets/pictures/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../assets/pictures/favicon-16x16.png">
<link rel="manifest" href="../assets/pictures/site.webmanifest">



</head>

<body>
Expand All @@ -22,14 +21,6 @@
<a class="header_menu" href="rules.html">Rules</a>
<a class="header_menu" href="">About</a>

<div class="dropdown">
<button class="header_menu">Language</button>
<div class="dropdown-content">
<a onclick="toggleLanguage('Français')">Français</a>
<a onclick="toggleLanguage('English')">English</a>
</div>
</div>

<a class="theme_btn light" onclick="setTheme('light')"></a>
<a class="theme_btn dark" onclick="setTheme('dark')"></a>
</header>
Expand All @@ -53,11 +44,8 @@

</div>
</div>

<script src="../js/theme.js"></script>
<script src="../js/keepalive.js"></script>
<script src="../js/language.js"></script>

</body>

</html>
9 changes: 0 additions & 9 deletions src/web/js/language.js

This file was deleted.

0 comments on commit e85b350

Please sign in to comment.