-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (65 loc) · 1.35 KB
/
style.css
File metadata and controls
69 lines (65 loc) · 1.35 KB
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
body{
background-color: #81ADC8;
/* font-family: 'Spirax', cursive; */
/* font-family: 'Lobster', cursive; */
/* font-family: 'Satisfy', cursive; */
font-family: 'Karla', sans-serif;
/* margin: 0 auto; */
}
.container{
background-color: #E8F1F2;
position: absolute;
width: 50%;
height: auto;
padding: 20px;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, 50%);
transform: translate(-50%,-50%);
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
font-weight: 500;
border-radius: 20px;
box-shadow: 10px 10px 15px #244a61;
}
.container h1{
text-shadow: 2px 2px 1px rgb(141, 141, 141);
}
.quote{
margin: 20px;
font-size: 2vw;
}
.author{
font-size: 1.5vw;
}
.next{
text-align: center;
cursor: pointer;
font-size: 20px;
background-color: #6cc8d6;
border: none;
color: #333;
padding: 10px;
width: 100px;
transition-duration: .4s;
/* overflow: hidden; */
box-shadow: 5px 5px 10px #107888;
border-radius: 4px;
font-weight: 600;
}
.next:hover{
background: #fff;
box-shadow: 0px 2px 10px 5px #59a4af;
color: #000;
}
@media only screen and (max-width:500px){
.quote{
font-size: 5vw;
text-align: left;
}
.author{
font-size: 4vw;
}
}