-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
107 lines (85 loc) · 1.75 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Outfit', 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
p {
font-size: 1.6rem;
}
h1 {
font-size: 6rem;
}
.app {
width: 100%;
height: 100vh;
position: relative;
background-color: rgba(0,0,0,0.4);
color: #fff;
}
.app:before {
content: '';
background: url('./assets/sunset.jpg') no-repeat center center/cover;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
}
.app .search {
text-align: center;
padding: 1rem;
}
.app input {
padding: .7rem 1.5rem;
font-size: 1.2rem;
border-radius: 25px;
border: 1px solid rgba(255,255,255, 0.8);
background: rgba(255,255,255, 0.1);
color: #f8f8f8;
}
::placeholder {
color: #f8f8f8;
}
.container {
max-width: 700px;
height: 700px;
margin: auto;
padding: 0 1rem;
position: relative;
top: 10%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.app .top {
width: 100%;
margin: 1rem auto;
}
.app .description {
position: relative;
right: -90%;
transform-origin: 0 0;
transform: rotate(269deg);
}
.app .bottom {
display: flex;
justify-content: space-evenly;
text-align: center;
width: 100%;
margin: 1rem auto;
padding: 1rem;
border-radius: 12px;
background-color: rgba(255,255,255, 0.2);
}
.bold {
font-weight: 700;
}