-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.css
117 lines (115 loc) · 2.43 KB
/
card.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
@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;
}
.main {
height: 100%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
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;
}
:root{
--primary: #4be1ec;
--secondary: #cb5eee;
--white: #fff;
--gray: #9b9b9b;
}
a {
color: #e727aa;
letter-spacing: 2px;
}
body {
background: #3d3087;
}
.main {
padding: 0 1rem;
}
.card {
height: 80vh;
width: 50%;
padding: 2rem;
margin: 2rem;
border-radius: 1rem;
background-image: url(./assets/biel-morro-kcKiBcDTJt4-unsplash.jpg);
color: #fff;
font-size: 1.3rem;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
position: relative;
background-size: cover;
}
.message {
width: 60%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
backdrop-filter: blur(20px);
padding: 5rem 2rem;
border-radius: 1rem;
}
#chosenQuote{
font-size: 2rem;
/* width: 60%; */
/* padding: 5rem; */
}
.rose {
position: absolute;
height: 8rem;
width: 8rem;
bottom: 2rem;
right: 8rem;
}
#spName,#fpName {
text-transform: capitalize;
letter-spacing: 2.5px;
}
.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) {
.card {
width: 98%;
padding: 1rem;
}
#chosenQuote{
font-size: 1.3rem;
width: 70%;
}
.rose {
position: absolute;
height: 6rem;
width: 6rem;
bottom: 1rem;
right: 0;
}
.message {
width: 100%;
}
}