AkademieProjekt3/style.css
2024-03-22 22:19:38 +01:00

104 lines
1.3 KiB
CSS

/* Import barviček z colors.css */
@import "colors.css";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Harry ( header) */
header {
display: flex;
align-items: center;
background-color: var(--special-blue);
height: 70px;
flex-direction: row;
}
.title {
padding-top: 25px;
}
.logo {
flex-grow: 1;
display: flex;
}
.logo img {
/*width: 100px;*/
height: 100px;
padding-top: 15px;
margin-left: 20px;
}
/* Harry - navigation */
nav {
margin-right: 30px;
}
nav li {
display: inline-block;
list-style-type: none;
margin-right: 20px;
}
nav li a {
text-decoration: none;
color: var(--special-white);
}
/*Harry - navigation icons */
.menu-icon {
display: none;
margin-right: 30px;
}
/*Header small display*/
@media (max-width: 600px) {
header {
position: relative;
}
header nav {
position: absolute;
top: 70px;
background-color: var(--special-blue);
width: 100%;
display: none;
}
.menu-icon {
display: block;
color: var(--special-white);
font-size: 23px;
}
header nav li {
display: block !important;
text-align: center;
margin-top: 10px;
margin-bottom: 10px;
}
}
/*footer pevná pozice*/
footer {
position: fixed;
bottom: 0;
position: center;
}