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> <head>
<title>My humble github.io page</title> <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="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="/main.css">
</head> </head>
<bod> <bod>
<div id="content"> <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> <script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
</head> </head>
<bod> <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"> <div id="content">
<h3 style="margin: 3vh">Klikk oppgaver i menyen for å se hva jeg har laget med firebase i IT1!</h3> <h3 style="margin: 3vh">Klikk oppgaver i menyen for å se hva jeg har laget med firebase i IT1!</h3>
</div> </div>
<script type="text/javasctipt" src="/it1/main.js"></script>
</bod> </bod>
</html> </html>

View File

@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark"> <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"> <ul class="navbar-nav">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" onclick="oppgaver()">Oppgaver</a> <a class="nav-link" onclick="oppgaver()">Oppgaver</a>
@ -31,5 +31,6 @@
</li> </li>
</ul> --> </ul> -->
</nav> </nav>
<script type="text/javasctipt" src="/it1/navbar/navbar.js"></script>
</body> </body>
</html> </html>

View File

@ -10,3 +10,4 @@ function oppgaver() {
<h3><a href="/it1/bibliotek/index.html">Bibliotek</a></h3> <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;
}