113 lines
1.7 KiB
CSS
113 lines
1.7 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');
|
|
@import url('style.dark.css');
|
|
|
|
:root {
|
|
--background: #fff;
|
|
--color: #000;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
color: var(--color);
|
|
background-color: var(--background);
|
|
font-family: 'Inconsolata', sans-serif;
|
|
transition: background 0.3s ease-in-out;
|
|
}
|
|
|
|
#container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
#container>* {
|
|
width: 50%;
|
|
}
|
|
|
|
[data-tooltip] {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
[data-tooltip]:hover:after {
|
|
content: " (" attr(data-tooltip) ")";
|
|
}
|
|
|
|
a {
|
|
color: var(--color);
|
|
}
|
|
|
|
ul.vertical li {
|
|
display: inline-block;
|
|
}
|
|
|
|
ul.vertical li:not(:first-child)::before {
|
|
content: " - ";
|
|
font-weight: bold;
|
|
}
|
|
|
|
input,
|
|
a,
|
|
#result {
|
|
transition: background 0.3s ease-in-out;
|
|
}
|
|
|
|
input {
|
|
font-family: 'Inconsolata', sans-serif;
|
|
font-size: 150%;
|
|
outline: none;
|
|
|
|
border: none;
|
|
border-bottom: 1px solid;
|
|
|
|
color: var(--color);
|
|
background-color: transparent;
|
|
}
|
|
|
|
#result {
|
|
background-color: transparent;
|
|
white-space: preserve;
|
|
color: var(--color);
|
|
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
align-content: center;
|
|
}
|
|
|
|
#switch_theme,
|
|
#help {
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.image-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
}
|
|
|
|
.image-grid>* {
|
|
max-width: 100%;
|
|
max-height: 50%;
|
|
}
|
|
|
|
@media screen and (max-width: 798px) {
|
|
#container {
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
#container>* {
|
|
width: 100%;
|
|
}
|
|
} |