Permalink
Browse files

Updated default nsfw styling

  • Loading branch information...
1 parent b25cb16 commit 62d587a7b7ff89b2d9537e14ce25777be06a84d0 @zk committed Mar 11, 2013
Showing with 42 additions and 0 deletions.
  1. +42 −0 src/scss/nsfw.scss
View
@@ -21,6 +21,15 @@
}
}
+@mixin transition($t) {
+ -webkit-transition: $t;
+ -moz-transition: $t;
+ -ms-transition: $t;
+ -o-transition: $t;
+ transition: $t;
+}
+
+
// Meyer Reset
@@ -135,6 +144,9 @@ table {
.span12 { width: 100%; }
}
+// clearfix from http://nicolasgallagher.com/micro-clearfix-hack/
+
+
// NSFW
body {
@@ -211,7 +223,37 @@ img {
max-width: 100%;
}
+ul, ol { @include child-padding(0.5em) }
+
.row {
@include child-padding(1em);
}
+.content,
+.ct {
+ @include child-padding(0.5em);
+}
+
+.right {
+ float: right;
+}
+
+.left {
+ float: left;
+}
+
+input[type="text"],
+textarea {
+ font-size: 1em;
+ padding: 0.25em;
+ width: 100%;
+ border: solid #ccc 1px;
+
+ @include transition(outline 150ms ease);
+}
+
+.clear {
+ clear: both;
+ margin: 0 !important;
+ padding: 0;
+}

0 comments on commit 62d587a

Please sign in to comment.