rsrsss/css/style.css

182 lines
3.3 KiB
CSS

body {
background-color: lightgray;
max-width: 640px;
margin: 10px auto;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h2 {
font-size: 14pt;
}
a {
color: #1264a8;
}
a:visited {
color: #12324c;
}
.clearfix {
clear: both;
}
form.textinput {
float: right;
}
body > header, body > footer {
background-color: #333;
background: #333 linear-gradient(0, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
color: white;
padding: 5px;
border: 1px solid white;
border-radius: 5px;
}
body > header {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
min-height: 144px;
}
body > header > h1 {
margin-bottom: 0;
}
body > header > h1 + p {
margin-top: 0;
}
body > header a, body > footer a, body > header a:visited, body > footer a:visited {
color: white;
}
.channel-logo {
float: left;
max-width: 144px;
max-height: 144px;
margin-right: 10px;
}
body > footer {
border-top-right-radius: 0;
border-top-left-radius: 0;
font-size: 8pt;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
}
body > footer > * {
margin: 0 5px;
}
article, section {
clear: both;
background-color: whitesmoke;
border: 1px solid gray;
box-shadow: 0 5px 3px -3px #333;
margin: 7px 0;
padding: 5px;
font-size: 10pt;
}
article:first-child, section:first-child {
margin-top: 5px;
}
article > header, article > footer, section > header, section > footer {
color: #333;
font-size: 8pt;
}
article > header, section > header {
border-bottom: 1px solid lightgray;
padding-bottom: 2px;
margin-bottom: 5px;
}
article > footer, section > footer {
border-top: 1px solid lightgray;
margin-top: 5px;
padding-top: 1px;
}
article > header h2, article > header p, article > footer p, section > header h2, section > header p, section > footer p {
margin-top: 0;
margin-bottom: 0;
}
article > header p *:not(:last-child), section > header p *:not(:last-child) {
border-right: 1px solid gray;
padding-right: 0.25em;
margin-right: 0.25em;
}
article .right, section .right {
float: right;
}
article hr, section hr {
border-width: 1px 0 0 0;
border-style: solid;
border-color: lightgray;
}
article blockquote, section blockquote {
margin-left: 0.5em;
border-left: 2px solid lightgray;
padding-left: 0.5em;
}
article figure, section figure {
margin: 1em;
}
article figure img, section figure img {
display: block;
margin-left: auto;
margin-right: auto;
}
article figure pre, section figure pre {
margin: 0;
}
article figure figcaption, section figure figcaption {
font-style: italic;
text-align: center;
}
article table, section table {
width: 100%;
overflow-x: scroll;
}
article pre, section pre {
border: 1px dotted gray;
max-width: 100%;
overflow-x: scroll;
}
article ul, article ol, article dir, section ul, section ol, section dir {
margin-left: 1em;
padding-left: 0;
}
article dt, section dt {
font-weight: bold;
}
article dd, section dd {
margin-left: 0.5em;
border-left: 1px dotted gray;
padding-left: 0.5em;
}