chaoszone.cz/site/css/default.css

205 lines
2.8 KiB
CSS
Raw Permalink 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';
2023-11-27 22:49:06 +00:00
font-size: 23pt;
2019-12-20 06:18:23 +00:00
font-weight: normal;
font-style: normal;
padding: 0 2rem 0;
2019-12-20 08:58:23 +00:00
margin: 0;
2023-11-27 22:49:06 +00:00
display: grid;
2019-12-20 06:18:23 +00:00
min-height: 100vh;
2023-11-27 22:49:06 +00:00
grid-template-columns: [leftcol] 23rem [maincol] auto [rightcol] 1fr;
grid-template-rows: [headerrow] 6rem [mainrow] auto [footerrow] 2rem;
grid-template-areas:
"logo header header"
"logo main main"
"logo footer footer";
background-color: #a21d10;
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;
2023-11-27 22:49:06 +00:00
background-image: 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;
2023-11-27 22:49:06 +00:00
opacity: 0.05;
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;
2023-11-27 22:49:06 +00:00
grid-area: header;
}
header, header a {
2019-12-20 06:18:23 +00:00
font-family: 'CMUTypewriter';
2023-11-27 22:49:06 +00:00
font-size: 23pt;
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
}
2023-11-27 22:49:06 +00:00
#logo {
grid-area: logo;
}
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-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 {
2023-11-27 22:49:06 +00:00
grid-area: main;
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 {
2023-11-27 22:49:06 +00:00
grid-area: 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
}
2023-11-27 22:49:06 +00:00
/*
2017-11-10 12:28:35 +00:00
h1 {
2023-11-27 22:49:06 +00:00
font-size: 24pt;
2017-11-10 12:28:35 +00:00
}
h2 {
2023-11-27 22:49:06 +00:00
font-size: 20pt;
2017-11-10 12:28:35 +00:00
}
2023-11-27 22:49:06 +00:00
*/
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){
2023-11-28 03:13:53 +00:00
body {
grid-template-columns: [maincol] auto;
grid-template-rows: [logorow] 20rem [headerrow] 6rem [mainrow] auto [footerrow] 2rem;
grid-template-areas:
"logo"
"header"
"main"
"footer";
}
2019-12-19 22:01:23 +00:00
#logo {
position: initial;
}
2019-12-20 06:16:29 +00:00
#logo img {
max-width: 100%;
}
2017-11-10 12:28:35 +00:00
}