Skip to content

Commit 57999d2

Browse files
committed
Reorder CSS
So all default HTML styling are together and then common elements / styling like buttons and clearfixes
1 parent 2f1cdae commit 57999d2

1 file changed

Lines changed: 23 additions & 16 deletions

File tree

assets/css/stylesheet.css

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ hr {
152152
color: #b5e853;
153153
}
154154

155-
/* Links */
155+
/**
156+
* Links
157+
*/
156158
a {
157159
color: #0074A2;
158160
transition-duration: 0.05s;
@@ -207,6 +209,23 @@ pre code {
207209
border-radius: 0.3em;
208210
}
209211

212+
213+
/* Clearfix */
214+
215+
.cf:before, .cf:after {
216+
content:"";
217+
display:table;
218+
}
219+
220+
.cf:after {
221+
clear:both;
222+
}
223+
224+
.cf {
225+
zoom:1;
226+
}
227+
228+
210229
/* Header, <header>
211230
header - container
212231
h1 - project name
@@ -282,7 +301,9 @@ nav a:hover {
282301
color: #b5e853;
283302
}
284303

285-
/* Main Content */
304+
/**
305+
* Main Content
306+
*/
286307

287308
#main_content {
288309
width: 100%;
@@ -369,20 +390,6 @@ h1, h2, h3, h4, h5, h6 {
369390

370391

371392

372-
/* Clearfix */
373-
374-
.cf:before, .cf:after {
375-
content:"";
376-
display:table;
377-
}
378-
379-
.cf:after {
380-
clear:both;
381-
}
382-
383-
.cf {
384-
zoom:1;
385-
}
386393

387394
/* Blog */
388395

0 commit comments

Comments
 (0)