-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
55 lines (48 loc) · 908 Bytes
/
styles.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
body, html {
margin: 0;
padding: 0;
overflow: hidden;
}
a {
text-decoration: none;
text-transform: uppercase;
font-family: sans-serif;
}
#container {
width: 10000px;
height: 100vh;
position: relative;
transform: translateX(-5000px);
overflow: scroll;
}
.line {
display: inline-block;
}
.phrase {
padding: 0 10px;
}
.search-container {
position: absolute;
left: calc(50% - 150px);
top: calc(50% - 40px);
width: 300px;
height: 80px;
border-radius: 20px;
border-color: #004E5F;
border-width: 2px;
border-style: solid;
background-color: #f2f2f2;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.search-input {
width: calc(100% - 20px);
height: calc(100% - 20px);
padding: 10px;
border: none;
outline: none;
border-radius: 20px;
font-size: 16px;
}
.search-input::placeholder {
color: #aaa;
}