Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Template to be responsive #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 30 additions & 6 deletions css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ body {
#package {
position: relative;
background: #fff;
width: 650px;
width: 90%;
text-align: left;
border: 5px solid #282828;
margin: 0 auto;
}

@media (min-width: 700px) {
#package {
width: 650px;
}
}

#content {
background: url("../images/border.gif") 0 0 no-repeat;
padding: 30px;
Expand Down Expand Up @@ -67,11 +73,17 @@ ul.archive li a {

#masthead {
position: relative;
width: 650px;
width: 90%;
text-shadow: #222 2px 2px 2px;
margin: 0 auto;
}

@media (min-width: 700px) {
#masthead {
width: 650px;
}
}

#masthead h1 a {
color: #d4daaf;
font: normal 0.5em/2em Helvetica, Sans-serif;
Expand Down Expand Up @@ -339,11 +351,17 @@ ul.list li.categories {
/******* Form *******/

#guideline {
float: right;
color: #333;
width: 235px;
font: 80%/1.5em Verdana, Sans-serif;
margin: 20px 0 0 15px;
margin: 20px 0 0 0;
}

@media (min-width: 700px) {
#guideline {
float: right;
width: 235px;
margin-left: 15px;
}
}

#guideline h4 {
Expand Down Expand Up @@ -461,13 +479,19 @@ form#publish-article fieldset button#submit {

ul#footer {
color: #8e8875;
width: 650px;
width: 90%;
font-size: 0.9em;
text-align: right;
text-shadow: #222 2px 2px 2px;
margin: 0 auto;
}

@media (min-width: 700px) {
ul#footer {
width: 650px;
}
}

ul#footer li {
display: inline;
margin-left: 1em;
Expand Down
1 change: 1 addition & 0 deletions utilities/master.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>
<xsl:call-template name="page-title"/>
</title>
Expand Down