website/_scss/_navigation.scss

62 lines
875 B
SCSS
Raw Permalink Normal View History

2022-03-05 19:23:43 +00:00
@media only screen and (min-width: 600px) {
2022-03-04 20:38:16 +00:00
nav {
2022-05-10 12:29:51 +00:00
max-width: 50%;
2022-03-04 20:38:16 +00:00
margin: auto;
2022-05-10 12:29:51 +00:00
margin-top: 25px;
margin-bottom: 5%;
font-size: 1.3em;
border: 5px solid #DDB6F2;
2022-03-04 20:38:16 +00:00
ul {
list-style: none;
margin: auto;
2022-05-10 12:29:51 +00:00
padding: 5px;
2022-03-04 20:38:16 +00:00
display: grid;
grid-auto-flow: column;
li {
2022-05-10 12:29:51 +00:00
font-weight: bold;
2022-03-04 20:38:16 +00:00
text-align: center;
padding: 0;
2022-05-10 12:29:51 +00:00
a {
text-decoration: none;
}
2022-03-04 20:38:16 +00:00
}
}
}
2022-03-05 19:23:43 +00:00
}
@media only screen and (max-width: 600px) {
nav {
2022-05-10 12:45:20 +00:00
margin: 10px;
2022-03-05 19:23:43 +00:00
list-style: none;
2022-05-10 12:45:20 +00:00
font-size: 1.3em;
border: 5px solid #DDB6F2;
2022-03-05 19:23:43 +00:00
ul {
list-style: none;
padding: 0px;
margin: auto;
display: grid;
2022-05-10 12:45:20 +00:00
grid-template-columns: repeat(3, 1fr);
gap: 10px;
grid-auto-rows: minmax(50px, auto);
align-content: center;
li {
padding: 0px;
margin: auto;
font-weight: bold;
text-align: center;
2022-03-05 19:23:43 +00:00
2022-05-10 12:45:20 +00:00
a {
text-decoration: none;
2022-03-05 19:23:43 +00:00
}
2022-05-10 12:45:20 +00:00
}
2022-03-05 19:23:43 +00:00
}
}
}
2022-05-10 12:29:51 +00:00