pile/www/assets/admin.css
2018-07-31 15:58:23 +02:00

244 lines
3.5 KiB
CSS

@font-face {
font-family: Prociono;
src: url(Prociono.woff);
}
*, *:before, *:after {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
body {
font-family: Prociono, serif;
margin: 0;
padding: 0;
position: relative;
height: 100%;
background: #202020;
}
a {
color: #202020;
text-decoration: none;
}
#sidebar {
font-family: Prociono, serif;
}
#sidebar-head {
background-color: #f2f2f2;
color: #202020;
text-align: center;
}
#sidebar-head > h1 {
padding: 0.5em;
margin: 0 0 1rem 0;;
}
#sidebar-taglist {
background: #f2f2f2;
color: #202020;
padding: 1rem 0 1rem 0;
}
#sidebar-taglist > ul > li {
list-style: none;
font-size: 14pt;
margin-bottom: .5em;
}
#sidebar-taglist > ul > li:before {
content: "/ ";
}
#sidebar-taglist-top:before {
content: "\\ " !important;
}
#sidebar-taglist a {
color: #202020;
text-decoration: none;
}
#sidebar-taglist ul:not(:last-child) {
padding-bottom: .5rem;
box-shadow: 0px 24px 0px -22px #202020;
}
#content {
font-size: 14pt;
}
.text {
background: #f2f2f2;
color: #202020;
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;
float: right;
position: relative;
top: 7px;
right: 1em;
}
.doc-new-item {
width: 100%;
text-align: center;
}
.doc-new-item a {
width: 100%;
}
.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;
}
.tag-edit-link {
text-align: right;
}
input[type="text"] {
width: 80%;
}
@media screen and (min-width: 64em ) {
#sidebar {
position: absolute;
top: 0;
left: 2rem;
width: 14rem;
}
#content {
margin: 2rem 2rem 0 18rem;
padding: 0 0 2rem 0;
}
}
@media screen and (max-width: 64em ) {
#sidebar-head {
background-position: 14%;
background-size: 4rem;
height: 7rem;
margin-bottom: 1rem;
}
#sidebar-head > h1 {
padding-top: 1.5rem;
font-size: 3rem;
}
#sidebar-taglist {
margin-bottom: 1rem;
}
}
#login {
position: absolute;
bottom: 0;
right: 2rem;
}
#login input {
height: 14pt;
border: 1px solid lightgray;
}
#login button {
height: 14pt;
font-size: 8pt;
border: 1px solid lightgray;
background: #202020;
}
.czech {
font-size: 12pt;
}
.sign {
font-weight: bold;
font-size: 16pt;
margin: 0;
}
input[type="submit"], input[type="file"] {
font-family: Prociono, serif;
}
.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
padding: 2px;
}