pedf
/
fakulta-online
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

184 lines
2.7 KiB
SCSS

$header-width: 1560px;
$main-width: 1024px;
.visible { display: initial; }
body {
margin: 0;
color: #fff;
font-size: 1.35em;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
height: 100vh;
background: url(/body-bg.svg) #d22d40;
background-position: top center;
background-size: cover;
background-repeat: no-repeat;
a { text-decoration: none; }
}
nav {
display: none;
position: fixed;
left: 0;
right: 0;
width: 100vw;
height: 100vh;
text-align: right;
a { color: #fff; }
ul { list-style-type: none; }
li { margin: 2em 0; }
div.background {
position: fixed;
top: 0;
right: 0;
width: 30vw;
height: 100vh;
background-color: #b52637;
z-index: -1;
}
div.list {
max-width: $header-width;
padding: 2em;
text-align: right;
margin: 0 auto;
}
header { justify-content: flex-end; }
}
header {
display: flex;
justify-content: space-between;
align-items: center;
height: 3.5em;
max-width: $header-width;
margin: 0 auto;
padding: 2em;
img { width: 250px; }
h1 {
font-size: inherit;
color: #fff;
}
.menu {
display: flex;
align-items: center;
justify-content: flex-end;
height: 100%;
width: 250px;
font-size: 1.2em;
.menuicon {
margin-left: 1em;
width: 1.5em;
div {
background: #fff;
height: .15em;
width: 100%;
margin: .5em 0;
border-radius: .25em;
}
}
}
}
main {
max-width: $main-width;
padding: 2em;
margin: 0 auto;
h2 {
line-height: 1.2;
font-size: 2.3em;
}
h3, h4, h5, h6 {
line-height: 1.2;
margin-top: 2.75em;
}
section.meta {
display: flex;
align-items: center;
img {
float: right;
max-width: 48%;
margin-left: 2em;
}
}
section.software {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.program {
width: 43%;
box-sizing: border-box;
margin-top: 4em;
img {
max-height: 4em;
max-width: 100%;
}
div {
display: flex;
justify-content: space-between;
ul { padding-left: 1em; }
}
}
}
}
body.index {
background-image: url(/index-bg.png), url(/body-index-bg.svg);
background-position: center center, top center;
background-size: 30em auto, cover;
main {
max-width: $header-width;
display: flex;
align-items: center;
justify-content: space-between;
h2 {
font-size: 2.5em;
margin-top: 2.75em;
}
section, aside { max-width: 35%; }
section{ text-shadow: 0px 3px 8px rgba(0, 0, 0, .35); }
aside {
display: flex;
flex-direction: column;
align-items: stretch;
margin-top: 6em;
a {
text-align: center;
border: 2px solid #fff;
border-radius: .8em;
margin-bottom: 1.5em;
padding: .6em 1.5em;
color: #fff;
&:hover {
background: #fff;
color: #b52637;
}
}
}
}
}