-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
237 lines (188 loc) · 4.53 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
/* #0D1B35 #364E63 */
body {background: #111; color:#FFFFFF; padding-bottom: 30px; cursor:text}
a {
color:#ddd;
transition: color 200ms ease;
text-decoration:none;
&:hover {
color:#00B9FF;
transition: color 200ms ease;
}
}
/* TITLE SECTION */
.title-section {
padding-top: 20px; background: #253E5F; background: url(img/road-bg.jpg); background-size:cover; background-position:0 98%;
.container { padding: 20px 8% 40px 8%; text-align: center; }
}
.title-container {
position: relative; height: 200px; max-width: 480px; margin: 0 auto; color:#FFFFFF;
}
.lr-border {
text-align: center; box-sizing: border-box; border-left: 1px solid; border-right: 1px solid; position: absolute; width: calc(100% - 40px); left: 20px; padding-top: 14px; height: 120px; top: 40px;
h1 { font-size: 36px; margin:0; font-family: Merriweather; line-height: 45px; text-shadow: 1px 1px 4px rgba(0,0,0,0.7); }
}
.tb-border{ box-sizing: border-box; border-top:1px solid; border-bottom:1px solid; position: absolute; width: calc(100% - 100px); height:160px; left: 50px; top:20px; }
.intro {
.container > div {
// text-align: right;
font-size: 16px;
max-width: 100%;
margin: 0 auto;
text-shadow: 1px 1px 0px rgba(0,0,0,0.6);
}
a {
display: inline-block; padding: 11px 24px; margin-top: 30px; font-size: 16px; cursor: pointer;
background-color: #000b;
transition: background-color 200ms ease, color 300ms ease;
&:hover {
background-color: #000;
transition: background-color 200ms ease, color 300ms ease;
}
}
}
.port {
h3 {
margin: 30px 10px;
}
p {
font-size: 16px;
span {display:inline; color: #CCCCCC;}
}
.lennox {
h4 {margin-top: 0;}
// a {cursor:default}
.site-heading{
font-size: 18px;
margin: 0 10px;
}
}
.sssnext, .sssprev{ opacity:.7; height: calc(100% - 22px) }
.sssnext:hover, .sssprev:hover{
cursor:default;
animation: pulse2 800ms cubic-bezier(0.2, .4, .8, .6) infinite;
}
@keyframes pulse2 {
0% { opacity: 1 }
45% { opacity: .5 }
55% { opacity: .5 }
100% { opacity: 1 }
}
.ex-wrapper { margin-bottom: 40px; }
span {display:block;}
.i-container {max-width:400px;}
.ask { float: right; margin: 0; color: #CCCCCC; font-size: 12px; }
.p-descript {color:#CCCCCC; margin:0;}
.reap {
a {
span { color:#FFFFFF; }
&:hover span { color:#00B9FF; }
}
}
}
/* FOOTER */
footer {
position: fixed;
bottom:0;
width: 100%;
background:#202028;
background:#000b;
section {
padding: 0 15px;
vertical-align: middle; line-height: 30px; height: 30px; text-align: right; font-size:10px;
}
span:first-child{
float:left;
a {
padding-left: 2px; padding-right:5px;border-right: 1px solid white;
&:last-child {
border:0;
}
}
}
}
/** RESPONSIVE STYLES **/
/* tablet */
@media only screen and (min-width: 740px) {
.title-section {
padding-top: 50px;
.container {
padding: 20px 100px 40px 100px;
}
}
.title-container { max-width: 540px; height: 300px;}
.lr-border {
padding-top: 22px; height: 180px; top: 60px;
h1 { font-size: 52px; line-height:65px; }
}
.tb-border { height: 250px; }
.intro {
.container > div {
font-size: 22px;
line-height: 1.5em;
max-width: 90%;
margin-bottom: 20px;
}
.view-button {
margin-bottom: 10px;
}
}
footer section {font-size:12px;}
.personal {
> div {
&:nth-child(2) { padding-right:15px;}
&:last-child {padding-left:15px;}
}
}
}
/* desktop */
@media only screen and (min-width: 980px) {
.title-container { max-width: 660px; height: 340px;}
.title-section {
padding-top: 70px;
min-height: calc(100vh - 30px);
.container { padding: 40px 175px 60px 175px; }
}
.lr-border {
padding-top: 25px; height: 220px;
h1 { font-size: 62px; line-height: 85px;}
}
.tb-border { height: 300px; }
.intro {
.container > div {
text-align: right;
font-weight: 300;
font-size: 22px;
max-width: 90%;
margin: 0 auto;
text-shadow: 1px 1px 0px rgba(0,0,0,0.6);
}
}
.intro a {
margin-top: 50px;
}
#about-section h1 { margin-top: 2em; margin-bottom: 1.5em;}
#ps {
text-align: right;
padding-right:50px;
span {padding-right: 17px }
}
#gh {
text-align: left;
padding-left:50px;
span { padding-left: 10px }
}
#badges-bottom {margin-top:2em; margin-bottom:3em;}
#about-cert h3 {margin-top: 1em}
.personal {
> div {
&:nth-child(2) { padding-right:50px;}
&:last-child {padding-left:50px;}
}
}
}
/* hd */
@media only screen and (min-width: 1140px) {
.title-section .container {
padding:20px 250px 40px 250px;
}
}