-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
86 lines (77 loc) · 1.49 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
header{
background-color: rgb(64, 196, 163);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
height: 30vh;
}
nav{
background-color: black;
height: 7vh;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
nav a{
padding:10px 10px;
text-decoration: none;
color: white;
}
nav a:hover{
background-color: white;
color: black;
text-align: center;
}
section{
display: flex;
flex-direction: row;
height:fit-content;
flex-wrap: wrap;
}
.image{
width:100%;
height: 40vh;
background-color: gray;
}
.small-image{
width:100%;
height: 10vh;
background-color: gray;
}
.about{
padding: 5px;
width: 30%;
background-color: rgb(231, 230, 230);
}
.content{
padding: 5px;
width: 67%;
background-color: white;
}
footer{
margin-top: 0%;
display: flex;
justify-content: center;
align-items: center;
height: 13vh;
background-color: rgb(187, 184, 184);
}
@media screen and (max-width: 700px){
section,nav{
flex-direction: column;
height: fit-content;
}
nav a:hover{
width: 100%;
background-color: white;
color: black;
text-align: center;
height: fit-content;
}
.about,.content{
width: auto;
}
}