lipu-sona/static/style.css.h

144 lines
2 KiB
C

#define C_WHITE #ecf0f1
#define C_GRAY1 #bdc3c7
#define C_GRAY2 #95a5a6
#define C_GRAY3 #7f8c8d
#define C_BLACK #2c3e50
#define C_BLACK2 #34495e
#define C_RED1 #e74c3c
#define C_RED2 #c0392b
#define C_GRN1 #2ecc71
#define C_GRN2 #27ae60
#define C_YEL1 #f1c40f
#define C_YEL2 #f39c12
#define C_BLU1 #3498db
#define C_BLU2 #2980b9
html {
min-height: 100%;
}
body {
background: C_WHITE;
color:C_BLACK;
min-height: 100%;
margin: 0;
}
body a, body a:visited {
color: C_BLU2;
}
body a:visited {
color: C_BLU1;
}
blockquote {
margin: 6pt;
padding-inline: 1em;
border-inline-start: 4px solid C_GRAY2;
}
p {
line-height: 1.5em;
}
table {
background: #fefefe;
border: 2px solid C_GRAY2;
border-collapse: collapse;
}
th, td {
border: 1px solid C_GRAY1;
padding: 4pt;
}
.header {
background: C_BLACK2;
color: C_WHITE;
font-family: sans-serif;
min-height: 1px;
padding-block: 1em;
}
.header a, .header a:visited {
color: C_WHITE;
}
.header h2, .header h3 {
display: inline;
}
.footer {
background: C_GRAY3;
color: C_BLACK;
text-align: center;
font-family: sans-serif;
font-size: 0.8em;
padding: 12pt 6pt;
}
.footer a, .footer a:visited {
color: C_BLACK2;
}
.content {
margin: 0 6pt;
color: C_BLACK;
font-family: serif;
}
.info, .warning, .error {
margin: 6pt;
padding-inline-start: 0.5em;
font-family: sans-serif;
}
.info {
border-inline-start: 4px solid C_GRN1;
color: C_GRN2;
}
.warning {
border-inline-start: 4px solid C_YEL1;
color: C_YEL2;
}
.error {
border-inline-start: 4px solid C_RED1;
color: C_RED2;
}
.spoiler {
border-inline-start: 4px solid C_BLACK2;
background: C_GRAY2;
color:C_BLACK2;
visibility: hidden;
}
@media screen and (min-width: 480px) {
.header {
padding-inline: 2em;
}
.content {
padding-inline: 1em;
}
.info, .warning, .error {
padding: 6pt;
padding-inline-start: 1em;
}
}
@media screen and (min-width:720pt) {
html {
background:C_GRAY1;
}
body {
box-shadow: 0 0 0 1px C_GRAY2;
max-width: 720pt;
margin: auto;
}
}