-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
130 lines (124 loc) · 2.06 KB
/
main.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* CSS from Chapter 5 project, simplified and made smartphone-friendly */
/* Main change: no <aside> for top-level links, instead a nav bar at top */
html {
background-color: lightsalmon;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 1.3rem;
margin: 0 auto;
padding: 1em;
background-color: white;
border: 1px solid black;
}
header {
border-bottom: 2px solid black;
padding: .5em 0;
}
header h1 {
color: darkslategrey;
}
#pizzapie {
float: left;
width: 150px;
}
main {
}
section {
}
nav li {
display:inline;
}
nav ul {
margin: 0;
}
header {
padding: 0;
}
footer {
clear: both;
border-top: 2px solid black;
}
footer p {
text-align: right;
font-size: 80%;
}
h1 {
font-size: 150%;
margin: .5em 0;
}
h2 {
font-size: 120%;
margin: .25em 0 .25em 0;
}
h1, h2 {
color: rgb(208, 133, 4);
}
ul {
list-style-type: none;
padding-left: 0;
padding-bottom: 0.5em;
}
li {
padding-bottom: 0.5em;
}
li.horizontal {
display: inline;
}
/* like M&H pg. 19, for add-user page in this app */
#data input {
float: left;
width: 15em;
margin-bottom: .5em;
}
#data label {
float: left;
width: 6em;
padding-right: 1em;
}
br {
clear: left;
}
table {
border: 1px solid black;
border-collapse: collapse;
margin-bottom: 1em;
}
td, th {
border: 1px dashed black;
padding: .2em .5em .2em .5em;
text-align: left;
}
#meat,#meatless{
float: left;
width: 100%;
}
.topping_type{
width: 100%;
float: left;
height: auto;
}
.meat{
width: 48%;
float: left;
border: 1px solid black;
}
.meatless{
width: 48%;
float: right;
border: 1px solid black;
}
.meat p {
width: 17%;
margin-top: -10px;
margin-left: 40%;
margin-bottom: unset;
background: white;
}
.meatless p {
width: 25%;
margin-top: -10px;
margin-left: 40%;
margin-bottom: unset;
background: white;
}