Librezo/sass/css/header.scss

46 lines
659 B
SCSS
Raw Normal View History

2023-03-20 19:06:57 +01:00
@import "defs";
2022-09-26 23:24:15 +02:00
header {
2023-03-26 19:08:30 +02:00
display: flex;
justify-content: space-between;
2022-09-26 23:24:15 +02:00
height: 48px;
max-width: 1100px;
margin: 0 auto 16px auto;
padding: 0 4px;
font-size: 24px;
}
#header-logo {
height: 48px;
}
2023-04-09 22:50:40 +02:00
#header-logo:hover, #header-logo:focus {
filter: drop-shadow(1px 2px 1px $violet);
}
2022-09-26 23:24:15 +02:00
#header-menu ul {
list-style-type: none;
margin: 9px 0 0 0;
}
#header-menu li {
display: inline-block;
margin: 0 8px;
}
#header-menu a {
padding: 8px 8px;
color: black;
}
#header-menu a:hover, #header-menu a:focus {
2023-03-20 19:06:57 +01:00
text-shadow: 1px 2px 1px $violet;
2023-03-21 20:21:53 +01:00
text-decoration: none;
2022-09-26 23:24:15 +02:00
}
2023-04-26 18:58:04 +02:00
@media (prefers-color-scheme: dark) {
#header-menu a {
color: white;
}
}