summaryrefslogtreecommitdiff
path: root/_sass/tiny/_utility.scss
diff options
context:
space:
mode:
Diffstat (limited to '_sass/tiny/_utility.scss')
-rw-r--r--_sass/tiny/_utility.scss39
1 files changed, 39 insertions, 0 deletions
diff --git a/_sass/tiny/_utility.scss b/_sass/tiny/_utility.scss
new file mode 100644
index 0000000..1213070
--- /dev/null
+++ b/_sass/tiny/_utility.scss
@@ -0,0 +1,39 @@
+// Layout
+.centered {
+ display: block;
+ float: none;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+// Text alignment
+.text-right { text-align: right; }
+.text-left { text-align: left; }
+.text-center { text-align: center; }
+
+.sans {
+ font-family: $sans;
+}
+
+.muted {
+ color: $muted-color;
+ a {
+ color: $muted-color;
+ &:active,
+ &:hover {
+ color: $alternate-color;
+ }
+ }
+}
+
+.fancy-table {
+ font-family: $sans;
+ font-size: 80%;
+ td {
+ padding: 7px;
+ }
+
+ tbody tr:nth-child(even) {
+ background-color: #eee;
+ }
+}