-
Notifications
You must be signed in to change notification settings - Fork 1
/
base.less
67 lines (62 loc) · 961 Bytes
/
base.less
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
@black: #111;
@white: #FEFEFE;
@twitter:#55acee;
@facebook:#3b5998;
@google-plus:#dd4b39;
@linkedin:#007bb5;
@youtube:#b00;
@pinterest:#cb2027;
html{font-size: 62.5%;}
h1 {
font-size: 40px; font-size: 4.0rem;
}
h2 {
font-size: 36px; font-size: 3.6rem;
}
h3 {
font-size: 32px; font-size: 3.2rem;
}
h4 {
font-size: 28px; font-size: 2.8rem;
}
h5 {
font-size: 24px; font-size: 2.4rem;
}
h6 {
font-size: 20px; font-size: 2.0rem;
}
p, label, li {
font-size: 16px; font-size: 1.6rem;
}
.hover-focus-active(@col) {
&:hover {
color: @col;
text-decoration: none;
}
&:focus {
color: @col;
text-decoration: none;
}
&:active {
color: @col;
text-decoration: none;
}
}
.font-size(@size) {
@px: @size;
@rem: (@size / 10);
font-size: ~"@{px}px";
font-size: ~"@{rem}rem";
}
.img-center {
margin: 0 auto;
text-align: center;
}
.link-unstyled {
color: @black;
text-decoration: none;
.hover-focus-active(@black);
}
h1 {
.font-size(48);
}