-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquotes.css
109 lines (107 loc) · 2.15 KB
/
quotes.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
@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;
}
:root{
--primary: #4be1ec;
--secondary: #cb5eee;
--white: #fff;
--gray: #9b9b9b;
}
.main {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.main{
flex-direction: column;
padding: 2rem 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;
}
.container {
display: grid;
width: 100%;
height: 80vh;
place-content: center;
/* padding: 3rem 4rem; */
flex-wrap: wrap;
gap: 2rem;
grid-template-columns: repeat(4, 1fr);
}
.day {
border: 2px solid white;
overflow: hidden;
display: flex;
gap: 1rem;
border-radius: 1rem;
cursor: pointer;
justify-content: space-around;
align-items: center;
transition: all 0.3s ease;
padding: 0.5rem;
}
.day:hover > .info .day-name{
color: var(--primary);
}
.day:hover > .info .date{
color: var(--white);
}
.icon {
width: 30%;
}
.info {
color: white;
letter-spacing: 3px;
text-align: justify;
}
.day-name {
font-size: 1.5rem;
}
.date {
font-size: 1.3rem;
}
lord-icon{
width: 120px;
height: 120px;
}
.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) {
.container {
display: flex;
flex-direction: column;
width: 100%;
height: max-content;
padding: 1rem 0;
}
lord-icon{
width: 100px;
height: 100px;
}
}