AkademieProjekt3/style.css

110 lines
1.5 KiB
CSS
Raw Normal View History

2024-03-22 21:19:38 +00:00
/* Import barviček z colors.css */
@import "colors.css";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2024-03-23 18:38:39 +00:00
/* Terminal ( header) */
2024-03-22 21:19:38 +00:00
header {
2024-03-23 18:38:39 +00:00
margin-top: 25px;
2024-03-22 21:19:38 +00:00
display: flex;
align-items: center;
height: 70px;
flex-direction: row;
}
.title {
2024-03-23 18:38:39 +00:00
padding-top: 25px;
2024-03-22 21:19:38 +00:00
}
.logo {
flex-grow: 1;
display: flex;
}
.logo img {
/*width: 100px;*/
2024-03-23 18:38:39 +00:00
display: inline-block; /* zajistí, že rámeček bude mít rozměry odpovídající obsahu */
2024-03-22 21:19:38 +00:00
height: 100px;
margin-left: 20px;
}
2024-03-23 18:38:39 +00:00
/* Terminal - navigation */
2024-03-22 21:19:38 +00:00
nav {
margin-right: 30px;
}
nav li {
display: inline-block;
list-style-type: none;
margin-right: 20px;
}
nav li a {
text-decoration: none;
2024-03-23 18:38:39 +00:00
color: black;
2024-03-22 21:19:38 +00:00
}
2024-03-23 18:38:39 +00:00
/*Terminal - navigation icons */
2024-03-22 21:19:38 +00:00
.menu-icon {
display: none;
margin-right: 30px;
}
/*Header small display*/
@media (max-width: 600px) {
header {
position: relative;
}
header nav {
2024-03-23 18:38:39 +00:00
background-color: white;
2024-03-22 21:19:38 +00:00
position: absolute;
top: 70px;
width: 100%;
display: none;
}
.menu-icon {
display: block;
2024-03-23 18:38:39 +00:00
/*color: var(--special-white);*/
2024-03-22 21:19:38 +00:00
font-size: 23px;
}
header nav li {
display: block !important;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}
}
2024-03-23 18:38:39 +00:00
/* Sekce */
hr {
margin-top: 25px;
}
.section1 {
padding-top: 50px;
text-align: center;
}
2024-03-22 21:19:38 +00:00
/*footer pevná pozice*/
footer {
position: fixed;
bottom: 0;
2024-03-23 18:38:39 +00:00
margin-bottom: 10px;
margin-left: 25px;
}
2024-03-22 21:19:38 +00:00
2024-03-23 18:38:39 +00:00
footer a {
text-decoration: none;
color: black;
}