mirror of
https://codeberg.org/aryak/mozhi
synced 2024-11-26 18:11:57 +05:30
fix light/dark mode
This commit is contained in:
parent
c747b628e4
commit
710d3d0d07
@ -40,6 +40,11 @@ a:hover {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#url {
|
||||||
|
color: #010000;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Navigation */
|
/* Navigation */
|
||||||
nav {
|
nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -225,9 +230,9 @@ button:hover {
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: light) {
|
||||||
.options {
|
.options {
|
||||||
background-color: #FFEDD5;
|
background-color: #ffedd5;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
@ -255,19 +260,20 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
select,
|
select,
|
||||||
|
.nice-select .nice-select-dropdown,
|
||||||
.nice-select,
|
.nice-select,
|
||||||
.nice-select-dropdown,
|
.nice-select-search{
|
||||||
.nice-select-search {
|
background-color: #fff;
|
||||||
background-color: #fff2e2;
|
|
||||||
color: #2f2f2f;
|
color: #2f2f2f;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: #FFEDD5;
|
background-color: #ffedd5;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button,
|
||||||
|
#url {
|
||||||
color: #fbe9e7;
|
color: #fbe9e7;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -278,4 +284,4 @@ button:hover {
|
|||||||
footer {
|
footer {
|
||||||
border-top: 1px solid #b2b2b2;
|
border-top: 1px solid #b2b2b2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -116,7 +116,7 @@
|
|||||||
Copy the translation
|
Copy the translation
|
||||||
</button>
|
</button>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{ if and .Engine .From .To .OriginalText }}<p><a id="url" class="button" style="color:#010000; text-decoration: none;" onclick="copyLinkToClipboard(event)"
|
{{ if and .Engine .From .To .OriginalText }}<p><a id="url" class="button" onclick="copyLinkToClipboard(event)"
|
||||||
href="/?engine={{.Engine}}&from={{.From}}&to={{.To}}&text={{.OriginalText}}">Copy translation link</a></p>
|
href="/?engine={{.Engine}}&from={{.From}}&to={{.To}}&text={{.OriginalText}}">Copy translation link</a></p>
|
||||||
{{end}}
|
{{end}}
|
||||||
{{if .TranslationExists}}
|
{{if .TranslationExists}}
|
||||||
|
Loading…
Reference in New Issue
Block a user