(CSS) Add styles that make the monogram-nav a little more usable on mobile (but still not as good as on a desktop)
This commit is contained in:
parent
779d3c36be
commit
c9ef52c729
19
style.css
19
style.css
|
|
@ -76,8 +76,8 @@ body {
|
|||
.triangle-label {
|
||||
position: absolute;
|
||||
color: black;
|
||||
bottom: 0.5rem;
|
||||
left: 0.5rem;
|
||||
bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.triangle-label.multiline {
|
||||
|
|
@ -118,4 +118,19 @@ h1 {
|
|||
background-color:hsl(50, 100%, 70%);
|
||||
border-left: 0.25ch solid hsl(50, 100%, 70%);
|
||||
border-right: 0.25ch solid hsl(50, 100%, 70%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* Adjustments for touchscreen devices */
|
||||
|
||||
@media (hover: none) {
|
||||
.triangle-label {
|
||||
color: white;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.triangle:hover .triangle-label {
|
||||
color: black;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue