-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathmetroblog.less
More file actions
113 lines (90 loc) · 1.57 KB
/
metroblog.less
File metadata and controls
113 lines (90 loc) · 1.57 KB
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
@import "metro.less";
body { margin: 0 20px; }
main { clear: both; }
nav {
ul {
list-style-type: none;
padding-left: 0;
li {
display: inline;
margin-right: 20px;
}
a {
color: @inactive;
font-size: @baseFontSize * 1.6;
text-decoration: none;
text-transform: lowercase;
&.active
{
color: @foreground;
}
}
}
}
footer {
font-size: 90%;
font-style: italic;
color: @inactive;
}
img {
margin-top: 20px;
margin-bottom: 20px;
box-shadow: 0px 0px 7px #777;
&.left {
float: left;
margin-right: 20px;
}
&.right {
float: right;
margin-left: 20px;
}
}
ol.metro-list { margin-left: 10px; }
h1, h2, h3, h4, h5, h6 {
color: @blue;
}
article { .clear }
.date { text-transform: uppercase; }
header {
font-size: @baseFontSize * 2;
margin-top: 10px;
margin-bottom: 10px;
span.subtitle {
font-size: @baseFontSize;
color: @inactive;
font-style: italic;
display: inline;
&:before {
content: "- ";
}
}
}
nav {
margin-top: 10px;
margin-bottom: 10px;
}
nav a:hover { color: black; }
@media all and(min-width: 800px) {
body { width: 800px; margin: 0 auto; }
nav {
float: right;
margin-left: 120px;
margin-top: 20px;
margin-bottom: 20px;
}
header {
float: left;
font-size: @baseFontSize * 4;
margin-top: 20px;
margin-bottom: 20px;
span.subtitle {
font-size: @baseFontSize * 1.5;
color: @inactive;
font-style: italic;
display: block;
&:before {
content: "";
}
}
}
}