chaoszone.cz/site/css/default.css

185 lines
2.4 KiB
CSS
Raw Normal View History

2017-11-10 12:28:35 +00:00
body {
2019-12-20 06:18:23 +00:00
color: black;
font-family: 'CMUTypewriter';
font-size: 23px;
font-weight: normal;
font-style: normal;
padding: 0 2rem 0;
2019-12-20 08:58:23 +00:00
margin: 0;
2019-12-20 06:18:23 +00:00
display: flex;
min-height: 100vh;
flex-direction: column;
2017-11-10 12:28:35 +00:00
}
2019-12-19 21:36:36 +00:00
body::before {
z-index: -1;
content: ' ';
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
2019-12-22 17:19:26 +00:00
background-color: #c30000;
background-image: linear-gradient(to bottom, rgba(195,0,0,0.9) 0%,rgba(195,0,0,0.9) 100%), url(/images/Chaoszone.black.svg);
2019-12-20 06:18:23 +00:00
background-size: contain;
background-attachment:fixed;
background-repeat:no-repeat;
background-position: center;
2019-12-19 21:36:36 +00:00
}
2017-11-10 12:28:35 +00:00
header {
2019-12-20 06:18:23 +00:00
border-bottom: 2px solid white;
margin-bottom: 30px;
padding: 12px 0px 12px 0px;
font-family: 'CMUTypewriter';
font-size: 30px;
margin-left: 25rem;
2018-11-10 02:58:31 +00:00
}
h1, h2, h3, h4, h5 {
2019-12-20 06:18:23 +00:00
font-family: 'CMUTypewriter';
2017-11-10 12:28:35 +00:00
}
a {
2019-12-20 06:18:23 +00:00
color: #ccc000;
text-decoration: none;
2017-11-10 12:28:35 +00:00
}
a:hover {
2019-12-20 06:18:23 +00:00
color: #aaa000;
text-decoration: underline
2017-11-10 12:28:35 +00:00
}
2018-11-10 13:43:43 +00:00
#logo, #logo img {
2019-12-20 06:18:23 +00:00
max-width: 23rem;
2018-11-10 13:43:43 +00:00
}
#logo {
2019-12-20 06:18:23 +00:00
position: fixed;
padding-top: 1rem;
2018-11-10 13:43:43 +00:00
}
2017-11-10 12:28:35 +00:00
div#logo a {
2019-12-20 06:18:23 +00:00
color: white;
font-weight: bold;
text-decoration: none;
2017-11-10 12:28:35 +00:00
}
nav {
2019-12-20 06:18:23 +00:00
display: inline-block;
2017-11-10 12:28:35 +00:00
}
nav ul{
2019-12-20 06:18:23 +00:00
text-align: left;
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
2018-11-10 13:43:43 +00:00
}
nav li {
2019-12-20 06:18:23 +00:00
display: inline-block;
2017-11-10 12:28:35 +00:00
}
nav li a {
2019-12-20 06:18:23 +00:00
color: white;
font-size: 18px;
font-weight: bold;
margin-left: 12px;
text-decoration: none;
text-transform: uppercase;
2017-11-10 12:28:35 +00:00
}
2018-11-10 13:43:43 +00:00
nav li a:first-child {
2019-12-20 06:18:23 +00:00
margin: 0;
2018-11-10 13:43:43 +00:00
}
2017-11-10 12:28:35 +00:00
article {
2019-12-20 06:18:23 +00:00
margin-left: 25rem;
2019-12-19 21:36:36 +00:00
}
article img {
2019-12-20 06:18:23 +00:00
max-width: 100%;
2017-11-10 12:28:35 +00:00
}
footer {
2019-12-20 06:18:23 +00:00
border-top: solid 2px white;
font-size: 12px;
padding: 12px 0px 12px 0px;
text-align: right;
2017-11-10 12:28:35 +00:00
}
h1 {
2019-12-20 06:18:23 +00:00
font-size: 24px;
2017-11-10 12:28:35 +00:00
}
h2 {
2019-12-20 06:18:23 +00:00
font-size: 20px;
2017-11-10 12:28:35 +00:00
}
div.info {
2019-12-20 06:18:23 +00:00
font-size: 14px;
font-style: italic;
2017-11-10 12:28:35 +00:00
}
.pagination {
2019-12-20 06:18:23 +00:00
display: inline-block;
width: 100%
2017-11-10 12:28:35 +00:00
}
.wrapper {
2019-12-20 06:18:23 +00:00
flex: 1;
2017-11-10 12:28:35 +00:00
}
.left, .right {
2019-12-20 06:18:23 +00:00
display: inline-block;
fill: curentColor;
2017-11-10 12:28:35 +00:00
}
.left {
2019-12-20 06:18:23 +00:00
float: left;
margin-left: 10%;
2017-11-10 12:28:35 +00:00
}
.right {
2019-12-20 06:18:23 +00:00
float: right;
margin-right: 10%;
2017-11-10 12:28:35 +00:00
}
.left svg, .right svg {
2019-12-20 06:18:23 +00:00
margin-bottom: -3px;
margin-left: 0.8ex;
margin-right: 0.8ex;
2017-11-10 12:28:35 +00:00
}
#yacs {
2019-12-20 06:18:23 +00:00
width: 100%
2017-11-10 12:28:35 +00:00
}
.page img {
2019-12-20 06:18:23 +00:00
width: 100%
2017-11-10 12:28:35 +00:00
}
.authors_comments {
2019-12-20 06:18:23 +00:00
border: 1px solid white;
border-radius: 5px;
padding: 0 1em 0;
background-color: #454545;
box-shadow: 5px 5px 5px #ffffff;
margin: 2em 0 2em;
2017-11-10 12:28:35 +00:00
}
2019-12-19 22:05:17 +00:00
@media screen and (max-width: 750px){
2019-12-19 22:01:23 +00:00
#logo {
position: initial;
}
2019-12-20 06:16:29 +00:00
#logo img {
max-width: 100%;
}
2019-12-19 22:01:23 +00:00
article, header {
margin: 0;
2017-11-10 12:28:35 +00:00
}
}