Skip to content

Commit c706004

Browse files
committed
Edit and make uniform all CSS comments
1 parent 2aad954 commit c706004

File tree

3 files changed

+41
-42
lines changed

3 files changed

+41
-42
lines changed

_sass/_ed.scss

+36-38
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,19 @@ body {
9898
}
9999
}
100100

101-
/* Links*/
101+
/* Links */
102102
a, .text-title a {
103103
color: $link-color;
104104
text-decoration: none;
105105
}
106106

107-
/* `:focus` is linked to `:hover` for basic accessibility*/
107+
/* `:focus` is linked to `:hover` for basic accessibility */
108108
a:hover,
109109
a:focus {
110110
text-decoration: underline;
111111
}
112112

113-
/* Headings*/
113+
/* Headings */
114114
h1, h2, h3, h4, h5, h6 {
115115
font-family: $heading-font;
116116
margin-bottom: .5rem;
@@ -146,13 +146,13 @@ h4, h5, h6 {
146146
margin-top: 1rem;
147147
}
148148

149-
/* Body text*/
149+
/* Body text */
150150
p {
151151
margin-top: 0;
152152
margin-bottom: 1rem;
153153
}
154154

155-
/* Lists*/
155+
/* Lists */
156156
ul {
157157
list-style: circle;
158158
}
@@ -162,7 +162,7 @@ ul, ol {
162162
margin-bottom: 1rem;
163163
}
164164

165-
/* Horizontal ruler*/
165+
/* Horizontal ruler */
166166
hr {
167167
margin-top: 60px;
168168
position: relative;
@@ -172,13 +172,13 @@ hr {
172172
border-bottom: 1px solid #fff;
173173
}
174174

175-
/* Search Highlihting*/
175+
/* Search highlighting */
176176
mark {
177177
color: white;
178178
background-color: $link-color;
179179
}
180180

181-
/* Quotes*/
181+
/* Quotes */
182182
blockquote {
183183
padding: 0rem 1.5rem 0rem 2rem;
184184
margin: 0 0 20px 0;
@@ -198,7 +198,7 @@ blockquote p:last-child {
198198
}
199199
}
200200

201-
/* To add an attribution make sure to make a line with the attribution class*/
201+
/* To add an attribution, make sure to make a line with the attribution class */
202202
li.attribution {
203203
text-align: right;
204204
list-style: none;
@@ -207,15 +207,15 @@ li.attribution {
207207
color: $text-color;
208208
}
209209

210-
/* Images*/
210+
/* Images */
211211
img {
212212
display: block;
213213
max-width: 100%;
214214
margin: 0 0 1rem;
215215
border-radius: 5px;
216216
}
217217

218-
/* Tables*/
218+
/* Tables */
219219
table {
220220
margin-bottom: 1rem;
221221
width: 100%;
@@ -298,7 +298,7 @@ h3.masthead-title {
298298
}
299299
}
300300

301-
/* Page and Posts*/
301+
/* Page and posts */
302302
.page {
303303
margin-bottom: 4em;
304304
}
@@ -323,7 +323,7 @@ h3.masthead-title {
323323
Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504
324324
*/
325325

326-
/* Style and "hide" the sidebar*/
326+
/* Style and "hide" the sidebar */
327327
.sidebar {
328328
position: fixed;
329329
top: 0;
@@ -342,11 +342,11 @@ h3.masthead-title {
342342

343343
@media (min-width: 30em) {
344344
.sidebar {
345-
font-size: .75rem;/* 14px*/
345+
font-size: .75rem;/* 14px */
346346
}
347347
}
348348

349-
/* Sidebar content*/
349+
/* Sidebar content */
350350
.sidebar {
351351
background-color: $link-color;
352352
}
@@ -364,7 +364,7 @@ h3.masthead-title {
364364
margin-bottom: 0;
365365
}
366366

367-
/* Sidebar nav*/
367+
/* Sidebar nav */
368368
.sidebar-nav {
369369
border-bottom: 1px solid rgba(255,255,255,.1);
370370
}
@@ -398,12 +398,12 @@ a.sidebar-nav-item:focus {
398398
}
399399
}
400400

401-
/* Hide the sidebar checkbox that we toggle with `.sidebar-toggle`*/
401+
/* Hide the sidebar checkbox that we toggle with `.sidebar-toggle` */
402402
.sidebar-checkbox {
403403
display: none;
404404
}
405405

406-
/* Style the `label` that we use to target the `.sidebar-checkbox`*/
406+
/* Style the `label` that we use to target the `.sidebar-checkbox` */
407407
.sidebar-toggle {
408408
position: absolute;
409409
top: .8rem;
@@ -459,10 +459,10 @@ a.sidebar-nav-item:focus {
459459
/*
460460
Slide effect
461461
462-
Handle the sliding effects of the sidebar and content in one spot, seperate from the default
462+
Handle the sliding effects of the sidebar and content in one spot, separate from the default
463463
styles.
464464
465-
As an a heads up, we don't use `transform: translate3d()` here because when mixed with
465+
As a heads-up, we don't use `transform: translate3d()` here because, when mixed with
466466
`position: fixed;` for the sidebar toggle, it creates a new containing block. Put simply, the
467467
fixed sidebar toggle behaves like `position: absolute;` when transformed.
468468
@@ -500,8 +500,7 @@ a.sidebar-nav-item:focus {
500500
/*
501501
Reverse layout
502502
503-
Flip the orientation of the page by placing the `.sidebar` and sidebar toggle
504-
on the right side.
503+
Flip the orientation of the page by placing the `.sidebar` and sidebar toggle on the right side.
505504
*/
506505

507506
.layout-reverse .sidebar {
@@ -526,8 +525,7 @@ a.sidebar-nav-item:focus {
526525
/*
527526
Overlay sidebar
528527
529-
Make the sidebar content overlay the viewport content instead of pushing it
530-
aside when toggled.
528+
Make the sidebar content overlay the viewport content instead of pushing it aside when toggled.
531529
*/
532530

533531
.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
@@ -557,7 +555,7 @@ a.sidebar-nav-item:focus {
557555
Base16: http://chriskempson.com/projects/base16/
558556
*/
559557

560-
/* Red*/
558+
/* Red */
561559
.theme-base-red .sidebar,
562560
.theme-base-red .sidebar-toggle:active,
563561
.theme-base-red #sidebar-checkbox:checked ~ .sidebar-toggle {
@@ -570,7 +568,7 @@ a.sidebar-nav-item:focus {
570568
color: #ac4142;
571569
}
572570

573-
/* Orange*/
571+
/* Orange */
574572
.theme-base-orange .sidebar,
575573
.theme-base-orange .sidebar-toggle:active {
576574
background-color: #d28445;
@@ -582,7 +580,7 @@ a.sidebar-nav-item:focus {
582580
color: #d28445;
583581
}
584582

585-
/* Green*/
583+
/* Green */
586584
.theme-base-green .sidebar,
587585
.theme-base-green .sidebar-toggle:active {
588586
background-color: #90a959;
@@ -594,7 +592,7 @@ a.sidebar-nav-item:focus {
594592
color: #90a959;
595593
}
596594

597-
/* Cyan*/
595+
/* Cyan */
598596
.theme-base-cyan .sidebar,
599597
.theme-base-cyan .sidebar-toggle:active {
600598
background-color: #75b5aa;
@@ -606,7 +604,7 @@ a.sidebar-nav-item:focus {
606604
color: #75b5aa;
607605
}
608606

609-
/* Blue*/
607+
/* Blue */
610608
.theme-base-blue .sidebar,
611609
.theme-base-blue .sidebar-toggle:active {
612610
background-color: #6a9fb5;
@@ -618,7 +616,7 @@ a.sidebar-nav-item:focus {
618616
color: #6a9fb5;
619617
}
620618

621-
/* Magenta*/
619+
/* Magenta */
622620
.theme-base-magenta .sidebar,
623621
.theme-base-magenta .sidebar-toggle:active {
624622
background-color: #aa759f;
@@ -630,7 +628,7 @@ a.sidebar-nav-item:focus {
630628
color: #aa759f;
631629
}
632630

633-
/* Brown*/
631+
/* Brown */
634632
.theme-base-brown .sidebar,
635633
.theme-base-brown .sidebar-toggle:active {
636634
background-color: #8f5536;
@@ -644,7 +642,7 @@ a.sidebar-nav-item:focus {
644642

645643

646644
/*
647-
ED SPECIAL LAYOUTS
645+
ED special layouts
648646
*/
649647

650648
p.centered {
@@ -692,15 +690,15 @@ ul.poetry {
692690
}
693691

694692

695-
/* This snippet helps us reset the margin for all spans with the indent- class*/
693+
/* This snippet helps us reset the margin for all spans with the indent- class */
696694
.poetry span[class^='indent-']{
697695
margin: 0;/* reset browsers default margin styles*/
698696
}
699697

700698

701699
/*
702-
To set line indentation for poetry wrap the line in a span, with a class="indent-x" attribute.
703-
The x is represents an rem (root em) value
700+
To set line indentation for poetry wrap the line in a span with a class="indent-x" attribute.
701+
The x is represents a rem (root em) value
704702
*/
705703

706704
.indent-1 {
@@ -761,7 +759,7 @@ ul.poetry {
761759
margin-top: -.5rem;
762760
}
763761

764-
/* Footnotes styles*/
762+
/* Footnotes styles */
765763
sub,
766764
sup {
767765
font-size: 75%;
@@ -792,14 +790,14 @@ a.footnote {
792790
font-size: .66rem;
793791
}
794792

795-
/*Bibliography styles*/
793+
/*Bibliography styles */
796794
ol.bibliography {
797795
list-style-type:none;
798796
padding-left: 1rem;
799797
text-indent: -1rem;
800798
}
801799

802-
/* Diplomatic editions*/
800+
/* Diplomatic editions */
803801
.add {
804802
color:#288828;
805803
font-style: italic;

_sass/_syntax.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
.css .o + .nt,
6565
.css .nt + .nt { color: #999; }
6666

67-
/* Transfered from poole.css */
67+
/* Transferred from poole.css */
68+
6869
/* Code */
6970
code,
7071
pre {

assets/css/style.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ sitemap: false
99
Feel free to change!
1010
*/
1111

12-
/* FONTS */
12+
/* Fonts */
1313
$main-font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
1414
$heading-font: sans-serif;
1515
$regular-font-size: 20px;
1616

1717

1818
/*
19-
COLOR.
19+
Color
2020
21-
Make sure to leave color-scheme in config file empty for granular control
21+
Make sure to leave color-scheme in `_config.yml` file empty for granular control
2222
*/
2323

2424
$text-color: #454545;

0 commit comments

Comments
 (0)