You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
998 B
57 lines
998 B
2 years ago
|
*, *::before, *::after {
|
||
|
box-sizing: border-box;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
display: block;
|
||
|
background-color: #aac;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
header {
|
||
|
background-color: rgba(0, 0, 100, 0.5);
|
||
|
display: block;
|
||
|
position: fixed;
|
||
|
width: 100%;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
z-index: 10;
|
||
|
margin-top: -80px;
|
||
|
}
|
||
|
.main {
|
||
|
margin-top: 80px;
|
||
|
}
|
||
|
.logo {
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
}
|
||
|
.main-menu {
|
||
|
display: inline-block;
|
||
|
position: relative;
|
||
|
}
|
||
|
.main-menu-list {
|
||
|
float: right;
|
||
|
position: relative;
|
||
|
}
|
||
|
.main-menu-item {
|
||
|
display: inline-block;
|
||
|
width: max-content;
|
||
|
height: 100%;
|
||
|
background-color: aliceblue;
|
||
|
margin-right: 30px;
|
||
|
|
||
|
|
||
|
}
|
||
|
.main-menu-item-link {
|
||
|
text-decoration: none;
|
||
|
/* background-color: #aaa; */
|
||
|
font-size: 30px;
|
||
|
|
||
|
}
|
||
|
.main .section {
|
||
|
width: 100%;
|
||
|
height: 100px;
|
||
|
background-color: dimgrey;
|
||
|
padding: 2%;
|
||
|
margin-bottom: 2%;
|
||
|
}
|