-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (90 loc) · 1.52 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
@import url("https://fonts.googleapis.com/css2?family=Castoro&display=swap");
* {
box-sizing: border-box;
font-family: "Castoro", serif;
}
body {
position: relative;
background: rgb(17, 80, 125);
background: linear-gradient(
323deg,
rgba(17, 80, 125, 1) 7%,
rgba(1, 44, 76, 1) 74%,
rgba(1, 10, 17, 1) 100%
);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
}
body::before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: url("img/cloud1.png");
background-position: left bottom, left top;
background-repeat: no-repeat;
}
.container {
display: flex;
flex-direction: column;
width: 90%;
max-width: 600px;
}
.read {
color: #fff;
padding: 10px;
font-size: 1.1rem;
width: 100%;
height: 250px;
background: rgba(1, 44, 76, 0.6);
resize: none;
}
h1,
h3 {
color: #fff;
}
h3 {
text-align: center;
font-size: 1.2rem;
margin-top: 20px;
}
.pitch {
margin-top: 5px;
}
.read::placeholder {
color: #fff;
opacity: 1;
transition: opacity 0.2s ease-in-out;
}
.read:focus::placeholder {
opacity: 0;
}
button,
.voices {
color: #fff;
cursor: pointer;
font-size: 1.2rem;
font-weight: 900;
padding: 10px;
margin-top: 10px;
background: rgba(1, 10, 17, 0.7);
}
.voices {
font-size: 1rem;
}
button:hover {
background-color: rgba(1, 10, 17, 0.9);
}
.read,
button {
outline: 0;
border-radius: 4px;
border: 2px solid #fff;
}