simpletheme/static/css/style.css

128 lines
1.7 KiB
CSS
Raw Normal View History

2020-04-02 09:37:23 +00:00
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
line-height: 1.5em;
2023-10-16 02:11:57 +00:00
font-size: 1.1em;
color: #222;
max-width: 70%;
padding: 2rem;
margin: auto;
background: #fafafa;
overscroll-behavior-y: none;
2020-04-03 15:34:56 +00:00
}
2020-04-02 09:37:23 +00:00
body.dark{
color: #DDD;
background: #151515;
}
body.dark > *{
color: #DDD;
}
2020-04-02 09:37:23 +00:00
img {
max-width: 100%; }
2020-04-02 09:37:23 +00:00
a {
color: #0074D9;
2020-04-02 09:37:23 +00:00
}
body.dark a {
color: #ff8b26;
}
2020-04-02 09:37:23 +00:00
h1 {
font-size: 1.6em; }
2020-04-02 09:37:23 +00:00
h2 {
font-size: 1.2em; }
2020-04-02 09:37:23 +00:00
h3 {
font-size: 1.1em; }
2020-04-02 09:37:23 +00:00
.muted {
color: #555;
text-decoration: none;
}
body.dark .muted {
color: #aaa;
text-decoration: none;
}
2020-04-02 09:37:23 +00:00
.small {
font-size: .8em; }
2020-04-02 09:37:23 +00:00
hr {
border: 0px;
border: 1px solid #eee;
2020-04-03 15:34:56 +00:00
}
highlight {
}
pre code span span{
word-break: break-all;
white-space: pre-wrap;
}
.taglist {
}
2023-10-16 16:14:59 +00:00
code.has-jax {
-webkit-font-smoothing: antialiased;
background: inherit !important;
border: none !important;
font-size: 100%;
2023-10-16 16:14:59 +00:00
}
2023-11-14 01:04:51 +00:00
2023-11-14 03:23:15 +00:00
.alert {
position: relative;
padding: 0rem 1rem;
padding-top: 1px;
padding-bottom: 1px;
border-color: #ed6a5a;
2023-11-14 03:23:15 +00:00
margin-bottom: 1rem;
border-left: 5px solid #ed6a5a;
background-color: #ed6a5a30
2023-11-14 01:04:51 +00:00
}
.alert-heading {
font-family: sans-serif;
font-size: 1.5rem;
color: #ed6a5a;
weight: bold;
}
#mode-selector {
position: relative;
display: flex;
2023-11-14 03:23:15 +00:00
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
2023-11-14 01:04:51 +00:00
}