-
Notifications
You must be signed in to change notification settings - Fork 0
/
quoting.css
96 lines (85 loc) · 1.95 KB
/
quoting.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
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;900&family=Tangerine&display=swap');
* {
font-family: 'Rubik', sans-serif;
color: white;
font-size: 23px;
font-size: 40px;
}
body {
overflow: hidden;
height: 100vh;
/* background-color: rgb(0, 132, 255); */
display: flex;
align-items: center;
justify-content: center;
background: url(https://source.unsplash.com/1600x900/?nature-4k) no-repeat center center/cover;
}
nav {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
text-align: center;
}
.logo {
font-size: 45px;
font-weight: 900;
/* background: linear-gradient(to top left,
rgb(70 70 70 / 65%),
rgb(0 0 0 / 65%));
backdrop-filter: blur(4px); */
padding: 10px;
-webkit-text-stroke: 2px black;
}
.container {
background: linear-gradient(to top left,
rgb(100 100 100 / 50%),
rgb(0 0 0 / 75%));
/* border: 2px solid transparent;
border-image: linear-gradient(to top left,
rgba(0, 0, 0, 0.815),
rgb(255, 255, 255));
border-image-slice: 1; */
backdrop-filter: blur(4px);
max-width: 500px;
padding: 50px;
border-radius: 23px;
font-weight: 300;
}
.content {
margin-bottom: 23px;
font-family: 'Tangerine', cursive;
}
.content::before {
content: ' ';
display: block;
background: url(quote-right.svg) no-repeat right;
background-size: 88px;
position: absolute;
bottom: 50px;
right: 42px;
opacity: .3;
z-index: -1;
width: 100%;
height: 100%;
}
.authorName, .author{
text-align: right;
font-weight: 400;
font-size: 23px;
}
button {
background: linear-gradient(to top left,
rgb(70 70 70),
rgb(0 0 0));
font-size: 15px;
border: none;
border-radius: 23px;
padding: 12px;
cursor: pointer;
}
@media (max-width:550px) {
.authorName, .author{
font-size: 15px;
}
}