pile/www/assets/main.css

228 lines
3.4 KiB
CSS
Raw Normal View History

2017-02-04 22:10:59 +01:00
@font-face {
font-family: Prociono;
src: url(Prociono.woff);
}
*, *:before, *:after {
2018-07-31 15:58:23 +02:00
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2017-02-04 22:10:59 +01:00
}
body {
2019-04-30 19:24:23 +02:00
font-family: Prociono, serif;
2017-02-04 22:10:59 +01:00
margin: 0;
padding: 0;
position: relative;
height: 100%;
background: #f2f2f2;
}
a {
color: #f2f2f2;
text-decoration: none;
}
#sidebar {
font-family: Prociono, serif;
}
#sidebar-head {
background-color: #202020;
color: white;
2018-07-31 15:58:23 +02:00
2017-02-04 22:10:59 +01:00
background-image: url(/assets/pile_white.svg);
background-repeat: no-repeat;
background-position: center 1.5em;
background-size: 50%;
2018-07-31 15:58:23 +02:00
2017-02-04 22:10:59 +01:00
text-align: center;
}
2018-07-31 15:58:23 +02:00
2017-02-04 22:10:59 +01:00
#sidebar-head > h1 {
2019-04-30 19:30:17 +02:00
padding: 6em 0.5em 0.5em;
margin: 0 0 1rem;
2017-02-04 22:10:59 +01:00
}
#sidebar-taglist {
background: #202020;
color: #f2f2f2;
padding: 1rem 0 1rem 0;
}
2018-09-17 12:03:38 +02:00
#sidebar-taglist > ul {
padding-left: 1rem;
}
2017-02-04 22:10:59 +01:00
#sidebar-taglist > ul > li {
list-style: none;
font-size: 14pt;
margin-bottom: .5em;
2018-09-17 12:03:38 +02:00
padding-left: .7em;
2019-04-30 19:24:23 +02:00
text-indent: -.7em;
2017-02-04 22:10:59 +01:00
}
#sidebar-taglist > ul > li:before {
content: "/ ";
}
#sidebar-taglist-top:before {
content: "\\ " !important;
}
#sidebar-taglist a {
color: #f2f2f2;
text-decoration: none;
}
#content {
font-size: 14pt;
}
.text {
background: #202020;
color: #f2f2f2;
padding: 1rem;
margin: 0 0 1rem 0;
}
.doc-item-text {
display: inline-block;
margin-right: 3em;
}
.doc-item h2 {
font-size: 14pt;
font-weight: normal;
margin: 0;
}
.doc-item h3 {
margin: 0;
font-size: 11pt;
font-weight: normal;
font-style: italic;
}
.doc-item-link {
display: inline-block;
font-size: 18pt;
font-weight: bold;
float: right;
position: relative;
top: 7px;
right: 1em;
}
.document h1 {
margin: 0;
font-size: 24pt;
}
.document h2 {
margin: 2pt 0 2pt 0;
font-style: italic;
font-weight: normal;
font-size: 16pt;
}
.document h3 {
margin: 2pt 0 2pt 0;
font-weight: normal;
font-size: 16pt;
}
.doc-taglist li {
list-style: none;
display: inline-block;
}
.doc-taglist li a {
text-decoration: underline;
}
.doc-taglist li:after {
content: "/";
}
.doc-taglist li:last-of-type:after {
content: "";
}
.doc-description-intro, .doc-link-intro {
font-weight: bold;
}
.doc-link-intro:before {
content: "➜ ";
}
.doc-link a {
text-decoration: underline;
}
@media screen and (min-width: 64em ) {
#sidebar {
position: absolute;
top: 0;
left: 2rem;
width: 14rem;
}
2018-07-31 15:58:23 +02:00
2017-02-04 22:10:59 +01:00
#content {
margin: 2rem 2rem 0 18rem;
padding: 0 0 2rem 0;
2018-07-31 15:58:23 +02:00
}
2017-02-04 22:10:59 +01:00
}
2018-07-31 15:58:23 +02:00
@media screen and (max-width: 64em ) {
2017-02-04 22:10:59 +01:00
#sidebar-head {
2019-04-30 19:30:17 +02:00
display: flex;
align-items: center;
2017-02-04 22:10:59 +01:00
background-position: 14%;
background-size: 4rem;
height: 7rem;
margin-bottom: 1rem;
}
2018-07-31 15:58:23 +02:00
2017-02-04 22:10:59 +01:00
#sidebar-head > h1 {
2019-04-30 19:30:17 +02:00
padding: 0 1rem;
margin: 0;
font-size: 2.5rem;
text-align: right;
width: 100%;
2017-02-04 22:10:59 +01:00
}
2018-07-31 15:58:23 +02:00
2017-02-04 22:10:59 +01:00
#sidebar-taglist {
margin-bottom: 1rem;
}
}
#login {
position: absolute;
bottom: 0;
right: 2rem;
2017-02-04 22:10:59 +01:00
}
#login input {
height: 14pt;
border: 1px solid lightgray;
}
#login button {
height: 14pt;
font-size: 8pt;
border: 1px solid lightgray;
background: white;
}
.czech {
font-size: 12pt;
}
.sign {
font-weight: bold;
font-size: 16pt;
margin: 0;
2018-09-17 12:03:38 +02:00
}