lipu-sona/static/style.css.h

326 lines
4.8 KiB
C
Raw Normal View History

2020-07-17 22:01:50 +03:00
#define HASH(x) x
#define C_PAGEBG #d3d7cf
#define C_HEADERBG #fce94f
#define C_BODYBG #eeeeec
#define C_FOOTERBG #2e3436
#define C_HEADERFG #8f5902
2022-05-25 19:26:46 +03:00
#define C_BODYFG #000000
#define C_FOOTERFG #d3d7cf
#define C_BLEAKFG #888a85
#define C_BBORDER #555753
2022-05-29 12:30:04 +03:00
#define C_DLINK #000000
#define C_LINK #204a87
#define C_VISLINK #5c3566
#define C_FOOTLINK #729fcf
#define C_HVBORDER #888a85
#define C_LTBORDER #babdb6
#define C_ERRFG #eeeeec
#define C_ERRBRD #a40000
#define C_ERRBG #ef2929
#define C_INFFG #2e3436
#define C_INFBRD #4e9a06
#define C_INFBG #8ae234
2020-07-17 22:01:50 +03:00
#define C_WRNFG #8f5902
#define C_WRNBRD #c4a000
#define C_WRNBG #fce94f
2022-05-25 19:26:46 +03:00
#define C_BODYBG_DARK #2e3436
#define C_BODYFG_DARK #d3d7cf
2022-05-25 19:26:46 +03:00
#define C_LINK_DARK #729fcf
#define C_DLINK_DARK #3465a4
2022-05-25 19:26:46 +03:00
#define C_WRNBG_DARK #8f5902
#define C_WRNBRD_DARK #e9b96e
#define C_WRNFG_DARK #fce94f
2022-05-25 19:26:46 +03:00
#define C_INFBG_DARK #204a87
#define C_INFBRD_DARK #729fcf
#define C_INFFG_DARK #729fcf
2022-05-25 19:26:46 +03:00
#define C_ERRBG_DARK #a40000
#define C_ERRBRD_DARK #ef2929
#define C_ERRFG_DARK #eeeeec
2022-05-25 19:26:46 +03:00
#define C_HVBORDER_DARK #888a85
#define C_LTBORDER_DARK #555753
@font-face {
font-family: "linja pimeja";
src: url("/tokipona/linjapimeja19.woff")
}
@font-face {
font-family: "insa pi supa lape";
src: url("/tokipona/supalape.woff")
}
2020-06-11 19:17:02 +03:00
@font-face {
font-family: "sitelen pona pona";
src: url("/tokipona/sitelen-pona-pona.otf");
}
2020-03-13 15:35:20 +03:00
html {
min-height: 100%;
2021-05-18 12:01:55 +03:00
overflow-y: scroll;
scrollbar-color: C_LGREEN C_DLINK;
scrollbar-width: auto;
2020-03-13 15:35:20 +03:00
}
body {
background: C_BODYBG;
color:C_BODYFG;
2020-03-13 15:35:20 +03:00
min-height: 100%;
2020-04-11 20:54:04 +03:00
margin: 0;
2020-03-13 15:35:20 +03:00
}
2020-03-13 16:06:12 +03:00
pre {
font-size: 12pt;
}
blockquote {
margin: 6pt;
padding-inline: 1em;
2022-05-25 19:26:46 +03:00
border-inline-start: 4px solid C_LTBORDER;
}
p {
line-height: 1.5em;
}
table {
2022-05-25 19:26:46 +03:00
background: C_BODYBG;
border: 2px solid C_HVBORDER;
border-collapse: collapse;
}
th, td {
2022-05-25 19:26:46 +03:00
border: 1px solid C_LTBORDER;
padding: 4pt;
}
2020-03-13 16:06:12 +03:00
.header {
background: C_HEADERBG;
color: C_HEADERFG;
2020-03-13 16:06:12 +03:00
font-family: sans-serif;
min-height: 1px;
2020-03-13 16:06:12 +03:00
}
2020-05-14 13:31:38 +03:00
.header_text {
padding-block: 0.5em;
}
2020-03-13 16:06:12 +03:00
.header a, .header a:visited {
2020-05-14 13:31:38 +03:00
color: inherit;
2020-03-13 16:06:12 +03:00
}
.header h2, .header h3 {
2020-04-11 20:54:04 +03:00
display: inline;
2020-03-13 16:06:12 +03:00
}
.footer {
background: C_FOOTERBG;
color: C_FOOTERFG;
text-align: center;
2020-03-14 20:27:53 +03:00
font-family: sans-serif;
2020-03-13 16:06:12 +03:00
font-size: 0.8em;
2020-03-14 20:27:53 +03:00
padding: 12pt 6pt;
}
.footer a, .footer a:visited {
2020-07-28 14:58:55 +03:00
display: inline-block;
color: C_FOOTLINK;
}
2020-03-14 20:27:53 +03:00
.content {
margin: 0 6pt;
color: C_BODYFG;
font-family: serif;
2020-03-14 20:27:53 +03:00
}
2020-08-23 09:29:24 +03:00
.content img {
max-width: 100%;
}
.content a:link, .content a:visited {
color: C_LINK;
}
.content a:focus, .content a:hover {
color: C_DLINK;
}
2020-03-14 20:27:53 +03:00
.info, .warning, .error {
margin: 6pt;
2020-04-11 20:54:04 +03:00
padding-inline-start: 0.5em;
2020-03-14 20:27:53 +03:00
font-family: sans-serif;
2021-10-14 21:00:33 +03:00
overflow: auto;
border-radius: 6px;
2020-03-13 16:06:12 +03:00
}
2020-03-14 09:03:43 +03:00
.info:before, .warning:before, .error:before {
font-family: "Xolonium", sans-serif;
float:inline-end;
font-size: 3em;
padding-inline-end: 0.2em;
}
.info:before {
content: "";
}
.warning:before {
content: "";
}
.error:before {
content: "";
}
2020-03-14 09:03:43 +03:00
.info {
border: 2px solid C_INFBRD;
2022-05-25 19:26:46 +03:00
background: C_INFBG;
color: C_INFFG;
2020-03-14 09:03:43 +03:00
}
.warning {
border: 2px solid C_WRNBRD;
2022-05-25 19:26:46 +03:00
background: C_WRNBG;
color: C_WRNFG;
2020-03-14 09:03:43 +03:00
}
.error {
border: 2px solid C_ERRBRD;
2022-05-25 19:26:46 +03:00
background: C_ERRBG;
color: C_ERRFG;
2020-03-14 09:03:43 +03:00
}
2020-03-14 20:27:53 +03:00
.spoiler {
border: 2px solid C_HVBORDER;
color:;
2020-03-14 20:27:53 +03:00
visibility: hidden;
}
2020-04-11 20:54:04 +03:00
.pona .latin {
font-family: monospace;
}
.pona.pimeja {
font-family:"linja pimeja";
font-size: 2em;
}
.pona.supalape {
font-family:"insa pi supa lape";
font-size: 2em;
}
.pona.ponapona {
2020-06-11 19:17:02 +03:00
font-family:"sitelen pona pona";
font-size: 1.5em;
}
2020-07-30 14:07:14 +03:00
.def {
text-decoration: dotted underline;
}
2020-04-11 20:54:04 +03:00
@media screen and (min-width: 480px) {
2020-07-28 14:42:42 +03:00
html {
2020-07-30 13:13:48 +03:00
background:C_PAGEBG url("/hexagonal_bg.gif");
2020-08-04 13:03:30 +03:00
background-attachment: fixed;
2020-07-28 14:42:42 +03:00
}
body {
max-width: 608pt;
border-radius: 6px;
2020-07-28 14:42:42 +03:00
margin: auto;
}
2020-04-11 20:54:04 +03:00
2020-05-14 13:31:38 +03:00
.header_text {
2020-04-11 20:54:04 +03:00
padding-inline: 2em;
padding-block: 2em;
2020-04-11 20:54:04 +03:00
}
.content {
padding-inline: 1em;
2021-01-26 10:06:46 +03:00
padding-block: 1em;
2020-04-11 20:54:04 +03:00
}
.info, .warning, .error {
padding: 6pt;
padding-inline-start: 1em;
}
2020-04-11 20:54:04 +03:00
}
2020-05-14 13:31:38 +03:00
@media screen and (min-width:768pt) {
.header {
border-radius: 4px 4px 0 0;
}
2020-04-11 20:54:04 +03:00
body {
2020-05-14 13:31:38 +03:00
max-width: 768pt;
border: 2px solid C_BBORDER;
2020-08-18 10:31:57 +03:00
margin: 24pt auto;
2020-04-11 20:54:04 +03:00
}
.footer {
border-radius: 0 0 4px 4px;
}
2020-04-11 20:54:04 +03:00
}
2020-07-17 22:01:50 +03:00
2022-01-16 17:11:28 +03:00
@media (prefers-color-scheme: dark) {
body {
2022-05-25 19:26:46 +03:00
background: C_BODYBG_DARK;
color: C_BODYFG_DARK;
2022-01-16 17:11:28 +03:00
}
.content {
2022-05-25 19:26:46 +03:00
color: C_BODYFG_DARK;
2022-01-16 17:11:28 +03:00
}
.content a:link, .content a:visited {
2022-05-25 19:26:46 +03:00
color: C_LINK_DARK;
2022-01-16 17:11:28 +03:00
}
.content a:focus, .content a:hover {
2022-05-25 19:26:46 +03:00
color: C_DLINK_DARK;
2022-01-16 17:11:28 +03:00
}
.warning {
2022-05-25 19:26:46 +03:00
background: C_WRNBG_DARK;
color: C_WRNFG_DARK;
border-inline-start-color: C_WRNBRD_DARK;
2022-01-16 17:11:28 +03:00
}
.info {
2022-05-25 19:26:46 +03:00
background: C_INFBG_DARK;
color: C_INFFG_DARK;
border-inline-start-color: C_INFBRD_DARK;
2022-01-16 17:11:28 +03:00
}
.error {
2022-05-25 19:26:46 +03:00
background: C_ERRBG_DARK;
color: C_ERRFG_DARK;
border-inline-start-color: C_ERRBRD_DARK;
2022-01-16 17:11:28 +03:00
}
table {
2022-05-25 19:26:46 +03:00
background: C_BODYBG_DARK;
border-color: C_HVBORDER_DARK;
2022-01-16 17:11:28 +03:00
}
th,td {
2022-05-25 19:26:46 +03:00
border-color: C_LTBORDER_DARK;
2022-01-16 17:11:28 +03:00
}
}