forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
154 lines (128 loc) · 2.24 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
---
---
//
// IMPORTS
//
@import "variables";
// Syntax highlighting @import is at the bottom of this file
/**************/
/* BASE RULES */
/**************/
body,h1,h2,h3,h4,h5,h6 {
font-family: "Lato", sans-serif
}
.w3-bar,h1,button {
font-family: "Montserrat", sans-serif
}
.w3-twothird{
text-align:justify;
}
.fa-anchor,.fa-coffee {
font-size:200px
}
.rho-blue {
background: #326195;
color: white;
}
.rho-green {
background: #6ebe4b;
color: black;
}
.rho-logo {
margin-top: 84px;
margin-left: 48px;
}
header{
margin-top:50px;
padding-top:1em;
padding-bottom:1em;
color: #326195; /* Rho Blue */
}
header .pre-head {
margin-top:16px;
font-size:24px;
vertical-align:text-bottom;
}
header .pre-head img {
margin-right:.1em;
margin-bottom:.2em;
}
header h1 {
margin-top:0;
line-height: 1;
margin-bottom:16px;
}
// Fixes images in popup boxes from Google Translate
.gmnoprint img {
max-width: none;
}
.date {
font-style: italic;
color: $gray;
}
// Specify the color of the selection
::-moz-selection {
color: $black;
background: $lightGray;
}
::selection {
color: $black;
background: $lightGray;
}
// Nicolas Gallagher's micro clearfix hack
// http://nicolasgallagher.com/micro-clearfix-hack/
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
//
// .main
//
.posts > .post {
padding-bottom: 2em;
border-bottom: 1px solid $lightGray;
}
.posts > .post:last-child {
padding-bottom: 1em;
border-bottom: none;
}
.post {
blockquote {
margin: 1.8em .8em;
border-left: 2px solid $gray;
padding: 0.1em 1em;
color: $gray;
font-size: 22px;
font-style: italic;
}
.comments {
margin-top: 10px;
}
.read-more {
text-transform: uppercase;
font-size: 15px;
}
}
// Article tweaks
article p{
margin-bottom:1em;
margin-top:0
}
article img{
max-width:90%;
padding:1em;
}
// Settled on moving the import of syntax highlighting to the bottom of the CSS
// ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start
@import "highlights";
@import "svg-icons";
.highlight {
overflow: auto;
box-shadow:none;
border:0px;
-webkit-box-shadow:none;
}