-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
120 lines (105 loc) · 2.23 KB
/
Copy pathindex.css
File metadata and controls
120 lines (105 loc) · 2.23 KB
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
body, html {
max-height: 100%;
margin: 0;
max-width: 100%;
}
nav {
display: flex;
justify-content: center;
}
ul {
display: flex;
flex-direction: row;
padding: 25px;
border-spacing: 5px;
list-style-type: none;
font-size: 25px;
padding-left: 25px;
font-style: italic;
font-weight: bold;
}
li {
margin: 5px;
padding-left: 2rem;
background-image: url("grodd.jpg");
background-position: 0 0;
background-size: 1.6rem 1.6rem;
background-repeat: no-repeat;
margin-bottom: 10px;
}
header {
background-image:linear-gradient(rgb(233, 247, 39),black);
}
body {
font-family: Arial, Helvetica, sans-serif;
}
main {
background-image: linear-gradient(rgb(228, 247, 57), rgb(7, 7, 7));
}
img {
display: flex;
justify-content: flex-start;
width: 100%;
height: 75%;
margin-bottom: 15px;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.container {
display: flex;
align-content: center;
flex-direction: column;
align-items: center;
justify-content: center;
margin: auto;
padding: 3rem;
border: thick double rgb(248, 226, 30);
border-radius: 0.25rem;
background-color: rgb(0, 0, 10);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
form {
display: flex;
height: 100px;
justify-content: center;
align-items: center;
color: white;
}
label {
text-decoration: underline;
height: fit-content;
width: fit-content;
}
input[type="search"] {
width: 200px;
height: 50px;
padding: 5px;
margin-right: 10px;
}
input:invalid ~ span::after {
content: "✖";
padding-left: 5px;
position: absolute;
display: none;
}
input:valid ~ span::after {
content: "✓";
padding-left: 5px;
position: absolute;
}
button {
height: 25px;
width: 100px;
background-color: white;
}
button:hover {
background-color: blue;
}
footer {
display: flex;
background-image: linear-gradient(grey, black);
justify-content: center;
align-items: center;
}