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.
82 lines
1.1 KiB
CSS
82 lines
1.1 KiB
CSS
2 years ago
|
body {
|
||
|
margin: 0;
|
||
|
font-size: 16px;
|
||
|
|
||
|
position: relative;
|
||
|
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
nav {
|
||
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
|
||
|
color: #fff;
|
||
|
background: #333;
|
||
|
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.nav-group {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
gap: 10px;
|
||
|
}
|
||
|
|
||
|
.nav-item.logo {
|
||
|
font-size: 28px;
|
||
|
font-weight: 600;
|
||
|
|
||
|
color: #192f38;
|
||
|
background: linear-gradient(to right, #e6fd6e, #67a7c3);
|
||
|
|
||
|
border-top-right-radius: 10px;
|
||
|
border-bottom-right-radius: 10px;
|
||
|
}
|
||
|
|
||
|
.nav-item {
|
||
|
padding: 10px;
|
||
|
}
|
||
|
|
||
|
button.action {
|
||
|
/* reset */
|
||
|
appearance: none;
|
||
|
font: inherit;
|
||
|
|
||
|
border: none;
|
||
|
background: none;
|
||
|
|
||
|
/* style */
|
||
|
background: linear-gradient(to right, #ff7300, #ffd000);
|
||
|
|
||
|
border-radius: 16px;
|
||
|
|
||
|
font-size: 18px;
|
||
|
font-weight: 600;
|
||
|
|
||
|
padding: 4px 16px;
|
||
|
|
||
|
color: #fff;
|
||
|
}
|
||
|
|
||
|
img {
|
||
|
position: absolute;
|
||
|
top: 54px;
|
||
|
|
||
|
width: 100%;
|
||
|
|
||
|
z-index: -1;
|
||
|
}
|
||
|
|
||
|
.main {
|
||
|
display: grid;
|
||
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||
|
}
|
||
|
|
||
|
.main > .highlight {
|
||
|
grid-column: span 2;
|
||
|
}
|