mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-02-14 21:10:41 +01:00
dark mode tweaks
This commit is contained in:
parent
e884ea79c3
commit
12904df907
@ -48,6 +48,16 @@
|
||||
transition: none;
|
||||
background: rgba(#fff, .15);
|
||||
}
|
||||
|
||||
:global(.dark) & {
|
||||
background: darken($body-background-color--dark, 1%);
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
box-shadow: 0 6px 10px rgba(darken($brand-main, 20%), .1),
|
||||
0 10px 25px rgba(darken($brand-main, 20%), .1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,11 @@
|
||||
.item {
|
||||
display: inline-block;
|
||||
width: 40vw;
|
||||
margin-right: $spacer * 2;
|
||||
margin-left: $spacer * 2;
|
||||
|
||||
&:last-child {
|
||||
margin-right: $spacer * 2;
|
||||
}
|
||||
}
|
||||
|
||||
.image {
|
||||
|
@ -21,6 +21,11 @@
|
||||
margin-bottom: $spacer / 2;
|
||||
flex: 0 0 calc(50% - #{$spacer / 2});
|
||||
font-size: $font-size-base;
|
||||
|
||||
:global(.dark) & {
|
||||
background: darken($body-background-color--dark, 1%);
|
||||
color: $brand-grey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user