Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Commit c3f0277

Browse files
committed
Minor CSS tweaks.
1 parent 84a6f49 commit c3f0277

File tree

1 file changed

+32
-39
lines changed

1 file changed

+32
-39
lines changed

source/assets/css/style.css

Lines changed: 32 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body {
66
}
77

88
.main-container {
9-
background-color: white;
9+
background-color: #fff;
1010
margin-bottom: 30px;
1111
padding: 30px 65px 60px 65px;
1212
border-radius: 4px;
@@ -57,14 +57,14 @@ body {
5757
.features h1 {
5858
border-bottom: none;
5959
font-size: 22px;
60-
font-weight: normal;
60+
font-weight: 400;
6161
line-height: 36px;
6262
margin-bottom: 2%;
6363
padding-bottom: 0;
6464
}
6565

6666
.page-downloads .downloads-version {
67-
font-weight: bold;
67+
font-weight: 700;
6868
padding-bottom: 8px;
6969
text-align: center;
7070
}
@@ -79,14 +79,16 @@ body {
7979
text-align: center;
8080
}
8181

82-
.panel-title > .toggleLink:after {
83-
font-family: "FontAwesome";
84-
content: "\f077"; /* fa-chevron-up */
82+
.panel-title > .toggleLink::after {
83+
content: "\f077"; /* fa-chevron-up */
8584
float: right;
85+
font-family: FontAwesome;
86+
/*transition: transform 0.35s ease;*/
8687
}
8788

88-
.panel-title > .toggleLink.collapsed:after {
89-
content: "\f078"; /* fa-chevron-down */
89+
.panel-title > .toggleLink.collapsed::after {
90+
content: "\f078"; /* fa-chevron-down */
91+
/*transform: rotate(180deg);*/
9092
}
9193

9294
.navbar-brand img {
@@ -95,9 +97,9 @@ body {
9597
vertical-align: middle;
9698
}
9799

98-
.full-news a[href*="//"]:not([href^="mpc-hc.org"]):not([href*="trac.mpc-hc.org"]):after,
99-
.new a[href*="//"]:not([href^="mpc-hc.org"]):not([href*="trac.mpc-hc.org"]):after {
100-
content: "\f08e"; /* fa-external-link */
100+
.full-news a[href*="//"]:not([href^="mpc-hc.org"]):not([href*="trac.mpc-hc.org"])::after,
101+
.new a[href*="//"]:not([href^="mpc-hc.org"]):not([href*="trac.mpc-hc.org"])::after {
102+
content: "\f08e"; /* fa-external-link */
101103
display: inline-block;
102104
font-family: FontAwesome;
103105
margin-left: 0.3em;
@@ -114,12 +116,12 @@ abbr[title] {
114116

115117
.navbar-default .navbar-brand {
116118
font-size: 21px;
117-
font-weight: bold;
119+
font-weight: 700;
118120
}
119121

120122
.navbar-default .navbar-brand:focus,
121123
.navbar-default .navbar-brand:hover {
122-
text-shadow: 0 0 20px #08C;
124+
text-shadow: 0 0 20px #08c;
123125
}
124126

125127
.navbar-default .navbar-nav > li > a,
@@ -132,7 +134,7 @@ abbr[title] {
132134
}
133135

134136
.alert h4 {
135-
font-weight: bold;
137+
font-weight: 700;
136138
margin-bottom: 5px;
137139
margin-top: 0;
138140
}
@@ -249,8 +251,8 @@ footer ul {
249251

250252
.social-ul .fa,
251253
.fa-rss {
252-
color: lightgray;
253-
transition: all 0.5s ease;
254+
color: #d3d3d3;
255+
transition: color 0.5s ease, transform 0.5s ease;
254256
}
255257

256258
.social-ul .fa:hover,
@@ -274,7 +276,7 @@ footer ul {
274276
}
275277

276278
.fa-github:hover {
277-
color: #333333;
279+
color: #333;
278280
}
279281

280282
.fa-rss:hover {
@@ -296,7 +298,7 @@ footer ul {
296298
}
297299

298300
.last-updated {
299-
border-bottom: 1px dotted black;
301+
border-bottom: 1px dotted #000;
300302
cursor: help;
301303
}
302304

@@ -309,38 +311,32 @@ footer ul {
309311

310312

311313
/* Sort of hack so that the anchors aren't hidden due to fixed nav */
312-
h1[id]:before,
313-
h2[id]:before,
314-
h3[id]:before,
315-
h4[id]:before,
316-
h5[id]:before,
317-
h6[id]:before {
314+
h1[id]::before,
315+
h2[id]::before,
316+
h3[id]::before,
317+
h4[id]::before,
318+
h5[id]::before,
319+
h6[id]::before {
318320
content: " ";
319321
display: block;
320322
height: 60px;
321323
margin-top: -60px;
322324
visibility: hidden;
323325
}
324326

325-
326-
::-moz-selection {
327+
::selection {
327328
background-color: #b3d4fc;
328329
text-shadow: none;
329330
}
330331

331-
::selection {
332-
background-color: #b3d4fc;
333-
text-shadow: none;
332+
.defer {
333+
opacity: 0;
334334
}
335335

336336
.no-js .defer {
337337
display: none;
338338
}
339339

340-
.defer {
341-
opacity: 0;
342-
}
343-
344340
.defer.loaded {
345341
opacity: 1;
346342
transition: opacity 0.3s ease;
@@ -385,30 +381,27 @@ h6[id]:before {
385381
}
386382

387383
.page-four-oh-four .jumbotron {
384+
background-color: transparent;
388385
color: inherit;
389386
font-size: 21px;
390387
font-weight: 300;
391388
line-height: 2.1428571435;
392389
padding: 10px 0;
390+
text-align: center;
393391
}
394392

395393
.page-four-oh-four .body-content {
396394
padding-left: 15px;
397395
padding-right: 15px;
398396
}
399397

400-
.page-four-oh-four .jumbotron {
401-
background-color: transparent;
402-
text-align: center;
403-
}
404-
405398
.page-four-oh-four .jumbotron .btn {
406399
font-size: 21px;
407400
padding: 14px 24px;
408401
}
409402

410403
.page-four-oh-four footer {
411-
border-top: 1px solid lightgray;
404+
border-top: 1px solid #d3d3d3;
412405
padding-top: 20px;
413406
}
414407

0 commit comments

Comments
 (0)