Skip to content
Permalink
Browse files

Add header image for home page

  • Loading branch information...
nlaz committed Feb 12, 2019
1 parent 3064df0 commit 5ff2d8c5ac7635fdf9da14348175c364f1e74b9b
@@ -31,14 +31,14 @@
.text-inherit { color: inherit; }

/* Classes for changing border colors */
.border-blue { border-color: #0366d6; }
.border-blue-light { border-color: #c8e1ff; }
.border-green { border-color: #34d058; }
.border-green-light { border-color: #a2cbac; }
.border-red { border-color: #d73a49; }
.border-red-light { border-color: #cea0a5; }
.border-purple { border-color: #6f42c1; }
.border-yellow { border-color: #d9d0a5; }
.border-gray-light { border-color: #eaecef; }
.border-gray-dark { border-color: #d1d5da; }
.border-blue { border-color: #0366d6 !important; }
.border-blue-light { border-color: #c8e1ff !important; }
.border-green { border-color: #34d058 !important; }
.border-green-light { border-color: #a2cbac !important; }
.border-red { border-color: #d73a49 !important; }
.border-red-light { border-color: #cea0a5 !important; }
.border-purple { border-color: #6f42c1 !important; }
.border-yellow { border-color: #d9d0a5 !important; }
.border-gray-light { border-color: #eaecef !important; }
.border-gray-dark { border-color: #d1d5da !important; }
.border-black-fade { border-color: rgba(27, 31, 35, 0.15); }
File renamed without changes.
Binary file not shown.
@@ -3,8 +3,8 @@
{% block header %}
<div class='bg-dark text-light py-5'>
<div class='container py-5 my-4'>
<h1 class='h1 text-white mb-1'>GitHub API Example</h1>
<h2 class='h6 text-secondary'>Simple example of fetching and managing GitHub data.</h2>
<h1 class='display-5 mb-1 text-white mb-1'>GitHub API Example</h1>
<h2 class='lead text-gray-light'>Example of fetching and managing GitHub data.</h2>
<a href="{{ url_for('public.user_guide', _anchor='github-oauth') }}" class='btn btn-primary mt-2'>Learn More</a>
</div>
</div>
@@ -1,10 +1,15 @@
{% extends 'layout.html' %}

{% block header %}
<div class='bg-blue-light text-gray-dark py-5'>
<div class='container py-5 my-5'>
<h1 class='h1 mb-1 text-blue-light'>Hackathon Flask Starter</h1>
<h2 class='h5 text-gray-light'>Presented by GitHub & MLH.</h2>
<div class='bg-blue-light border-bottom border-blue-light text-gray-dark' style='overflow:hidden;'>
<div class='container position-relative py-5'>
<div class='py-5 my-5'>
<h1 class='display-5 mb-1 text-blue-light'>Hackathon Flask Starter</h1>
<h2 class='lead text-gray-light'>Presented by GitHub & MLH.</h2>
<div class='position-absolute d-flex align-items-center' style='top:0;right:-100px;max-width:600px;'>
<img class='w-100' src="{{ url_for('static', filename='img/labtocat.png') }}" />
</div>
</div>
</div>
</div>
{% endblock %}
@@ -3,12 +3,12 @@
<head>
{% block head %}
<meta charset='utf-8'>
<title>{Project Name}</title>
<title>Project Name</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" >
<link rel="stylesheet" href="{{ url_for('static', filename='colors.css') }}" >
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" >
<link rel="stylesheet" href="{{ url_for('static', filename='css/colors.css') }}" >
<link rel="stylesheet" href="{{ url_for('static', filename='vendor/markdown.min.css') }}" >
{% endblock %}
</head>

0 comments on commit 5ff2d8c

Please sign in to comment.
You can’t perform that action at this time.