128 lines
1.7 KiB
CSS
128 lines
1.7 KiB
CSS
/* Import barviček z colors.css */
|
|
@import "colors.css";
|
|
|
|
* {
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
|
|
}
|
|
/* Terminal ( header) */
|
|
|
|
header {
|
|
margin-top: 25px;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 70px;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.title {
|
|
padding-top: 25px;
|
|
}
|
|
|
|
.logo {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
}
|
|
|
|
.logo img {
|
|
/*width: 100px;*/
|
|
display: inline-block; /* zajistí, že rámeček bude mít rozměry odpovídající obsahu */
|
|
height: 100px;
|
|
margin-left: 20px;
|
|
}
|
|
|
|
/* Terminal - navigation */
|
|
nav {
|
|
margin-right: 30px;
|
|
}
|
|
|
|
nav li {
|
|
display: inline-block;
|
|
list-style-type: none;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
nav li a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
/*Terminal - navigation icons */
|
|
|
|
.menu-icon {
|
|
display: none;
|
|
margin-right: 30px;
|
|
background-color: white;
|
|
}
|
|
|
|
/*Dark/Light mode button*/
|
|
#toggleButton {
|
|
float: right;
|
|
margin-right: 30px;
|
|
margin-top: 10px;
|
|
background-color: red;
|
|
}
|
|
|
|
|
|
/*Header small display*/
|
|
@media (max-width: 600px) {
|
|
body {
|
|
padding: 10px;
|
|
}
|
|
|
|
header {
|
|
position: relative;
|
|
}
|
|
header nav {
|
|
background-color: white;
|
|
position: absolute;
|
|
top: 70px;
|
|
width: 100%;
|
|
display: none;
|
|
}
|
|
|
|
.menu-icon {
|
|
display: block;
|
|
font-size: 23px;
|
|
}
|
|
|
|
header nav li {
|
|
display: block !important;
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
/* Sekce */
|
|
hr {
|
|
margin-top: 25px;
|
|
}
|
|
.section1 {
|
|
padding-top: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
/*footer pevná pozice*/
|
|
|
|
footer {
|
|
position: fixed;
|
|
bottom: 0;
|
|
margin-bottom: 10px;
|
|
margin-left: 25px;
|
|
background-color: white;
|
|
}
|
|
|
|
footer a {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|