-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
150 lines (148 loc) · 2.83 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
main {
min-height: 100vh;
width: 100%;
background-image: url("assets/images/pexels-riccardo-573850.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.box {
position: relative;
background: linear-gradient(
to top,
rgba(0, 0, 0, 0.9) 0px,
rgba(0, 0, 0, 0.1) 50%,
rgba(0, 0, 0, 0.9) 100%
);
min-height: 100vh;
width: 100%;
}
nav {
display: flex;
justify-content: space-around;
}
nav button {
margin-top: 30px;
height: 30px;
width: 70px;
background-color: rgb(79, 155, 199);
color: white;
cursor: pointer;
transition: all 0.2s ease-in-out;
border: none;
border-radius: 7px;
}
nav button:hover {
background: transparent;
border: 1px solid rgb(79, 155, 199);
}
nav .logo {
margin-top: 25px;
color: white;
font-size: 30px;
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
nav ul {
display: flex;
list-style: none;
margin-top: 30px;
gap: 40px;
padding-right: 30px;
}
nav ul li a {
text-decoration: none;
color: white;
font-size: 16px;
letter-spacing: 1px;
position: relative;
}
nav ul li a:after {
transition: 0.3s;
content: "";
width: 0%;
height: 100%;
right: 0;
border-top: 2px solid white;
position: absolute;
}
nav ul li a:before {
transition: 0.3s;
content: "";
height: 100%;
width: 0%;
left: 0;
border-bottom: 2px solid white;
position: absolute;
}
nav ul li a:hover:before {
width: 100%;
}
nav ul li a:hover:after {
width: 100%;
}
.intro {
min-height: 85vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.intro p {
color: white;
font-size: 20px;
letter-spacing: 2px;
}
.intro h1 {
font-size: 48px;
color: white;
}
.intro .book input {
padding: 0 8px;
height: 40px;
width: 200px;
background: rgba(0, 0, 0, 62%);
outline: none;
border: none;
border-radius: 3px;
caret-color: white;
color: white;
font-size: 16px;
}
.intro .book input::placeholder {
color: rgba(255, 255, 255, 0.5);
font-size: 14px;
}
.book {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.intro .book button {
transition: 0.2s;
padding: 6px 39px 9px;
border-radius: 3px;
border: none;
font-size: 15px;
cursor: pointer;
color: white;
background-image: linear-gradient(
to right,
rgb(19, 44, 58) 50%,
rgb(79, 155, 199) 50%
);
background-size: 200% 100%;
background-position: 1.5% 0%;
letter-spacing: 2px;
font-weight: 500;
}
.intro .book button:hover {
background-position: 100% 0%;
color: white;
}