-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (127 loc) · 2.95 KB
/
index.html
File metadata and controls
144 lines (127 loc) · 2.95 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Computer Science association uc3m</title><link rel="icon" href="img/icons/mini-logov2.png" type="image/png">
<style>
body, h1, p {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
color: #333;
text-align: center;
}
header {
background-color: #0074b7;
color: #fff;
padding: 20px;
align-items: center;
height: 140px;
box-sizing: border-box;
}
@media (max-width: 830px) {
header img {
display: none
}
}
@media (min-width: 830px) {
header img {
left: 20px;
position: absolute;
}
}
@media (min-width: 645px) {
header div {
margin-left: auto;
margin-top: 20px;
}
}
@media (max-width: 645px) {
header {
box-sizing: content-box;
height: 70px;
padding-bottom: 10px;
}
header div {
font-size: 10px;
}
}
header div {
margin-left: auto;
margin-top: 20px;
}
header h1 {
font-size: 2em;
}
nav {
background-color: #333;
}
nav ul {
list-style: none;
padding: 20px;
vertical-align: middle;
margin: 0;
}
@media (min-width: 350px) {
nav li {
display: inline-block;
margin: 10px;
}
}
@media (max-width: 350px) {
nav li {
display: block;
margin: 10px;
}
}
nav a {
text-decoration: none;
color: #fff;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
footer {
background-color: #333;
color: #fff;
padding: 10px;
position: absolute;
bottom: 0;
width: 100%;
box-sizing: border-box;
}
</style>
</head>
<body>
<header>
<img src="img/icons/chicken-100.png">
<div>
<h1>Computer Science association uc3m</h1>
<p>Welcome to our association's website</p>
<div>
</header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Events</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<div class="container">
<h2>About Us</h2>
<p>We are the Computer Science Association of Universidad Carlos III de Madrid.</p>
<h2>Upcoming Events</h2>
<p>Check out our upcoming events and join us in the celebration of our association.</p>
</div>
<footer>
© 2023 Computer Science association uc3m
</footer>
</body>
</html>