replaced more values with variables
This commit is contained in:
parent
1c0aebd738
commit
9d082d0458
7 changed files with 57 additions and 57 deletions
|
@ -1,12 +1,12 @@
|
|||
footer {
|
||||
background: rgb(30, 30, 45);
|
||||
color: rgb(215, 215, 235);
|
||||
background: $bg30;
|
||||
color: $white-dark;
|
||||
margin-top: 100px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
white-space: nowrap;
|
||||
&::after {
|
||||
background: rgb(30, 30, 45);
|
||||
background: $bg30;
|
||||
content: '';
|
||||
height: 10000px;
|
||||
overflow: hidden;
|
||||
|
@ -27,12 +27,12 @@ footer {
|
|||
margin-left: 30px;
|
||||
a {
|
||||
border-bottom: 1px solid transparent;
|
||||
color: rgb(215, 215, 235);
|
||||
color: $white-dark;
|
||||
padding: 5px 0;
|
||||
transition: border .2s, color .2s;
|
||||
&:hover {
|
||||
border-bottom: 1px solid;
|
||||
color: rgb(255, 130, 130);
|
||||
color: $red;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
scrollbar-color: rgb(255, 130, 130) rgb(60, 60, 90);
|
||||
scrollbar-color: $red $bg60;
|
||||
scrollbar-width: thin;
|
||||
&::-webkit-scrollbar {
|
||||
background: rgb(60, 60, 90);
|
||||
background: $bg60;
|
||||
width: 6px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgb(255, 130, 130);
|
||||
background: $red;
|
||||
}
|
||||
}
|
||||
html {
|
||||
|
@ -15,15 +15,15 @@ html {
|
|||
overflow-y: scroll;
|
||||
}
|
||||
body {
|
||||
background: rgb(40, 40, 60);
|
||||
color: rgb(245, 245, 255);
|
||||
background: $bg40;
|
||||
color: $white;
|
||||
display: grid;
|
||||
font-family: 'Lucida Console', monospace;
|
||||
line-height: 1.8;
|
||||
margin: 0;
|
||||
}
|
||||
a {
|
||||
color: rgb(255, 130, 130);
|
||||
color: $red;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
|
@ -42,7 +42,7 @@ h4 {
|
|||
font-size: .9em;
|
||||
}
|
||||
hr {
|
||||
color: rgb(60, 60, 90);
|
||||
color: $bg60;
|
||||
margin: 50px 20px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
nav {
|
||||
background: rgb(60, 60, 90);
|
||||
background: $bg60;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
position: sticky;
|
||||
|
@ -11,16 +11,16 @@ nav {
|
|||
height: 64px;
|
||||
.website-name {
|
||||
a {
|
||||
color: rgb(245, 245, 245);
|
||||
color: $white;
|
||||
display: block;
|
||||
padding: 20px 30px;
|
||||
text-decoration: none;
|
||||
transition: background .2s;
|
||||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
background: $bg50;
|
||||
}
|
||||
&.active {
|
||||
border-bottom: 2px solid rgb(215,215,225);
|
||||
border-bottom: 2px solid $white-dark;
|
||||
border-top: 2px solid transparent;
|
||||
padding: 16px 30px;
|
||||
}
|
||||
|
@ -39,18 +39,18 @@ nav {
|
|||
li {
|
||||
list-style-type: none;
|
||||
&.active a {
|
||||
border-bottom: 2px solid rgb(215,215,225);
|
||||
border-bottom: 2px solid $white-dark;
|
||||
border-top: 4px solid transparent;
|
||||
padding: 16px 30px;
|
||||
}
|
||||
a {
|
||||
color: rgb(245, 245, 245);
|
||||
color: $white;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
transition: background .2s;
|
||||
padding: 20px 30px;
|
||||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
background: $bg50;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,13 +65,13 @@ nav {
|
|||
li {
|
||||
list-style-type: none;
|
||||
a {
|
||||
color: rgb(245, 245, 255);
|
||||
color: $white;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
transition: background .2s;
|
||||
padding: 20px 30px;
|
||||
&:hover {
|
||||
background: rgb(50, 50, 75);
|
||||
background: $bg50;
|
||||
}
|
||||
}
|
||||
.seperator {
|
||||
|
@ -98,10 +98,10 @@ nav {
|
|||
ul {
|
||||
li {
|
||||
a {
|
||||
background: rgb(50, 50, 75);
|
||||
color: rgb(215, 215, 225);
|
||||
background: $bg50;
|
||||
color: $white-dark;
|
||||
&:hover {
|
||||
background: rgb(40, 40, 60);
|
||||
background: $bg40;
|
||||
}
|
||||
}
|
||||
.seperator {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.chroma { // background
|
||||
background: rgb(30, 30, 45);
|
||||
background: $bg30;
|
||||
border-radius: 5px;
|
||||
color: rgb(245, 245, 255);
|
||||
color: $white;
|
||||
.x { // other
|
||||
|
||||
}
|
||||
|
@ -29,12 +29,12 @@
|
|||
width: 100%;
|
||||
}
|
||||
.lnt { // lineNumbersTable
|
||||
color: rgb(215, 215, 225);
|
||||
color: $white-dark;
|
||||
margin-right: 0.4em;
|
||||
padding: 0 0.4em 0 0.4em;
|
||||
}
|
||||
.ln { // lineNumbers
|
||||
color: rgb(215, 215, 225);
|
||||
color: $white-dark;
|
||||
margin-right: 0.4em;
|
||||
padding: 0 0.4em 0 0.4em;
|
||||
}
|
||||
|
@ -108,7 +108,7 @@
|
|||
|
||||
}
|
||||
.nt { // nameTag
|
||||
color: rgb(255, 255, 255);
|
||||
color: $white-light;
|
||||
}
|
||||
.nv { // nameVariable
|
||||
color: #8be9fd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue