-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject1.css
127 lines (98 loc) · 2.1 KB
/
project1.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
@charset "utf-8";
/*
Ethan Crites
DOM Style Sheet
Filename: dom.css
*/
/* HTML and Body styles */
html {
background: rgb(51, 51, 51);
font-family: Verdana, Geneva, sans-serif;
height: 100%;
}
body {
background-color: white;
box-shadow: black 20px 0px 40px, black -20px 0px 40px;
border-left: 3px solid black;
border-right: 3px solid black;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
margin: 0px auto;
min-width: 320px;
max-width: 1020px;
width: 100%;
}
div#container {
outline-style: solid;
outline-width: medium;
width: 80%;
margin: auto;
}
/* Header styles */
header {
width: 100%;
}
/* Navigation Styles */
nav {
width: 100%;
}
nav ul {
background: linear-gradient(to bottom, black, rgb(44, 70, 44));
-moz-column-width: 200px;
-webkit-column-width: 200px;
column-width: 200px;
-moz-column-gap: 25px;
-webkit-column-gap: 25px;
column-gap: 25px;
padding: 25px;
}
nav ul li.newgroup {
margin-top: 15px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 0.9em;
}
nav a:hover {
color: rgb(191, 231, 191);
text-decoration: underline;
}
/* Footer styles */
footer {
color: white;
background: rgb(44, 70, 44);
height: 70px;
padding-top: 20px;
text-align: center;
font-size: 0.9em;
width: 100%;
}
/* ===============================
Mobile Styles: 0px to 640px
===============================
*/
@media only screen and (max-width: 640px) {
section h1 {
font-size: 1.5em;
}
section p {
font-size: 0.9em;
}
nav {
-webkit-order: 99;
order: 99;
}
footer {
-webkit-order: 100;
order: 100;
}
}
/* =============================================
Tablet and Desktop Styles: greater than 640px
=============================================
*/
@media only screen and (min-width: 641px) {
}