-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
94 lines (84 loc) · 1.58 KB
/
main.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
* {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
font-family: 'Bellefair', serif;
}
html {
margin: 0;
padding: 0;
}
.quote-box{
border-radius: 3px;
position: relative;
margin: 8% auto auto auto;
width: 40%;
padding: 40px 50px;
display: table;
background-color: #fff;
font-size: 1.75em;
transition: all 0.8s linear;
-webkit-box-shadow: 10px 10px 20px 0px rgba(20,16,20,1);
-moz-box-shadow: 10px 10px 20px 0px rgba(20,16,20,1);
box-shadow: 10px 10px 20px 0px rgba(20,16,20,1);
}
.quote-text{
text-align: center;
}
#text{
font-size: 30px;
margin-left:10px;
}
.quote-author{
text-align: right;
margin-top: 10px;
font-size: 0.75em;
}
.svg-inline--fa.fa-quote-left.fa-w-16.fa-2x {
margin-right: 0.5em;
}
.buttons {
margin-top: 20px;
}
#new-quote {
display: block;
height: 35px;
float: right;
cursor: pointer;
border-radius: 2px;
border: none;
color: white;
padding-left: 15px;
padding-right: 15px;
-webkit-box-shadow: 10px 10px 10px 0px rgba(235,232,235,1);
-moz-box-shadow: 10px 10px 10px 0px rgba(235,232,235,1);
box-shadow: 10px 10px 10px 0px rgba(235,232,235,1);
}
div>a{
background: inherit;
color: inherit;
cursor: pointer;
}
#new-quote:hover, div>a>:hover{
opacity: 0.7;
}
footer{
text-align: center;
}
p, p > a {
color: wheat;
}
#twitter{
display: inline !important;
}
@media screen and (max-width: 769px) {
.quote-box{
width: 80%;
}
}