-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
160 lines (139 loc) · 2.82 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
html {
height: 100%;
}
body {
height: 100%;
background: linear-gradient(#3dc2da, rgb(22, 91, 126));
background-repeat: no-repeat;
background-attachment: fixed;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
}
h1, h2 {
font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
}
h1 {
font-size: 300%;
letter-spacing: 2px;
text-shadow: -1px 1px 0 #fff, 1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
margin-top: 20px;
margin-bottom: 20px;
}
h2 {
margin-top: 0px;
margin-bottom: 50px;
}
main {
width: 50%;
min-width: 500px;
margin: auto;
border: 2px solid black;
border-radius: 10px;
box-shadow: -8px 8px #202020;
background-color: #ddf;
padding: 10px;
text-align: left;
line-height: 2em;
}
.step {
margin: 5px 0px;
padding: 10px;
}
.item {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 110%;
}
label {
cursor: pointer;
}
/*
* I want the radio button to be darker.
* First, we hide it.
*/
input[type="radio"] {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Then, we create a mock button over it. */
.mock-radio {
display: inline-block;
position: relative;
height: 0.8em;
width: 0.8em;
background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
box-sizing: border-box;
border: 1px solid #888;
border-radius: 0.4em;
}
/*
* To set up the behaviour when hovering, we wanna use the whole span
* (containing both the button and the text).
*/
label:hover input + .mock-radio {
background: linear-gradient(to top, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}
/*
* When checked, turn it green and put a dot in the middle.
*/
label input:checked + .mock-radio {
background: radial-gradient(white 30%, rgba(0, 0, 0, 0) 30%),
linear-gradient(to top, #81b62b, #5f9701);
}
#output-container {
display: inline-block;
position: relative;
line-height: 2em;
min-width: 16em;
max-width: 100%;
background-color: white;
border: 1px solid #aaa;
border-radius: 5px;
box-shadow: inset 0 0 2px lightgrey;
overflow: hidden;
}
#output {
float: left;
max-width: 100%;
overflow-wrap: break-word;
margin-right: 5px;
}
#copy-button {
position: relative;
float: right;
right: -5ch;
transition: right 0.5s;
padding: 0px 5px;
height: 2em;
border: 1px solid #aaa;
border-radius: 5px;
background: linear-gradient(#eef, #ddf);
cursor: pointer;
}
#copy-button:hover {
right: 0;
}
#copy-button:active {
background: linear-gradient(#ddf, #eef);
}
footer {
position: fixed;
bottom: 0px;
width: 100%;
text-align: left;
color: white;
}
#info-icon { font-size: x-large; }
#information {
/* display: none; */
position: relative;
top: 2em;
transition: top 0.3s ease 0s;
margin-left: 10px;
}
#info-icon:hover ~ #information {
/* display: inline-block; */
top: -0.4em;
}