-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
153 lines (144 loc) · 3.39 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
*{
box-sizing: border-box;
}
body{
background-color: rgba(127,97,131,255);
background: linear-gradient(130deg, rgba(127,97,131,255) 30%, rgba(70,65,97,255) 60%, rgba(69,64,105,255) 100%);
font-family: "poppins", sans-serif;
display: flex;
padding-top: 3rem;
flex-wrap: wrap;
margin: 0;
align-items: center;
min-height: 100vh;
}
.card-container{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: fit-content;
}
.card{
height: 500px;
display: flex;
flex-wrap: wrap;
background-color: #2d304f;
width: 750px;
transform: scale(1);
margin-left: auto;
margin-right: auto;
transition: all 50ms ease-in-out;
border-radius: 8px;
transition-duration: 500ms;
color:#fefefe ;
box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.2);
align-items: center;
}
.card:hover{
transition-duration: 500ms;
transition-timing-function: ease-in-out;
transform: scale(1.03);
box-shadow: 0px 0px 20px 5px rgba(255, 255, 255, 0.1);
}
.card-inner{
align-self: center;
display: block;
width: 80%;
margin-left: auto;
margin-right: auto;
height: fit-content;
justify-content: center;
}
.quote-text{
width: fit-content;
height: fit-content;
font-size: 2rem;
font-family: "Pacifico", cursive;
font-weight: 400;
font-style: normal;
position: relative;
height: fit-content;
padding: 20px 0px;
}
.img-icon{
position: absolute;
top: 0px;
left: -20px;
}
.author-name{
margin-left: auto;
width: fit-content;
margin-top: 20px;
font-size: 1.2rem;
color: #e04668;
}
.generate-button{
margin-left: auto;
margin-right: auto;
padding: 15px 34px;
font-size: 1rem;
font-weight: 600;
color: #fefefe;
border-radius: 8px;
border: none;
transform: scale(1);
transition-duration: 0.5s;
transition-timing-function: ease-in-out;
background-color: #e04668;
cursor: pointer;
background: linear-gradient(130deg, #e04668 30%, #8a426e 60%, #863e57 100%);
}
.generate-button:hover{
transform: scale(1.03);
transition-duration: 0.5s;
transition-timing-function: ease-in-out;
background: linear-gradient(130deg, #e04668 10%, #8a426e 20%, #863e57 500%);
}
.buttons{
display: flex;
margin-left: auto;
margin-right: auto;
}
.capture-btn{
margin-left: 20px;
margin-right: auto;
padding: 15px 34px;
font-size: 1rem;
font-weight: 600;
color: #fefefe;
border-radius: 8px;
border: none;
transform: scale(1);
transition-duration: 0.5s;
transition-timing-function: ease-in-out;
background-color: #e04668;
cursor: pointer;
background: linear-gradient(130deg, #e04668 30%, #8a426e 60%, #863e57 100%);
}
.capture-btn:hover{
transform: scale(1.03);
transition-duration: 0.5s;
transition-timing-function: ease-in-out;
background: linear-gradient(130deg, #e04668 10%, #8a426e 20%, #863e57 500%);
}
@media only screen and (max-width: 768px) {
.card{
width: 95%;
min-height: 300px;
}
.quote-text{
font-size: 1.6rem;
padding: 20px 0px;
}
.img-icon{
top: -10px;
left: -20px;
}
.author-name{
margin-top: 20px;
font-size: 0.9rem;
}
}