Updated to be responsive.

This commit is contained in:
Jonathan Bernard
2017-02-13 23:43:02 -06:00
parent 75286cbc10
commit 4f93b3132a
8 changed files with 313 additions and 63 deletions

View File

@ -2,66 +2,12 @@
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width, user-scalable=no">
<title><%title%> - New Life Introductory Band</title>
<link href="http://fonts.googleapis.com/css?family=Roboto+Condensed|Cantarell" rel="stylesheet" type="text/css">
<link href="/css/new-life-intro-band.css" rel="stylesheet" type="text/css">
<style type=text/css>
body {
font-family: Cantarell, sans;
margin: 2vw auto;
width: 40em;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Roboto Condensed', sans; }
footer {
color: #999;
text-align: center;
margin-top: 2rem;
}
a { color: black; }
a:hover { color: orange; }
#nav {
position: fixed;
left: calc(50% - 36em);
top: 2vw;
margin: 0;
padding: 0;
}
#nav h1 {
margin: 0;
padding: 0;
font-size: x-large;
}
#content h1 { font-size: xx-large; }
#content h2 { font-size: x-large; }
#content h3 { font-size: large; }
#content h4 { font-size: medium; }
#content h5 {
font-size: medium;
font-weight: normal;
text-decoration: underline;
}
#content h6 {
font-size: medium;
font-weight: normal;
font-variant: small-caps;
}
#content h1.title {
font-size: xx-large;
text-align: center;
width: 100%;
}
</style>
</head>
<body>
<div id=nav>