-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
87 lines (74 loc) · 1.43 KB
/
style.css
File metadata and controls
87 lines (74 loc) · 1.43 KB
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: white;
background-color: darkslateblue;
}
.btn {
border: .25rem;
background-color: rgba(0, 0, 0, 0.5);
border: none;
font-size: .8em;
color: white;
margin: .4rem 0;
text-align: center;
padding: .6em .2em;
}
.result-container .btn {
background-color: none;
position: absolute;
top: -.5em;
width: 1.6em;
right: .2em;
}
.btn-large {
display: block;
width: 100%;
}
h2 {
text-align: center;
font-size: 2.25rem;
text-transform: uppercase;
}
.container {
background-color: rgba(0, 0, 0, 0.5);
padding: .8em;
border-radius: .25rem;
box-shadow:0 .25rem .8em .1em rgba(0, 0, 0, 0.2);
width: 30vw;
max-width: 100%;
}
@media (max-width:40em) {
.container {
width: 70vw;
}
}
.result-container {
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
letter-spacing: .2em;
width: 100%;
height: 2.2em;
border-radius: .25em;
padding: 0 0 0 .25rem
}
.setting {
display: flex;
justify-content: space-between;
}
input#length {
width: 6vw;
max-width: 6vw;
margin: .25rem 0 0 0;
font-weight: bolder;
font-size: .8em;
}
.result-container #result {
word-wrap: break-word;
max-width: calc(100% - .5rem;
}