Better division of code, color dynamacy
This commit is contained in:
parent
ad89f5a1ac
commit
cfeb62458e
15 changed files with 616 additions and 587 deletions
|
|
@ -1,8 +1,6 @@
|
|||
@import url("https://fonts.googleapis.com/css?family=Fira+Code&display=swap");
|
||||
@import url("https://fonts.googleapis.com/css?family=Spartan&display=swap");
|
||||
|
||||
@import "colors";
|
||||
|
||||
a,
|
||||
p,
|
||||
h1,
|
||||
|
|
@ -20,12 +18,19 @@ p {
|
|||
line-height: 2;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $red;
|
||||
&:hover {
|
||||
color: darken($red, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.code {
|
||||
font-family: "Fira Code";
|
||||
font-variant-ligatures: common-ligatures;
|
||||
background-color: lighten($background, 10%);
|
||||
border: 2px solid lighten($background, 5%);
|
||||
padding: 0.4rem;
|
||||
border: 2px solid darken($background, 5%);
|
||||
padding: 0.1rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue