Skip to content

Commit 2c0563c

Browse files
committed
Update style.scss
1 parent 54da9e9 commit 2c0563c

File tree

1 file changed

+18
-25
lines changed

1 file changed

+18
-25
lines changed

style.scss

+18-25
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
---
2+
---
3+
14
//
25
// IMPORTS
36
//
@@ -10,26 +13,14 @@
1013
/* BASE RULES */
1114
/**************/
1215

13-
:root {
14-
--white: #FFFFFF; /* white */
15-
--purple: #301F6E; /* purple */
16-
--orange: #F08C00; /* orange */
17-
--green: #04947A; /* green */
18-
--cyan: #2DE2E6; /* cyan */
19-
--pink: #D82F86; /* pink */
20-
--lightpink: #00FF15; /* light pink */
21-
--darkpink: #D82F86 /* dark pink */
22-
--darkblue: #023788; /* dark blue */
23-
}
24-
2516
html {
2617
font-size: 100%;
2718
}
2819

2920
body {
30-
background: var(--purple);
21+
background: $white;
3122
font: 18px/1.4 $helvetica;
32-
color: var(--white);
23+
color: $darkGray;
3324
}
3425

3526
.container {
@@ -41,7 +32,7 @@ body {
4132

4233
h1, h2, h3, h4, h5, h6 {
4334
font-family: $helveticaNeue;
44-
color: var(--cyan);
35+
color: $darkerGray;
4536
font-weight: bold;
4637

4738
line-height: 1.7;
@@ -78,11 +69,11 @@ p {
7869
}
7970

8071
a {
81-
color: var(--orange);
72+
color: $blue;
8273
text-decoration: none;
8374
cursor: pointer;
8475
&:hover, &:active {
85-
color: var(--orange);
76+
color: $blue;
8677
}
8778
}
8879

@@ -131,15 +122,16 @@ img {
131122

132123
// Specify the color of the selection
133124
::-moz-selection {
134-
color: var(--darkpink);
125+
color: $black;
135126
background: $lightGray;
136127
}
137128
::selection {
138-
color: var(--darkpink);
129+
color: $black;
139130
background: $lightGray;
140131
}
141132

142133
// Nicolas Gallagher's micro clearfix hack
134+
// http://nicolasgallagher.com/micro-clearfix-hack/
143135
.clearfix:before,
144136
.clearfix:after {
145137
content: " ";
@@ -200,7 +192,7 @@ img {
200192

201193
.site-name {
202194
margin: 0;
203-
color: var(--cyan);
195+
color: $darkGray;
204196
cursor: pointer;
205197
font-family: $helveticaNeue;
206198
font-weight: 300;
@@ -210,7 +202,7 @@ img {
210202

211203
.site-description {
212204
margin: -5px 0 0 0;
213-
color: var(--cyan);
205+
color: $gray;
214206
font-size: 16px;
215207

216208
@include mobile {
@@ -233,14 +225,14 @@ nav {
233225

234226
a {
235227
margin-left: 20px;
236-
color: var(--cyan);
228+
color: $darkGray;
237229
text-align: right;
238230
font-weight: 300;
239231
letter-spacing: 1px;
240232

241233
@include mobile {
242234
margin: 0 10px;
243-
color: var(--orange);
235+
color: $blue;
244236
}
245237
}
246238
}
@@ -291,6 +283,7 @@ footer {
291283
text-align: center;
292284
}
293285

294-
// Syntax highlighting and icons
286+
// Settled on moving the import of syntax highlighting to the bottom of the CSS
287+
// ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start
295288
@import "highlights";
296-
@import "svg-icons";
289+
@import "svg-icons";

0 commit comments

Comments
 (0)