simpletheme/static/css/style.css
2023-11-13 22:23:15 -05:00

125 lines
1.6 KiB
CSS

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
line-height: 1.5em;
font-size: 1.1em;
color: #222;
max-width: 70%;
padding: 2rem;
margin: auto;
background: #fafafa;
overscroll-behavior-y: none;
}
body.dark{
color: #DDD;
background: #151515;
}
body.dark > *{
color: #DDD;
}
img {
max-width: 100%; }
a {
color: #0074D9;
}
body.dark a {
color: #ff8b26;
}
h1 {
font-size: 1.6em; }
h2 {
font-size: 1.2em; }
h3 {
font-size: 1.1em; }
.muted {
color: #555;
text-decoration: none;
}
body.dark .muted {
color: #aaa;
text-decoration: none;
}
.small {
font-size: .8em; }
hr {
border: 0px;
border: 1px solid #eee;
}
highlight {
}
pre code span span{
word-break: break-all;
white-space: pre-wrap;
}
.taglist {
}
code.has-jax {
-webkit-font-smoothing: antialiased;
background: inherit !important;
border: none !important;
font-size: 100%;
}
.alert {
position: relative;
padding: 0rem 1rem;
border-color: #ed6a5a;
margin-bottom: 1rem;
border-left: 5px solid #ed6a5a;
}
.alert-heading {
font-family: sans-serif;
font-size: 1.5rem;
color: #ed6a5a;
weight: bold;
}
#mode-selector {
position: relative;
display: flex;
padding: 0.125em 0.25em;
border: 3px solid transparent;
}
#mode-selector button {
-moz-appearance: none;
appearance: none;
border: none;
background-color: transparent;
padding: 0.5em;
margin: 0;
line-height: 1;
font-family: Lucida Sans Unicode, Source Sans Pro, Helvetica, Trebuchet MS, sans-serif;
font-size: 0.99rem;
text-align: center;
color: #000;
position: relative;
}
#mode-selector button:hover,
#mode-selector button.selected {
border-bottom: solid;
}
#mode-selector.dark button {
color: #FFF
}