fix navbar and make cover image take up above the fold
This commit is contained in:
parent
8eac36b386
commit
70d9dc8dc8
BIN
img/devOsan_noLogo.png
Normal file
BIN
img/devOsan_noLogo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 625 KiB |
BIN
img/devosan.png
BIN
img/devosan.png
Binary file not shown.
Before Width: | Height: | Size: 619 KiB |
BIN
img/header.png
BIN
img/header.png
Binary file not shown.
Before Width: | Height: | Size: 625 KiB After Width: | Height: | Size: 619 KiB |
110
index.html
110
index.html
@ -1,66 +1,71 @@
|
|||||||
<!doctype html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- Required meta tags -->
|
<!-- Required meta tags -->
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta
|
||||||
|
name="viewport"
|
||||||
|
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- Bootstrap CSS -->
|
<!-- Bootstrap CSS -->
|
||||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
||||||
|
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
/>
|
||||||
|
|
||||||
<link rel="stylesheet" href="styles.css">
|
<link rel="stylesheet" href="styles.css" />
|
||||||
|
|
||||||
<title>{dev}Osan</title>
|
<title>{dev}Osan</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
||||||
<!-- Header information, above the fold -->
|
<!-- Header information, above the fold -->
|
||||||
<div class="container-fluid">
|
<div class="above-the-fold">
|
||||||
<div class="row" style="padding-top:64px;">
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||||
<div class="col col-12 col-sm-6">
|
<a class="navbar-brand" href="#"
|
||||||
<img src="img/header.png" class="img-fluid" alt="Responsive image">
|
><span style="color: #696035">{</span>dev<span style="color: #696035"
|
||||||
</div>
|
>}</span
|
||||||
<div class="col col-6">
|
>Osan</a
|
||||||
<nav class="navbar fixed-top navbar-expand-sm navbar-light" style="text-align:right;>
|
>
|
||||||
<a class="navbar-toggler">
|
<button
|
||||||
<button class = "navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
class="navbar-toggler"
|
||||||
|
type="button"
|
||||||
|
data-toggle="collapse"
|
||||||
|
data-target="#navbarNav"
|
||||||
|
aria-controls="navbarNav"
|
||||||
|
aria-expanded="false"
|
||||||
|
aria-label="Toggle navigation"
|
||||||
|
>
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
<div class="collapse navbar-collapse" id="navbarNavDropdown">
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#MEET">Meeting Info</a>
|
<a class="nav-link" href="#">Club Info</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#EVENT">Events</a>
|
<a class="nav-link" href="#">Events</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#PROJECT">Projects</a>
|
<a class="nav-link" href="#">Projects</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#LEARN">Learning Resources</a>
|
<a class="nav-link" href="#">Learning Resources</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#FAQ">FAQ</a>
|
<a class="nav-link" href="#">FAQs</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="#CONTACT">Contact Us</a>
|
<a class="nav-link" href="#">Contact</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</nav>
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="container-fluid"></div>
|
||||||
<div class="col col-6"></div>
|
|
||||||
<div class="col col-12 col-sm-6">
|
|
||||||
<div class="rightalign">
|
|
||||||
<h1 class="osanlogo">{dev}Osan</h1>
|
|
||||||
<p>Software Development Club</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- below the fold. Vision statement, Meeting info -->
|
<!-- below the fold. Vision statement, Meeting info -->
|
||||||
@ -68,11 +73,14 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-2"></div>
|
<div class="col col-2"></div>
|
||||||
<div class="col col-8">
|
<div class="col col-8">
|
||||||
<hr>
|
<hr />
|
||||||
<div class="visionstatement">
|
<div class="visionstatement">
|
||||||
<h3>Bringing Developers, Graphic Designers, and Engineering together at Osan! Beginners and Experts alike!</h3>
|
<h3>
|
||||||
|
Bringing Developers, Graphic Designers, and Engineering together
|
||||||
|
at Osan! Beginners and Experts alike!
|
||||||
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr />
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-2"></div>
|
<div class="col col-2"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -156,20 +164,30 @@
|
|||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-12" id="CONTACT">
|
<div class="col col-12" id="CONTACT">
|
||||||
<hr>
|
<hr />
|
||||||
<center><h3>Contact Us</h3></center>
|
<center>
|
||||||
|
<h3>Contact Us</h3>
|
||||||
|
</center>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Optional JavaScript -->
|
<!-- Optional JavaScript -->
|
||||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||||
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
|
<script
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
|
||||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
></script>
|
||||||
|
<script
|
||||||
|
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
|
||||||
|
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
></script>
|
||||||
|
<script
|
||||||
|
src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
|
||||||
|
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
|
||||||
|
crossorigin="anonymous"
|
||||||
|
></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
13
styles.css
13
styles.css
@ -1,16 +1,15 @@
|
|||||||
* {
|
.above-the-fold {
|
||||||
background-color: #BDB;
|
height: 100vh;
|
||||||
color: #202222;
|
background-image: url("img/devOsan_noLogo.png");
|
||||||
|
background-size: cover;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rightalign {
|
.rightalign {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.osanlogo{
|
|
||||||
font-size:64px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.visionstatement {
|
.visionstatement {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user