forked from orderedlist/gifs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jglovier#14 from jglovier/design-love
1.0 page design; addresses jglovier#1
- Loading branch information
Showing
5 changed files
with
531 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>{% if page.title %}{{ page.title }}{% else %}gifs.joelglovier.com{% endif %}</title> | ||
<link rel="stylesheet" href="/css/main.css"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
<header class="page-header"> | ||
<img src="/aha/aha.gif" alt="" class="banner-img"> | ||
{{ content }} | ||
</header> | ||
|
||
<div class="gif-listing"> | ||
{% include site-index.html %} | ||
</div> | ||
|
||
</body> | ||
|
||
{% include closing-tags.html %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* @group main styles -------------------- */ | ||
|
||
@import url( "normalize.css" ); | ||
|
||
body{ | ||
font-family: "Myriad Pro", "Lucida Grande", Arial, sans-serif; | ||
font-size:16px; | ||
line-height:1.5; | ||
background-color: #f8f8f8; | ||
} | ||
|
||
.page-header { | ||
width: 300px; height: 100%; | ||
background-color: #15171b; | ||
position: fixed; | ||
left: 0; top: 0; bottom: 0; | ||
color: white; | ||
text-align: center; } | ||
|
||
.page-header .banner-img { width: 100%; } | ||
|
||
.page-header a { | ||
color: #bdf5da; | ||
font-weight: bold; } | ||
|
||
.gif-listing { | ||
margin-left: 300px; | ||
padding: 20px; | ||
overflow: hidden; } | ||
|
||
/*Style the list of categories*/ | ||
.gif-listing > ul { | ||
margin: 0; padding: 0; | ||
list-style: none; | ||
/*experimental column support*/ | ||
-moz-column-gap: 20px; | ||
-moz-column-fill: auto; | ||
-webkit-column-count: 3; | ||
-webkit-column-gap: 20px; | ||
-webkit-column-fill: auto; | ||
column-count: 3; | ||
column-gap: 20px; | ||
column-fill: auto; } | ||
|
||
/*Style individual category cards*/ | ||
.gif-listing > ul > li { | ||
background-color: rgba(189,245,218,.2); | ||
background-color: white; | ||
border-radius: 10px; | ||
padding: 10px 20px; | ||
margin: 0 0 20px 0; | ||
text-transform: capitalize; | ||
font-size: 24px; | ||
/* experimental column support */ | ||
-moz-column-break-inside: avoid; | ||
-webkit-column-break-inside: avoid; | ||
column-break-inside: avoid; } | ||
|
||
/*Style the sub-list of gifs*/ | ||
.gif-listing > ul > li > ul { | ||
margin: 4px 0 0; | ||
padding: 8px 0 0; | ||
list-style: none; | ||
border-top: 1px solid #dae3e3; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
/*Style individual gif listing items*/ | ||
.gif-listing > ul > li > ul > li { | ||
text-overflow: ellipsis; | ||
width: 100%; | ||
overflow: hidden; | ||
font-size: 16px; | ||
text-transform: none; } | ||
|
||
/*Style individual gif links*/ | ||
.gif-listing > ul > li > ul > li a { | ||
color: #5d9379; | ||
text-decoration: none; } | ||
|
||
.gif-listing > ul > li > ul > li a:hover { | ||
color: #2a2f37; | ||
text-decoration: underline; } | ||
|
||
/* @end main styles */ |
Oops, something went wrong.