-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
129 lines (116 loc) · 2 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
* {
box-sizing: border-box;
}
html,
body {
font-family: "Inter", sans-serif;
font-size: 16px;
margin: 0;
padding: 0;
}
h1 {
font-size: 2.5rem;
font-weight: 700;
color: rgb(34, 37, 41);
text-shadow: 1px 1px 1px snow;
}
.flexbox-container {
height: 300px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
background-color: lightblue;
}
.flexbox-container-2 {
height: 100vh;
display: flex;
justify-content: flex-start;
align-items: center;
flex-direction: column;
_background-color: snow;
margin-top: 30px;
}
.flexbox-item {
margin: 3rem;
border: none;
flex-shrink: 0;
}
.quote-button {
border-radius: 0.5rem;
background-color: rgb(43, 113, 244);
font-size: 2rem;
font-weight: 500;
color: snow;
width: 12rem;
height: 4rem;
}
.quote-button:hover {
box-shadow: 0px 0px 0.25rem 0.125rem rgb(43, 113, 244, 0.5);
background-color: snow;
color: rgb(43, 113, 244);
font-weight: bold;
cursor: pointer;
}
.quote-block {
letter-spacing: 0.15rem;
color: #000016;
}
.quote-author {
color: rgb(125, 133, 137);
}
.quote-author::before {
content: "— ";
}
/* Media Queries for min-width of 500px, 992px and 1400px*/
@media screen and (min-width: 500px) {
.flexbox-item {
margin: 2rem;
}
.quote-block {
font-size: 2.5rem;
}
.quote-author {
font-size: 2rem;
}
}
@media screen and (min-width: 992px) {
.flexbox-container {
justify-content: space-around;
}
h1 {
font-size: 2rem;
}
.quote-button {
font-size: 1.5rem;
font-weight: 400;
width: 10rem;
height: 3.5rem;
}
.quote-block {
font-size: 2rem;
}
.quote-author {
font-size: 1.5rem;
}
}
@media screen and (min-width: 1400px) {
.flexbox-container {
justify-content: space-between;
}
h1 {
font-size: 1.5rem;
}
.quote-button {
font-size: 1.25rem;
font-weight: 400;
width: 7.5rem;
height: 3rem;
}
.quote-block {
font-size: 1.5rem;
}
.quote-author {
font-size: 1rem;
}
}