-
Notifications
You must be signed in to change notification settings - Fork 0
/
cupcake.css
112 lines (91 loc) · 1.68 KB
/
cupcake.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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* Style the top navigation bar */
body {
background-color: #a6f25a;
margin: 0;
padding: 0;
font-family: Arial;
}
header img {
width: 100%;
}
.topnav {
overflow: hidden;
background-color: #0EC8C7;
text-align: center;
}
.topnav li,
footer li {
display: inline;
}
/* Style the topnav links */
.topnav a {
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
footer a {
color: black;
text-align: center;
padding: 5px;
text-decoration: none;
}
/* Change color on hover */
.topnav a:hover {
background-color: #a6f25a;
color: black;
}
#wrap {
width: 70%;
margin: 0 auto;
}
#main {
width: 68%;
float: right;
background-color: white;
padding: 1%;
}
#side {
width: 30%;
float: left;
background-color: red;
color: white;
text-decoration: none;
}
#side li {
list-style-type: none;
padding: 10px 0;
}
#side a {
color: white;
text-decoration: none;
}
section {
background-color: white;
overflow: auto;
}
footer {
background-color: #0EC8C7;
text-align: center;
padding: 5px;
}
/* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
#wrap {
width: 99%;
}
.topnav a {
display: block;
float: none;
width: 100%;
padding: 10px;
}
.topnav ul {
margin: 0;
padding: 0;
}
#main,
#side {
float: none;
width: 100%;
}