100 lines
2.2 KiB
CSS
100 lines
2.2 KiB
CSS
|
/** XESS by Xe Iaso
|
||
|
|
||
|
https://github.com/Xe/Xess
|
||
|
|
||
|
Copyright (c) 2021 Xe <me@christine.website>
|
||
|
|
||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||
|
of this software and associated documentation files (the "Software"), to deal
|
||
|
in the Software without restriction, including without limitation the rights
|
||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||
|
copies of the Software, and to permit persons to whom the Software is
|
||
|
furnished to do so, subject to the following conditions:
|
||
|
|
||
|
The above copyright notice and this permission notice shall be included in
|
||
|
all copies or substantial portions of the Software.
|
||
|
|
||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||
|
THE SOFTWARE.
|
||
|
*/
|
||
|
|
||
|
main {
|
||
|
font-family: monospace, monospace;
|
||
|
max-width: 38rem;
|
||
|
padding: 2rem;
|
||
|
margin: auto;
|
||
|
}
|
||
|
|
||
|
@media only screen and (max-device-width: 736px) {
|
||
|
main {
|
||
|
padding: 0rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
::selection {
|
||
|
background: #d3869b;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background: #282828;
|
||
|
color: #ebdbb2;
|
||
|
}
|
||
|
|
||
|
pre {
|
||
|
background-color: #3c3836;
|
||
|
padding: 1em;
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
a, a:active, a:visited {
|
||
|
color: #b16286;
|
||
|
background-color: #1d2021;
|
||
|
}
|
||
|
|
||
|
h1, h2, h3, h4, h5 {
|
||
|
margin-bottom: .1rem;
|
||
|
}
|
||
|
|
||
|
blockquote {
|
||
|
border-left: 1px solid #bdae93;
|
||
|
margin: 0.5em 10px;
|
||
|
padding: 0.5em 10px;
|
||
|
}
|
||
|
|
||
|
footer {
|
||
|
align: center;
|
||
|
}
|
||
|
|
||
|
@media (prefers-color-scheme: light) {
|
||
|
body {
|
||
|
background: #fbf1c7;
|
||
|
color: #3c3836;
|
||
|
}
|
||
|
|
||
|
pre {
|
||
|
background-color: #ebdbb2;
|
||
|
padding: 1em;
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
a, a:active, a:visited {
|
||
|
color: #b16286;
|
||
|
background-color: #f9f5d7;
|
||
|
}
|
||
|
|
||
|
h1, h2, h3, h4, h5 {
|
||
|
margin-bottom: .1rem;
|
||
|
}
|
||
|
|
||
|
blockquote {
|
||
|
border-left: 1px solid #655c54;
|
||
|
margin: 0.5em 10px;
|
||
|
padding: 0.5em 10px;
|
||
|
}
|
||
|
}
|