-
Notifications
You must be signed in to change notification settings - Fork 0
/
random_quote_generator_style.css
72 lines (72 loc) · 1.55 KB
/
random_quote_generator_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
*{
box-sizing: border-box;
}
body{
background-color: rgb(31, 28, 28);
font-family: 'Josefin Sans', sans-serif;
}
h1{
margin-top: 6vh;
color: rgb(255, 255, 255);
text-align: center;
text-shadow: 4px 3px 0 #131212;
}
.container{
margin-top: 10vh;
background-color: rgb(255, 255, 255);
width: 50vh;
height: 65vh;
border-radius: 15px;
display: block;
margin-right: auto;
margin-left: auto;
box-shadow: rgb(8, 8, 8) 0px 10px 15px -3px, rgb(12, 11, 11) 0px 4px 6px -2px;
padding: 5vh;
}
h4{
text-align: center;
padding-bottom: 5px;
margin-top: -0.5vh;
}
.container .box{
background: linear-gradient(to top, rgb(116, 34, 248),rgb(219, 52, 252));
width: 40vh;
height: 50vh;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 2vh;
border-radius: 14px;
padding-left: 20px;
padding-right: 20px;
}
.quote{
text-align: center;
padding-top:4vh;
padding-left: 15px;
padding-right: 10px;
color: white;
font-size: 14px;
}
.author{
text-align: right;
padding: 5vh;
padding-top: 10vh;
color: white;
font-size: 13px;
}
.container .box button{
display: block;
margin-left: auto;
margin-right: auto;
border: none;
width: 17vh;
height: 6vh;
box-shadow: rgba(28, 29, 29, 0.521) 0px 8px 24px;
border-radius: 5px;
font: inherit;
}
.container .box button:active{
box-shadow:#131212;
transform: translateY(2px);
}