-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
140 lines (128 loc) · 2.93 KB
/
style.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
html, body {
background: #faf8ef;
color: #776e65;
font: normal normal 15px Verdana, Geneva, Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
}
body {
margin: 20px;
}
.menu {
text-align: center;
}
h1 {
font-size: 80px;
}
.menu-container {
width: 200px;
height: 80px;
margin: auto;
padding-bottom: 50px;
}
span {
/* style this span element so we can display nicely, this stlying is not neccessary */
display: block;
width: 100%;
float: left;
}
input[type="radio"] {
/* hide the inputs */
display: none;
}
/* style your lables/button */
input[type="radio"] + label {
/* keep pointer so that you get the little hand showing when you are on a button */
cursor: pointer;
/* the following are the styles */
padding: 4px 10px;
border: 1px solid #ccc;
background: #faf8ef;
color: rgb(56, 56, 56);
border-radius: 3px;
text-shadow: 1px 1px 0 rgba(0,0,0,0);
display: block;
text-align: center;
}
input[type="radio"]:checked + label {
/* style for the checked/selected state */
background: #777;
border: 1px solid #444;
text-shadow: 1px 1px 0 rgba(0,0,0,0.4);
color: white;
}
input[type="text"] {
font: normal normal 15px Verdana, Geneva, Arial, Helvetica, sans-serif;
text-align: center;
width: 55px;
border-radius: 3px;
border: 1px solid #ccc;
height: 24px;
}
.button {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
overflow: hidden;
margin: 10px;
padding: 12px 12px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 150ms linear;
transition: all 150ms linear;
text-align: center;
white-space: nowrap;
text-decoration: none !important;
text-transform: none;
text-transform: capitalize;
color: #777;
border: 0 none;
border-radius: 4px;
font-size: 20px;
font-weight: 500;
line-height: 1.3;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-flex: 0;
-ms-flex: 0 0 160px;
flex: 0 0 160px;
-webkit-box-shadow: 2px 5px 10px var(--color-smoke);
box-shadow: 2px 5px 10px var(--color-smoke);
}
.button:hover {
-webkit-transition: all 150ms linear;
transition: all 150ms linear;
opacity: .85;
}
.button:active {
-webkit-transition: all 150ms linear;
transition: all 150ms linear;
opacity: .75;
}
.button:focus {
outline: 1px dotted #959595;
outline-offset: -4px;
}
.button.-regular {
color: #fff;
background-color: #777;
}
.button.-regular:hover {
color: #fff;
background-color: #aaa;
opacity: 1;
}
.button.-regular:active {
background-color: #d5d6d6;
opacity: 1;
}