Skip to content

Commit

Permalink
More markup and style updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Boggs committed Sep 29, 2014
1 parent 38867d9 commit 4dd37e9
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 11 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</head>
<body>

<header role="banner">
<header role="banner" id="banner">
<a href="http://ach.org" id="ach-home">
<img src="/images/ach-logo.png" alt="">
<span class="audible"><abbr title="Association for Computers and the Humanities">ACH</abbr> home page</span></a>
Expand Down
72 changes: 63 additions & 9 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
body {
max-width:700px;
margin: 0 auto;
padding: 0 2em;
margin: 0;
padding:0;
color: #444;
font-family: "Noto Serif", Georgia, serif;
margin-right: auto;
background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #33ddff), color-stop(50%, #33ddff), color-stop(50%, transparent)) repeat-x, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #ff5533), color-stop(50%, #ff5533), color-stop(50%, transparent)) repeat-x, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #ffbb33), color-stop(50%, #ffbb33), color-stop(50%, transparent)) repeat-x, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #3c3c3c), color-stop(50%, #3c3c3c), color-stop(50%, transparent)) repeat-x, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #3377ff), color-stop(50%, #3377ff), color-stop(50%, transparent)) repeat-x, -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #3c3c3c), color-stop(100%, #3c3c3c)) repeat-x;
background: -webkit-linear-gradient(left, #33ddff 0%, #33ddff 50%, transparent 50%) repeat-x, -webkit-linear-gradient(left, #ff5533 0%, #ff5533 50%, transparent 50%) repeat-x, -webkit-linear-gradient(left, #ffbb33 0%, #ffbb33 50%, transparent 50%) repeat-x, -webkit-linear-gradient(left, #3c3c3c 0%, #3c3c3c 50%, transparent 50%) repeat-x, -webkit-linear-gradient(left, #3377ff 0%, #3377ff 50%, transparent 50%) repeat-x, -webkit-linear-gradient(left, #3c3c3c, #3c3c3c) repeat-x;
background: -moz-linear-gradient(left, #33ddff 0%, #33ddff 50%, transparent 50%) repeat-x, -moz-linear-gradient(left, #ff5533 0%, #ff5533 50%, transparent 50%) repeat-x, -moz-linear-gradient(left, #ffbb33 0%, #ffbb33 50%, transparent 50%) repeat-x, -moz-linear-gradient(left, #3c3c3c 0%, #3c3c3c 50%, transparent 50%) repeat-x, -moz-linear-gradient(left, #3377ff 0%, #3377ff 50%, transparent 50%) repeat-x, -moz-linear-gradient(left, #3c3c3c, #3c3c3c) repeat-x;
background: -o-linear-gradient(left, #33ddff 0%, #33ddff 50%, transparent 50%) repeat-x, -o-linear-gradient(left, #ff5533 0%, #ff5533 50%, transparent 50%) repeat-x, -o-linear-gradient(left, #ffbb33 0%, #ffbb33 50%, transparent 50%) repeat-x, -o-linear-gradient(left, #3c3c3c 0%, #3c3c3c 50%, transparent 50%) repeat-x, -o-linear-gradient(left, #3377ff 0%, #3377ff 50%, transparent 50%) repeat-x, -o-linear-gradient(left, #3c3c3c, #3c3c3c) repeat-x;
background: linear-gradient(left, #33ddff 0%, #33ddff 50%, transparent 50%) repeat-x, linear-gradient(left, #ff5533 0%, #ff5533 50%, transparent 50%) repeat-x, linear-gradient(left, #ffbb33 0%, #ffbb33 50%, transparent 50%) repeat-x, linear-gradient(left, #3c3c3c 0%, #3c3c3c 50%, transparent 50%) repeat-x, linear-gradient(left, #3377ff 0%, #3377ff 50%, transparent 50%) repeat-x, linear-gradient(left, #3c3c3c, #3c3c3c) repeat-x;
-webkit-background-size: 57% 5px, 41% 5px, 37% 5px, 29% 5px, 13% 5px, 7% 5px, contain;
-moz-background-size: 57% 5px, 41% 5px, 37% 5px, 29% 5px, 13% 5px, 7% 5px, contain;
-o-background-size: 57% 5px, 41% 5px, 37% 5px, 29% 5px, 13% 5px, 7% 5px, contain;
background-size: 57% 5px, 41% 5px, 37% 5px, 29% 5px, 13% 5px, 7% 5px, contain;
background-position: -10% 0, -10% 0, -15% 0, -15% 0, -20% 0, -20% 0, bottom left;
padding-top: 5px;
background-color: #fff;
}


h1, h2, h3, h4 {
margin-top: 60px;
}

[role=banner] h1 {
margin-top:20px;
}

h2 {
font-size: 125%;
}
Expand Down Expand Up @@ -43,6 +51,20 @@ th, td {
border-bottom: 1px solid #ccc;
}

a, a:link, a:visited {
color: #ff5533;
}

a:focus {
color: #ffbb33;
}
a:hover {
color: #ffbb33;
}
a:active {
color: #ff5533;
}

img {
max-width: 100%;
width: auto;
Expand All @@ -57,9 +79,41 @@ img {
margin: -1px; padding: 0; border: 0;
}

#banner {
-mox-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing:border-box;
text-align:center;
padding: 40px 0;
}

#ach-home {
display:block;
width: 400px;
margin: 20px auto;
width: 260px;
margin-left:auto;
margin-right:auto;
}

#main {
max-width: 700px;
margin-left:auto;
margin-right:auto;
clear:both;
padding-left: 20px;
padding-right: 20px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}

#banner h1 {
border: 1px solid #ccc;
border-width: 1px 0;
}

#banner h1 a {
text-decoration:none;
display:block;
padding: 40px 0;
}

2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ of the funding opportunities included are meant to be used solely on digital hum

This list is a work in progress, and you can contribute! If you have a correction or an addition to make, please send an email to <[email protected]> or add a ticket to [our issue tracker](http://github.com/achorg/dhfunding/issues).

Developed by Alex Gil and Dennis Tenen, with support from the ACH.
Developed by **Alex Gil** and **Dennis Tenen**, with support from the ACH.

# The NEH

Expand Down

0 comments on commit 4dd37e9

Please sign in to comment.