This commit is contained in:
sava 2020-03-19 19:28:40 +01:00
parent 3867627799
commit 744bfdf2f3
5 changed files with 11 additions and 3 deletions

View File

@ -3,6 +3,7 @@
<head>
<title>My humble github.io page</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="/main.css">
</head>
<bod>
<div id="content">

View File

@ -12,10 +12,9 @@
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
</head>
<bod>
<iframe id="navbar" width="100%" height="60px" src="/it1/navbar.html" style="border: 0px"></iframe>
<iframe id="navbar" width="100%" height="60px" src="/it1/navbar/navbar.html" style="border: 0px"></iframe>
<div id="content">
<h3 style="margin: 3vh">Klikk oppgaver i menyen for å se hva jeg har laget med firebase i IT1!</h3>
</div>
<script type="text/javasctipt" src="/it1/main.js"></script>
</bod>
</html>

View File

@ -7,7 +7,7 @@
</head>
<body>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark">
<a class="navbar-brand" onclick="reset()">IT firebase stuff</a> <!-- href="/it1/index.html" -->
<a class="navbar-brand" onclick="reset()">IT1 firebase stuff</a> <!-- href="/it1/index.html" -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" onclick="oppgaver()">Oppgaver</a>
@ -31,5 +31,6 @@
</li>
</ul> -->
</nav>
<script type="text/javasctipt" src="/it1/navbar/navbar.js"></script>
</body>
</html>

View File

@ -10,3 +10,4 @@ function oppgaver() {
<h3><a href="/it1/bibliotek/index.html">Bibliotek</a></h3>
`)
}

6
main.css Normal file
View File

@ -0,0 +1,6 @@
div#content > * {
padding: 2vh;
margin: 4vh;
}