summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-06-27 19:26:06 +0200
committerVictor Häggqvist <[email protected]>2014-06-27 19:26:06 +0200
commitd34a5bb73256ca9b14d6fe3f37546e06cd9eebd1 (patch)
treed20d790e36a57f32cfaa0e3a773b18020fd5d336
parent4c149b224fb37d2011e05758ebcc67e491270310 (diff)
some visual fixes
-rw-r--r--sass/demo.scss107
1 files changed, 64 insertions, 43 deletions
diff --git a/sass/demo.scss b/sass/demo.scss
index eac6cae..e2e345a 100644
--- a/sass/demo.scss
+++ b/sass/demo.scss
@@ -8,43 +8,6 @@ body {
text-align: center;
width: 700px;
- h1 {
- font-size: 37px;
- line-height: .882em;
- text-transform: uppercase;
-
- span {
- color: #aaa;
- display: block;
- font-size: .588em;
- line-height: 1em;
- }
-
- &:hover {
- color: #666;
-
- span {
- color: #666;
- }
- }
- }
-
- h2 {
- border-top: 1px solid #ddd;
- margin-bottom: .625em;
- margin-top: 1.875em;
- padding-top: 1.875em;
-
- span {
- color: #666;
- }
- }
-
- li {
- display: inline-block;
- margin: .625em;
- }
-
img {
border: .625em solid rgba(255, 255, 255, .5);
// border-color: #eee;
@@ -69,20 +32,62 @@ body {
box-shadow: 0 0 .938em rgba(0, 0, 0, .25);
}
}
+}
- footer {
- border-top: 1px solid #ddd;
+h1 {
+ font-size: 37px;
+ line-height: .882em;
+ text-transform: uppercase;
+
+ span {
color: #aaa;
- font-size: .875em;
- margin-top: 2.143em;
- padding-top: 2.143em;
+ display: block;
+ font-size: .588em;
+ line-height: 1em;
+ }
+
+ &:hover {
+ color: #666;
- a {
+ span {
color: #666;
}
}
}
+h2 {
+ border-top: 1px solid #ddd;
+ margin-bottom: 15px;
+ margin-top: 45px;
+ padding-top: 45px;
+
+ span {
+ color: #666;
+ }
+}
+
+li {
+ display: inline-block;
+ margin: .625em;
+}
+
+footer {
+ border-top: 1px solid #ddd;
+ color: #aaa;
+ font-size: .875em;
+ margin-top: 2.143em;
+ padding-top: 2.143em;
+
+ a {
+ color: #666;
+ }
+}
+
+
+#fork-button {
+ display: none;
+}
+
@media only screen and (max-width: 660px) {
#container {
width: 90%;
@@ -93,6 +98,22 @@ body {
display: table;
}
}
+
+ #fork-ribbon {
+ display: none;
+ }
+
+ #fork-button {
+ display: inline-block;
+ }
+
+ h1 {
+ margin-bottom: 5px;
+ }
+
+ h2:first-of-type {
+ margin-top: 30px;
+ }
}
ul {