-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
117 lines (97 loc) · 1.65 KB
/
main.css
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
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700|Ramabhadra);
*{
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
}
body {
font-family: 'Droid Sans', sans-serif;
background-color: #1f1e20;
color: #C49A6C;
font-size: 18px;
overflow: hidden;
}
header {
position: relative;
max-width: 500px;
margin: 0 auto;
padding: 0 25px 0 25px;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
border-right: 4px solid #C49A6C;
}
header h1 {
font-family: 'Ramabhadra', sans-serif;
font-size: 4.1em;
line-height: 0.8em;
padding-bottom: 40px;
}
header h2 {
font-size: 2.1em;
}
#social {
padding-top: 30px;
}
#social a {
color: #888;
text-decoration: none;
text-transform: uppercase;
line-height: 2em;
padding-right: 20px;
}
#social a:hover {
color: #C49A6C;
}
@media screen and (max-width:449px) {
header {
max-width: 300px;
}
header h1 {
font-size: 2.7em;
}
header h2 {
font-size: 1.4em;
}
#social a {
font-size: 0.75em;
padding-right: 5px;
}
}
@media screen and (max-width:549px) and (min-width:450px) {
header {
max-width: 400px;
}
header h1 {
font-size: 3.5em;
}
header h2 {
font-size: 1.8em;
}
#social a {
font-size: 1em;
padding-right: 5px;
}
}
@media screen and (min-width:550px) {
header {
max-width: 500px;
}
header h1 {
font-size: 4.1em;
}
header h2 {
font-size: 2.1em;
}
#social a {
font-size: 1em;
padding-right: 20px;
}
}