-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
75 lines (65 loc) · 1.25 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
.container {
display: grid;
height: 98vh;
width: auto;
grid-template-areas:
"top-left-nav . . top-right-nav"
". logo logo ."
". search-bar search-bar ."
". button-search button-lucky ."
" bot-left-nav . . bot-right-nav";
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(2, 1fr) 30px repeat(2, 1fr);
}
.container,
.top-left-nav,
.top-right-nav,
.logo,
.search-bar,
.button-search,
.button-lucky,
.bot-left-nav,
.bot-right-nav {
border: 1px solid black;
}
.top-left-nav {
grid-area: top-left-nav;
align-self: start;
justify-self: start;
}
.top-right-nav {
grid-area: top-right-nav;
align-self: start;
justify-self: end;
}
.logo {
grid-area: logo;
justify-self: center;
align-self: end;
}
.search-bar {
grid-area: search-bar;
justify-self: center;
}
.search-bar input {
width: 400px;
height: 20px;
}
.button-search {
grid-area: button-search;
justify-self: right;
}
.button-lucky {
grid-area: button-lucky;
justify-self: left;
}
.bot-left-nav {
grid-area: bot-left-nav;
align-self: end;
justify-self: start;
}
.bot-right-nav {
grid-area: bot-right-nav;
align-self: end;
justify-self: end;
}