-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsive.css
82 lines (78 loc) · 1.69 KB
/
responsive.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
@media(max-width: 950px) {
#menu {
flex-basis: 40%;
}
.logo {
flex-basis: 40%;
}
}
@media(max-width: 635px) {
#menu {
flex-basis: 50%;
}
.logo {
flex-basis: 30%;
}
}
@media(max-width: 599px) {
#header {
height: 71px;
}
.logo {
flex-basis: 100%;
text-align: center;
}
#menu {
flex-basis: 100%;
margin-right: 0px;
height: 100%;
}
#menu ul {
margin: 0px auto;
justify-content: space-around;
padding-right: 0px;
align-items: flex-start;
}
#footer .info {
font-size: 12px;
}
}
@media(max-width: 510px) {
#footer .logo {
order: 1;
flex-basis: 100%;
text-align: center;
}
#footer .info {
order: 2;
flex-basis: 100%;
text-align: center;
}
}
@media(max-width: 499px) {
#content {
flex-direction: column;
flex-wrap: wrap;
}
#sidebar {
flex-basis: 100%;
margin: 0px;
}
#sidebar ul {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
}
#sidebar ul li {
flex-grow: 1;
margin-left: 5px;
margin-right: 5px;
}
#projects {
flex-basis: 100%;
}
.project {
margin-right: 5px;
margin-left: 5px;
}
}