Skip to content

Commit a846f91

Browse files
author
Dominic Mercier
committed
Optimization
Theme now under 1024 bytes
1 parent ce9be82 commit a846f91

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

less/ebhoren.less

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ body { margin: 0; font: 18px georgia; color: #444; }
22

33

44
h1, nav, footer, nav h2 { box-shadow: inset 0 0 40px rgba(0,0,0,0.2), 0 0 8px rgba(0,0,0,0.3); text-align: center; }
5-
nav, footer { background-color: #222; }
5+
nav, footer { background: #222; }
66
h1, article header { text-shadow: 2px 2px 0 #fff; }
77
nav ul, section { width: 960px; margin: 0 auto; }
88
article header, nav h2 { position: absolute; left: 50%; margin: 0 0 0 -480px; }
@@ -20,24 +20,17 @@ article header h2 { font-size: 80px; }
2020

2121
nav { position: relative; }
2222
nav h2 {
23-
top: -41px;
23+
top: -51px;
2424
padding: 10px 40px;
25-
/*background: #F26C01;*/
26-
background: linear-gradient(top, #f37701 0%,#f16101 100%);
25+
background: #F26C01;
2726
color: #fff;
28-
font-size: 18px;
2927
text-shadow: 1px 1px 2px darken(#F26C01, 30%);
3028
}
3129

32-
nav ul { list-style: none; font-size: 14px; padding: 60px 0; text-align: left; clear: both; }
33-
nav li { width: 260px; margin: 4px 0; padding: 0 34px; display: inline-block; }
34-
nav li:nth-child(3n+1) { padding-left: 0; }
35-
nav a:first-child { font-weight: 700; }
36-
nav a:last-child { color: #e4e4e4; font-size: 11px; }
37-
/*nav a:last-child:before { content: ' by '; }
38-
nav a[href='#ebhoren'], nav a:last-child:hover { color: #F26C01; }*/
30+
nav ul { list-style: none; font-size: 14px; padding: 60px 0; text-align: left; clear: both; font-weight: 700; }
31+
nav li { width: 260px; margin: 4px 0; display: inline-block; }
32+
nav li:nth-child(3n+2){ padding: 0 68px; }
33+
nav a:last-child { color: #e4e4e4; font-size: 11px; font-weight: 100; }
3934

40-
section { padding: 40px 0; border-bottom: 1px solid #e4e4e4; }
41-
section:last-child { border: none; border-top: 1px solid #fff; }
42-
43-
footer { padding: 20px; }
35+
section, footer { padding: 40px 0; }
36+
section { border-bottom: 1px solid #e4e4e4; }

styles/ebhoren.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)