Skip to content

Commit

Permalink
make the site prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Mar 12, 2013
1 parent 0726053 commit dd4e4cd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
2 changes: 0 additions & 2 deletions site/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@

## About

**scssphp** is a compiler for [SCSS][0] written in PHP.

SCSS is a CSS preprocessor that adds many features like variables, mixins,
Expand Down
30 changes: 18 additions & 12 deletions site/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ $btn_color: desaturate(#FF3D7F, 10%);

body {
background: $pink;
font-family: Lato, sans-serif;
}

.header, .footer, .body {
Expand All @@ -54,8 +55,8 @@ body {
h1 {
font-family: 'Quicksand', sans-serif;
font-size: 40px;
line-height: 100px;
font-weight: normal;
padding: 20px 0;
margin: 0;

a {
Expand All @@ -71,7 +72,7 @@ body {

.nav {
padding: 8px 0;
font-size: 14px;
font-size: 17px;
text-shadow: none;
background: darken($teal, 30%);
color: $teal;
Expand All @@ -80,7 +81,6 @@ body {
a {
color: lighten($teal, 40%);
text-decoration: none;
font-weight: bold;

&:hover {
text-decoration: underline;
Expand All @@ -95,7 +95,7 @@ body {

.download-area {
float: right;
margin-top: 22px;
margin-top: 25px;
background: rgba(255,255,255, 0.3);
border-radius: 8px;
padding: 5px;
Expand Down Expand Up @@ -160,15 +160,19 @@ body {
background: $bg_color;
overflow: hidden;
color: $text_color;
font-size: 16px;
font-size: 18px;
padding-bottom: 20px;

.inner {
width: $site_width - 20px;
}

h2, h3 {
margin: 20px 0;
background: white;
margin-top: 20px;
padding: 30px 50px;
border: 1px solid lightGrey;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.19);

h1, h2, h3 {
margin: 0 0 20px 0;
}
}

h1, h2, h3 {
Expand All @@ -177,7 +181,7 @@ body {
}

h3 {
color: #535237;
color: #4D4C3D;
}

p {
Expand All @@ -197,7 +201,7 @@ body {
}

.footer {
font-size: 14px;
font-size: 16px;
color: lighten($pink, 20%);
text-shadow: 0px 1px 0px darken($pink, 20%);

Expand Down Expand Up @@ -238,6 +242,8 @@ p {

.index {
line-height: 150%;
margin-bottom: 20px;

ul {
margin: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion site/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>$if{"title"}[[$title - ]]scssphp</title>
<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lato:400,900|Quicksand' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="$root/style/normalize.css" />
<link rel="stylesheet" href="$root/style/style.css?$generate_date" />
$analytics{"UA-136625-1"}
Expand Down

0 comments on commit dd4e4cd

Please sign in to comment.