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 'static/css/sass/_site.scss')
-rw-r--r--static/css/sass/_site.scss80
1 files changed, 80 insertions, 0 deletions
diff --git a/static/css/sass/_site.scss b/static/css/sass/_site.scss
new file mode 100644
index 0000000..a2f9069
--- /dev/null
+++ b/static/css/sass/_site.scss
@@ -0,0 +1,80 @@
+/* ==========================================================================
+ 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
+ ========================================================================== */
+
+/* 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
+ ========================================================================== */
+
+b, i, strong, em, blockquote, p, q, span, figure, img, h1, h2, header, input, a {
+ transition: all 0.2s ease;
+} \ No newline at end of file