-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdays.css
163 lines (160 loc) · 3.56 KB
/
days.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@import url('https://fonts.googleapis.com/css2?family=Protest+Revolution&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bonheur+Royale&family=Poppins:wght@300;400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Bonheur Royale', cursive;
text-decoration: none;
}
body {
/* height: 100vh; */
width: 100%;
background-color: #ce4053;
}
.main {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 0rem 1rem;
}
.main h2 {
color: var(--white);
letter-spacing: 2px;
font-size: 24px;
transform: rotate(-2deg);
border-bottom: 2px dotted var(--white);
border-radius: 1rem;
padding: 0.5rem;
}
:root{
--primary: #4be1ec;
--secondary: #cb5eee;
--white: #fff;
--gray: #9b9b9b;
}
.quote-heading {
font-size: 2rem;
backdrop-filter: blur(10px);
padding: 1rem;
}
.hero {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.3rem 5rem;
margin: 0.1rem;
height: 80vh;
width: 100vw;
}
.left {
text-align: center;
background: #fff;
height: 100%;
padding: 1rem 1rem;
font-size: 1.4rem;
}
#user-profile-text,#fpname,#spname {
font-family: 'Protest Revolution', sans-serif;
text-transform: uppercase;
padding: 0.2rem 0;
}
h3 {
margin: 1rem;
}
.right {
margin-left: 5px;
height: 100%;
width: 90%;
padding: 0.5rem;
overflow: hidden;
overflow-y: scroll;
text-align: center;
color: var(--white);
background: url(./assets/biel-morro-kcKiBcDTJt4-unsplash.jpg);
background-repeat: no-repeat;
background-size: cover;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.right::-webkit-scrollbar {
display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.right {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
}
lord-icon {
border: 2px solid var(--secondary);
border-radius: 50%;
}
.quotes {
display: grid;
grid-template-columns: repeat(4,1fr);
}
.quote {
border: 2px solid var(--primary);
padding: 1.2rem;
margin: 1rem;
border-radius: 1rem;
color: var(--white);
font-family: cursive;
font-size: 1rem;
cursor: pointer;
aspect-ratio: 8/2;
min-height: 14rem;
backdrop-filter: blur(10px);
display: flex;
justify-content: center;
align-items: center;
width: 15rem;
}
.back {
text-align: left;
}
.copyright {
font-size: 1.5rem;
color: var(--white);
font-family: 'Protest';
transform: rotate(-1deg);
border-bottom: 2px dotted var(--white);
border-radius: 1rem;
padding: 0.4rem;
}
@media only screen and (max-width: 400px) {
.main {
height: max-content;
margin: 0;
padding: 1rem;
}
.left,.right {
width: 100%;
}
.left {
border-top-left-radius: 1rem;
border-top-right-radius: 1rem;
}
.hero {
display: flex;
flex-direction: column;
padding: 2rem 0;
margin: 0;
height: max-content;
}
.right{
height: max-content;
margin: 0;
border-bottom-right-radius: 1rem;
border-bottom-left-radius: 1rem;
}
.quotes {
display: flex;
flex-direction: column;
}
.back {
display: none;
}
}