forked from seejamescode/hill-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hill-generator.css
111 lines (95 loc) · 1.83 KB
/
hill-generator.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
body {
align-content: center;
background: #f9f9f9;
display: flex;
margin: 0;
overflow: hidden;
-webkit-align-items: center;
}
.container {
align-items: center;
bottom: 0;
display: flex;
flex-direction: column;
font-family: HelveticaNeue, HelveticaNeue, "Helvetica Neue", Helvetica, Arial, Roboto, sans-serif;
height: calc(100% - 2rem);
justify-content: space-between;
padding: 1rem 0;
position: absolute;
top: 0;
-webkit-align-items: center;
-webkit-flex-direction: column;
-webkit-font-smoothing: antialiased;
-webkit-justify-content: space-between;
width: 100%;
}
.title {
font-size: 1.953125rem;
line-height: 1.216em;
margin: 0;
}
.hill {
font-size: 1.25rem;
line-height: 1.2em;
margin: 0 10%;
}
.hill__who {
color: #e71d32;
}
.hill__what {
color: #4178be;
}
.hill__wow {
color: #323232;
}
.button {
background: transparent;
border: 4px solid #323232;
color: #323232;
font-size: 1.25rem;
line-height: 1.2em;
padding: 1rem 1.5rem;
transition: .5s all linear;
-webkit-transition: .5s all linear;
}
.button:hover {
background: #323232;
color: #f9f9f9;
cursor: pointer;
}
.description {
text-align: left;
}
.description__link {
color: #323232;
line-height: 1.5rem;
text-decoration: none;
}
.description__link:hover {
border-bottom: 2px solid #323232;
}
@media only screen and (min-width: 31.3125em) {
.container {
height: calc(100% - 4rem);
height: calc(100vh - 4rem);
padding: 2rem 0;
}
.title {
font-size: 3.375rem;
line-height: 1.11111111111em;
}
.hill, .button {
font-size: 1.5rem;
line-height: 1.25em;
}
}
@media only screen and (min-width: 48.5625em) {
.title {
font-size: 4.23606798rem;
line-height: 1.0623059em;
}
.hill, .button {
font-size: 1.61803399rem;
line-height: 1.15881373em;
}
}