added About section
This commit is contained in:
parent
16445bc919
commit
ba54d53bb7
69
css/main.css
69
css/main.css
@ -1,12 +1,16 @@
|
|||||||
* {
|
* {
|
||||||
--page-bg: rgb(22, 41, 216);
|
--page-bg: rgb(22, 41, 216);
|
||||||
--banner-dark-bg: rgb(32, 2, 145);
|
--panel-bg: rgb(32, 2, 145);
|
||||||
--banner-bg: rgb(255, 255, 255);
|
--banner-bg: #FFF;
|
||||||
--button-bg: rgb(234, 215, 73);
|
--button-bg: rgb(234, 215, 73);
|
||||||
--button-hover: rgb(219, 200, 58);
|
--button-hover: rgb(219, 200, 58);
|
||||||
|
--text: #FFF;
|
||||||
--button-text: #000;
|
--button-text: #000;
|
||||||
--button-text-hover: #FFF;
|
--button-text-hover: #FFF;
|
||||||
--link-hover: gray;
|
--link-hover: gray;
|
||||||
|
--nav-height: 126px;
|
||||||
|
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -21,6 +25,7 @@ html {
|
|||||||
body {
|
body {
|
||||||
font-family: Navigo Bold;
|
font-family: Navigo Bold;
|
||||||
background-color: var(--page-bg);
|
background-color: var(--page-bg);
|
||||||
|
color: var(--text);
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@ -28,6 +33,7 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
|
height: var(--nav-height);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -37,7 +43,7 @@ nav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nav a {
|
nav a {
|
||||||
color: var(--banner-bg);
|
color: var(--text);
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -85,11 +91,66 @@ nav a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fullpage {
|
.fullpage {
|
||||||
|
display: flex;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
#landing {;
|
.fullpage > .container, .fullpage > .panel {
|
||||||
|
padding-top: var(--nav-height) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel {
|
||||||
|
flex: 0 0 30%;
|
||||||
|
min-width: 400px;
|
||||||
|
height: 100%;
|
||||||
|
background-color: var(--panel-bg);
|
||||||
|
padding: 1.5rem;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel h1 {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 48px;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel img {
|
||||||
|
width: 80%;
|
||||||
|
margin: 1rem auto;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
flex: 1 0 0;
|
||||||
|
font-size: 24px;
|
||||||
|
padding: 4rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container ol {
|
||||||
|
list-style: none;
|
||||||
|
counter-reset: policy-counter;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container ol li, .container ol li::before {
|
||||||
|
background-color: var(--button-bg);
|
||||||
|
color: var(--button-text);
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container ol li {
|
||||||
|
display: inline;
|
||||||
|
padding: 0.25rem;
|
||||||
|
counter-increment: policy-counter;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container ol li::before {
|
||||||
|
content: counter(policy-counter) ". ";
|
||||||
|
}
|
||||||
|
|
||||||
|
#landing {
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#about {
|
#about {
|
||||||
|
18
index.html
18
index.html
@ -5,7 +5,7 @@
|
|||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w==" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" integrity="sha512-NhSC1YmyruXifcj/KFRWoC561YpHpc5Jtzgvbuzx5VozKpWvQ+4nXhPdFgmx8xqexRcpAglTj9sIBWINXa8x5w==" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" href="css/main.css">
|
<link rel="stylesheet" href="css/main.css">
|
||||||
<link rel="fav icon" href="assets/favicon.png">
|
<link rel="fav icon" href="assets/favicon.png">
|
||||||
<title>Miles Linden for City Council</title>
|
<title>Miles Linden for San Jose City Council</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="home"></div>
|
<div id="home"></div>
|
||||||
@ -26,7 +26,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="about" class="fullpage">
|
<div id="about" class="fullpage">
|
||||||
|
<div class="panel">
|
||||||
|
<h1>About Miles</h1>
|
||||||
|
<img src="assets/myles.png" height="200">
|
||||||
|
<p>About box description</p>
|
||||||
|
</div>
|
||||||
|
<div class="container">
|
||||||
|
<ol>
|
||||||
|
<li>Make San Jose Affordable</li>
|
||||||
|
<h3>Policy argument 1</h3>
|
||||||
|
<li>Police Reform</li>
|
||||||
|
<h3>Policy argument 2</h3>
|
||||||
|
<li>Downtown Development</li>
|
||||||
|
<h3>Policy argument 3</h3>
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="joinus" class="fullpage">
|
<div id="joinus" class="fullpage">
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user