-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyleSheet1.css
69 lines (67 loc) · 1.04 KB
/
StyleSheet1.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
*{
box-sizing: border-box;
}
body, h1{
margin: 0;
}
body {
font-family: monospace;
line-height: 1.4em;
color: #afafaf;
}
.container{
max-width: 1200px;
height: auto;
margin: auto;
}
.p2{
padding: 20px;
}
.header{
width: 100%;
height: 60px;
background-color: #ffffff;
}
.flex{
display: flex;
align-items: center;
}
.header > .logo > img {
width: 100px;
}
.header > .logo {
width: 30%;
margin-left: -35px;
margin-bottom: -55px;
z-index: 2;
}
.header > .main-nav {
margin: 20px;
color: #ffffff;
text-decoration: none;
font-size: 1.1em;
}
/*
Grid
*/
.grid{
width: 100%;
height: auto;
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(3,1fr);
grid-auto-rows: minmax(220px, auto);
}
.grid-item{
background-color: #ddd;
}
.grid-item > img{
width: 100%;
}
.grid-item_two{
grid-column:2/4;
grid-row:1/3;
}
.grid-item_four{
grid-row: 3/5;
}