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

Optimised style.css #1

Merged
merged 1 commit into from
Jun 18, 2014
Merged
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
27 changes: 13 additions & 14 deletions chrome_basic/pgid_chrome/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ body {
}

.function {
border: 1px #888888 solid;
background: #bbbbbb;
border: 1px #888 solid;
background: #bbb;
}

.card {
Expand All @@ -31,27 +31,23 @@ body {
}

/* Two column layout adopted from http://www.maxdesign.com.au/articles/css-layouts/two-liquid/ */
#container
{
#container {
margin: 0 auto;
width: 100%;
background: #fff;
}

#header
{
#header {
background: #ccc;
padding: 20px;
}

#content-container
{
#content-container {
float: left;
width: 100%;
}

#content
{
#content {
clear: left;
float: left;
width: 40%;
Expand All @@ -60,15 +56,18 @@ body {
display: inline;
}

#content h2 { margin: 0; }
#content h2 {
margin: 0;
}

#aside
{
#aside {
float: right;
width: 46%;
padding: 20px 0;
margin: 0 3% 0 0;
display: inline;
}

#aside h3 { margin: 0; }
#aside h3 {
margin: 0;
}