-
Notifications
You must be signed in to change notification settings - Fork 2.6k
/
Copy pathindex.css
98 lines (86 loc) · 1.57 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
87
88
89
90
91
92
93
94
95
96
97
98
/* Add CSS styling here */
header{
background-color: lightgrey;
padding: 20px;
margin-bottom: 15px;
}
footer{
background-color: lightgrey;
text-align: center;
padding: 20px;
}
.topsection{
display: flex;
flex-direction: row;
}
.description{
padding: 20px;
width: 50%;
}
.row{
display: flex;
flex-direction: row;
justify-content: space-evenly;
padding: 20px;
}
.porfolio-element{
text-align: center;
}
button{
background-color: white;
color: black;
border: black solid 1px;
padding: 5px 10px;
}
button:hover{
background-color: black;
color: white;
border: white solid 1px;
}
button a{
text-decoration: none;
color: inherit;
}
@media(max-width: 800px){
}
@media(max-width: 500px) {
header{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
nav{
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
button{
width: 40%;
margin: 1% 0;
}
.topsection{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.description{
align-items: center;
justify-content: center;
display: flex;
flex-direction: column;
width: 60%;
text-align: center;
}
.row{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.row div{
width: 40%;
margin: 2% 0;
}
}