WIP fixing news layout

This commit is contained in:
Justin Ethier 2018-05-01 14:05:10 -04:00
parent 9e5822093a
commit 10faba5e2e
3 changed files with 88 additions and 5 deletions

82
_layouts/news.html Normal file
View file

@ -0,0 +1,82 @@
<!DOCTYPE html>
{% include base.html %}
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Cyclone : Cyclone Scheme - Cheney on the M.T.A. with native threads.">
<link rel="shortcut icon" href="{{ base }}favicon.ico" />
<link rel="stylesheet" type="text/css" media="screen" href="{{ base }}stylesheets/stylesheet.css">
<link rel="stylesheet" type="text/css" media="screen" href="{{ base }}stylesheets/style-news.css">
<title>Cyclone Scheme</title>
</head>
<body>
<!-- HEADER -->
<div id="header_menu_wrap" class="outer">
<header class="inner-top">
<p class="banner">
<!-- <a class="banner" href="{{ base }}index">Cyclone</a> -->
<a class="banner
{% if page.title == "Cyclone Scheme" %}banner-highlight{% endif %}"
href="{{ base }}">Get Cyclone</a> -
<a class="banner
{% if page.title == "User Manual" %}banner-highlight{% endif %}"
href="{{ base }}docs/User-Manual">Manual</a> -
<a class="banner
{% if page.title == "API" %}banner-highlight{% endif %}"
href="{{ base }}docs/API">API</a> -
<a class="banner
{% if page.title == "Scheme R7RS Compliance" %}banner-highlight{% endif %}"
href="{{ base }}docs/Scheme-Language-Compliance">R<sup>7</sup>RS Compliance</a> -
<a class="banner
{% if page.title == "News" %}banner-highlight{% endif %}"
href="{{ base }}news">News</a>
</p>
</header>
</div>
<div id="header_wrap" class="outer">
<header class="inner">
<h1 id="project_title">
<a href="{{ base }}index">
<img src="{{ base }}docs/images/cyclone-logo-04-header.png"
alt="Cyclone">
</a>
</h1>
<h2 id="project_tagline">Cheney on the M.T.A. with native threads.</h2>
<!--
<section id="downloads">
<a class="zip_download_link" href="https://github.com/justinethier/cyclone/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/justinethier/cyclone/tarball/master">Download this project as a tar.gz file</a>
</section>
-->
<section id="downloads">
<a class="banner-forkme" href="https://github.com/justinethier/cyclone">View on GitHub</a>
</section>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
{{ content }}
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Cyclone is maintained by <a href="https://github.com/justinethier">justinethier</a></p>
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>

View file

@ -0,0 +1,6 @@
#main_content a {
font-size: 36px;
font-weight: 700;
}

View file

@ -294,11 +294,6 @@ Full-Width Styles
margin: 0 auto; margin: 0 auto;
} }
#main_content a {
font-size: 36px;
font-weight: 700;
}
#forkme_banner { #forkme_banner {
display: block; display: block;
position: absolute; position: absolute;