Skip to content

Commit a0b31a1

Browse files
committed
Responsive starter
1 parent ecee08a commit a0b31a1

File tree

2 files changed

+31
-19
lines changed

2 files changed

+31
-19
lines changed

index.html

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,33 @@
1010
<title>Software Team - FRC Team 3512</title>
1111
<link rel="stylesheet" type="text/css" href="main.css" />
1212
<link rel="shortcut icon" type="image/ico" href="favicon.png" />
13+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
1314
</head>
1415
<body>
15-
<div id="Sidenav" class="sidenav">
16-
<a href="/index.html">Home</a>
17-
<a href="bootstrap/index.html">Bootstraps</a>
18-
<a href="ci/index.html">Curriculum</a>
19-
<a href="vpn/index.html">VPN Setup</a>
20-
<a href="fll/index.html">FLL</a>
21-
<a href="admin/index.html">Admin</a>
22-
<a href="archives/index.html">Archives</a>
23-
<div class="Media_Wrapper">
24-
<a href="https://github.com/frc3512">
25-
<img
26-
src="/Assets/github.png"
27-
alt="Our Github">
28-
</a>
29-
<a href="https://www.youtube.com/channel/UCecHOosspPz6o9_ZXzDxxVw">
30-
<img
16+
<div class="sidenav">
17+
<a href="/index.html">Home</a>
18+
<a href="bootstrap/index.html">Bootstraps</a>
19+
<a href="ci/index.html">Curriculum</a>
20+
<a href="vpn/index.html">VPN Setup</a>
21+
<a href="fll/index.html">FLL</a>
22+
<a href="admin/index.html">Admin</a>
23+
<a href="archives/index.html">Archives</a>
24+
<div class="Media_Wrapper">
25+
<a href="https://github.com/frc3512">
26+
<img
27+
src="/Assets/github.png"
28+
alt="Our Github">
29+
</a>
30+
<a href="https://www.youtube.com/channel/UCecHOosspPz6o9_ZXzDxxVw">
31+
<img
3132
src="/Assets/youtube.png"
3233
alt="Youtube">
33-
</a>
34-
</div>
35-
</div>
34+
</a>
35+
</div>
36+
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
37+
<i class="fa fa-bars"></i>
38+
</a>
39+
</div>
3640
<div class="Content">
3741
<div class="top">
3842
</div>

main.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
src: url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
44
}
55

6+
@media (max-width: 500px) {
7+
.sidenav{
8+
display: none;
9+
}
10+
11+
12+
}
13+
614
.sidenav {
715
height: 100%;
816
width: 10rem;

0 commit comments

Comments
 (0)