-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
145 lines (125 loc) · 2.35 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
body {
background-color: white;
margin: 0;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
font-family: "Work Sans";
font-weight: 300;
}
.container {
background-color: #cae3e9;
padding: 3rem;
border-radius: 1rem;
border: 3px #a8dbe7;
justify-content: center;
align-items: center;
display: flex;
flex-direction: column;
}
.form {
display: grid;
grid-template-columns: auto auto;
row-gap: 1rem;
column-gap: 3rem;
justify-content: center;
align-items: center;
border-color: 2px #3ebdb6;
}
.title {
margin: 0;
text-align: center;
font-family: "Work Sans";
font-weight: 500;
}
label {
font-family: "Work Sans";
font-weight: 300;
border: 2px #3ebdb6;
}
h1 {
font-family: "Work Sans";
font-weight: 400;
}
h2 {
font-family: "Work Sans";
font-weight: 100;
}
.character-count-container {
display: flex;
align-items: center;
}
.number-input {
width: 2rem;
margin: .5rem;
background-color: white;
border: .5px solid #a8dbe7;
border-radius: .5rem;
}
.password-display {
background-color: white;
color: #3ebdb6;
padding: 1rem;
border: 1px solid #cae3e9;
max-height: 6rem;
width: 350px;
display: flex;
justify-content: center;
align-items: center;
word-break: break-all;
border-radius: .5rem;
}
button.button {
grid-column: span 2;
background-color: #47d5cd;
border: 3px #3ebdb6;
padding: .5rem 1rem;
font-family: "Work Sans";
color: white;
font-size: 20px;
font-weight: 400;
/* Turns cursor into hand on hover */
cursor: pointer;
border-radius: .5rem;
}
/* Lighten button background on hover. */
.button:hover {
background-color: #9adad6;
}
/* Remove default styling on slider. */
input[type="range"] {
-webkit-appearance: none;
}
input[type="range"]:focus {
outline: none;
}
/* Add custom styling to slider. */
input[type="range"]::-webkit-slider-runnable-track {
background: #47d5cd;
height: 5px;
outline: 3px solid #3ebdb6;
}
input[type="range"]::-moz-range-track {
background: white;
height: 5px;
border: 2px #9adad6;
box-shadow: 2px;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 16px;
color: #47d5cd;
margin-top: -5px;
border-radius: 100%;
border: 6px solid #3ebdb6;
align-items: center;
}
input[type="range"]::-moz-range-thumb {
height: 15px;
width: 15px;
background-color: #47d5cd;
margin-top: -5px;
border-radius: .5rem;
}