-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (109 loc) · 2.26 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
@import url('https://fonts.googleapis.com/css2?family=Chau+Philomene+One&display=swap');
body {
height: 100vh;
background-color: black;
background-image: url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=3150&q=80/900x900");
display: flex;
justify-content: center;
align-items: center;
font-family: 'Chau Philomene One', sans-serif;
}
h1 {
color: white;
font-weight: 200;
font-size: 4vh;
}
.main-container {
background-color: #071e14d3;
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px;
}
.result-line {
display: flex;
padding: 20px 0;
font-size: 1.5rem;
letter-spacing: 2px;
font-weight: 100;
}
.result-line #result {
padding: 10px 15px;
word-wrap: break-word;
max-width: calc(100% - 60px);
font-weight: 100;
}
#clipboard {
width: 60px;
font-size: 1.5rem;
}
.span {
width: 100%;
height: 45px;
background-color: #449e72;
}
.settings {
display: flex;
flex-direction: column;
}
.input {
display: flex;
line-height: 2em;
font-size: 2.5vh;
align-items: center;
justify-content: space-between;
}
.input input[type=checkbox]{
transform: scale(1.5);
}
.input input[type=number]{
font-size: 1.5vh;
font-family: 'Chau Philomene One', sans-serif;
}
.input label[for=length]::after {
content: "(min. 8 - max. 24 characters)";
font-size: 1vh;
padding: 0 10px;
}
form {
width: 90%;
color: white;
}
#generate {
width: 100%;
height: 2em;
font-family: 'Chau Philomene One', sans-serif;
color: white;
font-size: 3vh;
background-color: #449e72;
border: none;
margin: 20px 0;
}
#generate:hover {
background-color: green;
}
#generate:active {
background-color: green;
transform: translateY(3px);
}
@media only screen and (min-width: 700px) {
.main-container {
width: 50%;
}
}
@media only screen and (max-width: 500px) {
.main-container {
width: 90%;
}
}
@media only screen and (max-width: 375px) {
.main-container {
width: 100%;
padding: 40px 10px;
}
form {
width: 95%;
}
}