-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_styles.css
More file actions
103 lines (81 loc) · 1.54 KB
/
index_styles.css
File metadata and controls
103 lines (81 loc) · 1.54 KB
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
99
100
101
102
103
@import url("index_styles.css");
html {
padding-right: 200px;
padding-left: 200px;
padding-top: 0px;
padding-bottom: 0px;
background-color: rgb(161, 231, 253);
}
body {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
background-color: rgb(145, 146, 208);
color: black;
}
header nav ul {
width: 100%;
}
nav ul li {
display: inline;
width: 20%;
background-color: white;
text-align: center;
margin-left: auto;
margin-right: auto;
}
a:link {
color: rgb(255, 193, 121);
text-decoration: none;
}
a:visited {
text-decoration: none;
color: rgb(255, 121, 121);
}
a:hover {
text-decoration: underline;
}
section#sheet {
-webkit-flex: 3 1 301px;
flex: 3 1 301px;
}
article img {
float: left;
padding: 5px;
width: 7%
}
footer{
display: table;
text-align: center;
margin-left: auto;
margin-right: auto;
color: rgb(255, 193, 121);
line-height: 1;
}
/*phone*/
@media only screen and (max-width: 480px) {
section#sheet img.panel {
width: 100%;
}
nav.horizontal {
-webkit-order: 99;
order: 99;
}
footer{
-webkit-order: 100;
order: 100;
}
}
/*tablet*/
@media only screen and (min-width: 481px) {
nav.horizontal ul {
display: -webkit-flex;
display: flex;
height: 40px;
}
nav.horizontal ul li {
-webkit-flex: 1 1 auto;
flex: 1 1 auto;
}
}