Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_sass/_site.scss')
-rw-r--r--_sass/_site.scss40
1 files changed, 32 insertions, 8 deletions
diff --git a/_sass/_site.scss b/_sass/_site.scss
index 68c2dd3..a2f9069 100644
--- a/_sass/_site.scss
+++ b/_sass/_site.scss
@@ -1,56 +1,80 @@
-// Selection
-// --------------------------------------------------
+/* ==========================================================================
+ Site utilities
+ ========================================================================== */
+
+/*
+ Selection
+ ========================================================================== */
+
::-moz-selection {
background-color: lighten($base-color, 65%);
color: $base-color;
text-shadow: none;
-}
+}
+
::selection {
background-color: lighten($base-color, 65%);
color: $base-color;
text-shadow: none;
}
-// Global Classes
-// --------------------------------------------------
+/*
+ Global classes
+ ========================================================================== */
+
+/* wrapper */
.wrap {
margin: 0 auto;
}
+
+/* capitalize */
.all-caps {
text-transform: uppercase;
}
+
+/* float image to the left */
.image-left {
float: none;
@media #{$medium} {
float: left;
}
}
+
+/* float image to the right */
.image-right {
float: none;
@media #{$medium} {
float: right;
}
}
+
+/* remove styling from a list element */
.unstyled-list {
list-style: none;
margin-left: 0;
padding-left: 0;
+
li {
list-style-type: none;
}
}
+
+/* inline a list */
.inline-list {
list-style: none;
margin-left: 0;
padding-left: 0;
+
li {
list-style-type: none;
display: inline;
}
}
-// Global Transition
-// ---------------------------------------------------
+/*
+ Global transition
+ ========================================================================== */
+
b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
- @include transition(all .2s ease);
+ transition: all 0.2s ease;
} \ No newline at end of file