1
0

desktop layout

This commit is contained in:
Nicola Clark 2024-10-11 23:10:25 -05:00
parent e28fc30875
commit fad87bdf44
Signed by: nicola
GPG Key ID: 3E1710E7FF08956C
3 changed files with 24 additions and 1 deletions

View File

@ -37,6 +37,10 @@
text-align: center; text-align: center;
transition: background-color 0.2s; transition: background-color 0.2s;
@media screen and (min-width: @sizes[lg]) {
flex-grow: 1;
}
&.selected { &.selected {
background-color: darken(@color-light, 20%); background-color: darken(@color-light, 20%);
} }
@ -47,7 +51,14 @@
} }
&:not(:last-of-type) { &:not(:last-of-type) {
border-bottom: 1px solid @color-dark; @separator: 1px solid @color-dark;
border-bottom: @separator;
@media screen and (min-width: @sizes[lg]) {
border-bottom: unset;
border-right: @separator;
}
} }
} }
</style> </style>

View File

@ -10,5 +10,12 @@
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
@media screen and (min-width: @sizes[lg]) {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-evenly;
}
} }
</style> </style>

View File

@ -20,6 +20,11 @@
@padding-xl-x: 2em; @padding-xl-x: 2em;
@padding-xl-y: 1.5em; @padding-xl-y: 1.5em;
// sizes
@sizes: {
lg: 1280px;
}
// utils // utils
.full-without-padding(@padding) { .full-without-padding(@padding) {
@result: calc(100% - @padding * 2); @result: calc(100% - @padding * 2);