forked from jyotiprakashh/RandomQuote_API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
192 lines (163 loc) · 3.35 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
body {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: rgb(112, 112, 216);
}
.wrapper {
width: 605px;
background: whitesmoke;
border-radius: 20px;
padding: 30px 30px 25px;
}
.wrapper header {
font-size: 35px;
font-weight: 600px;
text-align: center;
}
#clock ul {
display: flex;
justify-content: space-between;
flex-direction: row;
padding-left: 0;
}
#clock ul li {
list-style: none;
}
.wrapper .content {
margin: 35px 0;
}
.content .quote-area {
display: flex;
justify-content: center;
}
.quote-area i {
font-size: 15px;
}
.quote-area i:first-child {
margin: 3px 10px 0 0;
}
.quote-area i:last-child {
margin: 0 0 3px 10px;
display: flex;
align-items: flex-end;
}
.quote-area .quote {
font-size: 22px;
text-align: center;
word-break: keep-all;
}
.content .author {
display: flex;
margin: 20px;
font-size: 18px;
font-style: italic;
justify-content: flex-end;
}
.author span:first-child {
margin: -7px 5px 0 0;
font-family: monospace;
}
.wrapper .buttons {
border-top: 1px solid rgb(76, 76, 76);
}
#clock ul li {
text-decoration: solid;
font-family: sans-serif;
font-weight: bold;
font-style: italic;
}
.buttons .features {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 20px;
}
.features ul {
display: flex;
}
.features ul li {
z-index: 10;
list-style: none;
margin: 0 8px;
width: 47px;
height: 47px;
cursor: pointer;
color: rgb(88, 88, 223);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
border: 2px solid rgb(112, 112, 235);
transition: all 0.3s ease;
}
.features ul li:hover {
color: #fff;
background: rgb(119, 119, 240);
}
.features button {
z-index: 5;
border: none;
outline: none;
color: #fff;
cursor: pointer;
font-style: 16px;
padding: 13px 22px;
border-radius: 30px;
background: rgb(114, 114, 225);
}
#loader {
background: rgba(0, 0, 0, 0.999) url(./loader1.gif) no-repeat center;
transform: translateY(1000px);
height: 100vh;
width: 100%;
position: fixed;
z-index: 2;
}
#loader.active {
opacity: 0.8;
transform: translateY(0);
z-index: 10;
}
/* .newquote {
text-decoration: none;
font-weight: 500;
position: relative;
font-size: 14px;
color: #333;
background-color: #ddd;
display: block;
padding: 14px 20px;
border-radius: 10px;
overflow: hidden;
}
div.buttons.features {
position: absolute;
transform: translate(-50%, -50%);
pointer-events: none;
border-radius: 50rem;
background-color: red;
animation: rippleEffects 1s linear infinite;
}
@keyframes rippleEffect {
from {
width: 0;
height: 0;
opacity: .5;
}
to {
width: 500px;
height: 500px;
opacity: 0;
}
} */
.btn:hover {
background-color: blue;
box-shadow: 0 3px #666;
}
.btn:active {
/* background-color: #3e8e41; */
/* box-shadow: 0 5px #666; */
transform: translateY(4px);
}