-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
89 lines (77 loc) · 2.21 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Test Page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.css">
<style type="text/css">
header {
text-align: center;
background: url("https://prealliance-blog-thumbnail.oneclass.com/blog_thumbnail/blog_article/blog_thumbnail/11139/UMD_aerial_fullres.png");
background-size: cover;
color: white;
}
a {
color: white;
text-decoration: none;
background-color: gray;
padding: 5px;
border-radius: 5px;
}
h1 {
font-size: 70px;
}
img {
margin: 40px 0 0 0;
border: 7px solid red;
border-radius: 20px;
background-color: brown;
}
ul {
padding: 10px;
background: black;
}
li {
display: inline;
padding: 0px 10px 0px 10px;
}
article {
max-width: 500px;
padding: 20px;
margin: 0 auto;
}
@media (max-width: 500px) {
h1 {
font-size: 36px;
}
li {
display: block;
padding: 7px 0 7px 0;
}
a {
padding: 5px 40% 5px 40%;
}
}
</style>
</head>
<body>
<header>
<img src="http://thestamp.umd.edu/portals/0/Images/Shops%20and%20Services/terapinLogo.png" width="150px">
<h1>UMD Courses</h1>
<ul>
<li>
<a href="http://google.com">Home</a>
</li>
<li>
<a href="http://facebook.com">About</a>
</li>
<li>
<a href="http://twitter.com">Other</a>
</li>
</ul>
</header>
<article>
<h2>Title</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</article>
</body>
</html>