-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
88 lines (73 loc) · 1.28 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
@font-face {
font-family: montserrat;
src: url('Montserrat/Montserrat-VariableFont_wght.ttf');
}
* {
box-sizing: border-box;
user-select: none;
}
body {
font-family: 'montserrat';
display: flex;
align-items: center;
justify-content: center;
padding: 3rem 4rem;
background-color: #111;
color: #eee;
}
.container {
text-align: center;
}
h2 {
text-transform: uppercase;
}
.flex {
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
margin-bottom: 1.2rem;
}
img {
width: 70px;
height: 70px;
border-radius: 50%;
object-fit: cover;
object-position: center;
}
.generate {
padding: 0.5rem 1rem;
margin-top: 1rem;
border: none;
outline: 2px solid #eee;
background-color: transparent;
color: #eee;
border-radius: 2px;
cursor: pointer;
}
.generate:hover {
background-color: #eee;
color: #111;
}
.generate[disabled] {
opacity: 0.5;
pointer-events: none;
}
.quote {
line-height: 1.5;
}
@media screen and (max-width: 540px) {
.flex {
flex-direction: column;
gap: 0.7rem;
margin: 0;
}
h2 {
margin: 0;
}
img {
width: 180px;
height: 180px;
object-position: top;
}
}