-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject1.css
112 lines (94 loc) · 2.12 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
#wrapper {
width: 1024px;
margin-left:auto;
margin-right:auto;
box-shadow:5px 5px 5px #1e1e1e;
background-color:#212529;}
nav {
float:left;
width:250px;
padding:0;}
main {
margin-left:250px;
background-color:#DEE2E6;
padding-top:5px;
padding-left:5px;
align-content: center;}
ul {
list-style-type: none;
margin:0;
padding:0;}
nav a {
text-decoration:none;
display:block;
padding:20px;
background-color:#6C757C;
color:#DEE2E6;
font-weight:bold;
border-bottom: 1px solid #DEE2E6;
background-image: url(../Images/sprites.gif);
background-repeat:no-repeat;
background-position: right 0;}
nav a:link {
color:#f2f2f2;}
nav a:visited {
color:black;}
nav a:hover {
color: #0000ff;
background-color:#eaeaea;
background-position:right -100px;}
dt {
font-weight:bolder;}
dd {
font-style:italic;}
.years {
font-weight:bold;
font-style:italic;}
footer {
padding:5px;
color:#DEE2E6;
font-weight:lighter;}
table {
border:5px solid black;
width: 80%;
margin:auto;}
th {font-size:large;
text-align:left}
td {font-size:small;
text-align:left;}
ol {font-weight:bold;}
@media only screen and (max-width: 1024px) {
main {
margin-left: 0;}
nav {
float:none;
width:auto;
text-align:center;}
body {
margin:0;}
#wrapper {
width:auto;}
h1,h2 {
font-size: 150%;}
p {
font-size:90%;}
img {
width:300px;
margin-left:auto;
margin-right:auto;
display:block;}
}
@media only screen and (max-width: 768px) {
main {
margin-right: 0;}
aside {
float:none;
width:auto;
text-align:center;}
h1,h2 {
font-size: 120%;}
p {
font-size:80%;}
img {
width:200px;}
}