lipu-sona/static/style.css.h

339 lines
4.9 KiB
C
Raw Normal View History

2020-07-17 22:01:50 +03:00
#define HASH(x) x
2020-08-22 19:55:52 +03:00
#define C_PAGEBG #221f31
#define C_HEADERBG #221f31
#define C_BODYBG #fefefe
2020-07-17 22:01:50 +03:00
#define C_FOOTERBG #050403
#define C_HEADERFG #fefefe
#define C_BODYFG #050403
2020-07-17 22:01:50 +03:00
#define C_FOOTERFG #fefefe
#define C_BLEAKFG #9a93b7
#define C_BBORDER #221f31
#define C_DLINK #221f31
#define C_LINK #404a68
#define C_VISLINK #678fcb
2020-07-17 22:01:50 +03:00
#define C_FOOTLINK #8be1e0
#define C_DBORDER #404a68
#define C_LBORDER #9a93b7
#define C_DERR #a14d3f
#define C_LERR #ea9182
#define C_DINF #221f31
#define C_LINF #8be1e0
2021-08-15 16:49:37 +03:00
#define C_DWRN #543516
#define C_LWRN #f5ee9b
2020-07-17 22:01:50 +03:00
#define C_LGREEN #7cc264
2020-07-28 14:25:58 +03:00
#define C_DGREEN #316F23
2020-07-17 22:01:50 +03:00
2020-07-30 14:07:14 +03:00
#define C_NAVFG #fefefe
@font-face {
font-family: "Xolonium";
src: url("/Xolonium-Regular.otf");
}
@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;
border-inline-start: 4px solid C_LBORDER;
}
p {
line-height: 1.5em;
}
table {
background: #fefefe;
2021-01-07 00:43:37 +03:00
border: 2px solid C_DBORDER;
border-collapse: collapse;
}
th, td {
2021-01-07 00:43:37 +03:00
border: 1px solid C_LBORDER;
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
}
2020-07-28 14:25:58 +03:00
.footer, .navbar {
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-07-28 14:25:58 +03:00
}
.navbar {
2020-12-02 15:36:32 +03:00
background: #404A68 url("/menu_background.gif");
2020-07-28 14:25:58 +03:00
}
.footer {
2020-03-14 20:27:53 +03:00
padding: 12pt 6pt;
}
2020-07-28 14:25:58 +03:00
.nav_linkmenu a {
display: inline-block;
2021-01-26 10:06:46 +03:00
width: 128px;
height: 32px;
line-height: 32px;
background: url("/menu_button.gif");
font-weight: bold;
2020-07-30 14:07:14 +03:00
color: C_NAVFG;
2021-01-26 10:06:46 +03:00
text-shadow: 1px 1px 0 C_FOOTERBG;
2020-07-30 14:07:14 +03:00
text-decoration: none;
2020-07-28 14:25:58 +03:00
}
2021-03-01 16:04:01 +03:00
.nav_linkmenu a:hover, .nav_linkmenu a:focus{
2021-01-26 10:06:46 +03:00
background: url("/menu_button_hover.gif");
2020-07-28 14:25:58 +03:00
}
2021-03-01 16:04:01 +03:00
.nav_linkmenu a:focus {
text-decoration: underline 2px;
}
2020-07-28 14:25:58 +03:00
.nav_linkmenu a:active {
2021-01-26 10:06:46 +03:00
background: url("/menu_button_sel.gif");
2020-07-28 14:25:58 +03:00
}
.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, .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;
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-inline-start: 4px solid C_DINF;
background: C_LINF;
color: C_DINF;
2020-03-14 09:03:43 +03:00
}
.warning {
border-inline-start: 4px solid C_DWRN;
background: C_LWRN;
color: C_DWRN;
2020-03-14 09:03:43 +03:00
}
.error {
border-inline-start: 4px solid C_DERR;
background: C_LERR;
color: C_DERR;
2020-03-14 09:03:43 +03:00
}
2020-03-14 20:27:53 +03:00
.spoiler {
border-inline-start: 4px solid C_DBORDER;
color:;
2020-03-14 20:27:53 +03:00
visibility: hidden;
}
2020-04-11 20:54:04 +03:00
2021-01-31 14:14:17 +03:00
.content .linkbuttons a img {
display: inline-block;
border: 1px solid #404A68;
padding: 2px;
2021-04-20 21:16:00 +03:00
}
.content .linkbuttons a img[title] {
2021-01-31 14:14:17 +03:00
border: 2px solid #7cc264;
padding: 1px;
}
.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;
}
.itime,.tenpo {
2020-11-17 22:38:22 +03:00
float: right;
2020-07-28 14:58:55 +03:00
width: 128pt;
2020-12-03 17:00:15 +03:00
padding: 2px;
2020-11-17 22:38:22 +03:00
margin: 4px;
2020-07-28 14:58:55 +03:00
display: inline-block;
vertical-align: bottom;
2020-11-17 22:38:22 +03:00
font-family: sans-serif;
font-size: 10pt;
2020-07-17 22:01:50 +03:00
}
.itime {
border: 1px solid C_DBORDER;
background: C_FOOTERBG;
color: C_FOOTERFG;
}
.tenpo {
display: none;
border: 1px solid #9B6E2D;
background: #f5ee9b;
color: #404a68;
}
.itime-bar,.tenpo-bar {
2020-12-02 15:36:32 +03:00
height: 2px;
2020-07-17 22:01:50 +03:00
width: 100%;
2020-11-17 22:38:22 +03:00
}
.itime-text,.tenpo-text {
2020-12-03 17:00:15 +03:00
text-align: end;
2020-07-17 22:01:50 +03:00
}
2020-07-30 14:07:14 +03:00
.def {
text-decoration: dotted underline;
}
2020-07-17 22:01:50 +03:00
HASH(#itime-progress) {
width: 0%;
height: 100%;
2020-12-03 17:00:15 +03:00
background: C_LGREEN;
2020-07-17 22:01:50 +03:00
}
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;
box-shadow: 0 0 0 1px C_BBORDER;
margin: auto;
}
2020-04-11 20:54:04 +03:00
.header {
2020-05-14 13:31:38 +03:00
}
.header_text {
2020-04-11 20:54:04 +03:00
padding-inline: 2em;
}
.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-05-14 13:31:38 +03:00
@media screen and (min-width:768pt) {
2020-04-11 20:54:04 +03:00
body {
box-shadow: 0 0 0 1px C_BBORDER;
2020-05-14 13:31:38 +03:00
max-width: 768pt;
2020-08-18 10:31:57 +03:00
margin: 24pt auto;
2020-04-11 20:54:04 +03:00
}
}
2020-07-17 22:01:50 +03:00