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

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRobert Austin <rob@jugglerdigital.com>2020-08-23 05:56:07 +0300
committerRobert Austin <rob@jugglerdigital.com>2020-08-23 05:56:07 +0300
commit737a9db6495b7a213018f4fb89a438a057ad3878 (patch)
tree565665922d05531082a5e475e44fd81e1df145b8 /assets
parent85cf87ef7340350e339d4a0da54c1acc0a73702f (diff)
add social media and changelog
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/components/_footer.scss12
-rw-r--r--assets/scss/components/_reset.scss129
-rw-r--r--assets/scss/components/_social.scss14
-rw-r--r--assets/scss/components/_sub-footer.scss67
-rw-r--r--assets/scss/components/_sub-menu.scss39
-rw-r--r--assets/scss/components/_whitebox.scss10
-rwxr-xr-xassets/scss/style.scss2
7 files changed, 30 insertions, 243 deletions
diff --git a/assets/scss/components/_footer.scss b/assets/scss/components/_footer.scss
index 436b760..1970d9c 100644
--- a/assets/scss/components/_footer.scss
+++ b/assets/scss/components/_footer.scss
@@ -1,7 +1,7 @@
.footer {
background: $footer-background-color;
- padding-top: 20px;
- padding-bottom: 20px;
+ padding-top: 15px;
+ padding-bottom: 15px;
.footer-inner {
display: flex;
justify-content: space-between;
@@ -39,14 +39,6 @@
text-decoration: underline;
}
}
- &.copyright {
- font-weight: bold;
- color: lighten($black, 50%);
- display: none;
- @include media-breakpoint-up(md) {
- display: inline-block;
- }
- }
}
@include media-breakpoint-up(sm) {
height: inherit;
diff --git a/assets/scss/components/_reset.scss b/assets/scss/components/_reset.scss
deleted file mode 100644
index a3f7681..0000000
--- a/assets/scss/components/_reset.scss
+++ /dev/null
@@ -1,129 +0,0 @@
-/* http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
-*/
-
-html,
-body,
-div,
-span,
-applet,
-object,
-iframe,
-h1,
-h2,
-h3,
-h4,
-h5,
-h6,
-p,
-blockquote,
-pre,
-a,
-abbr,
-acronym,
-address,
-big,
-cite,
-code,
-del,
-dfn,
-em,
-img,
-ins,
-kbd,
-q,
-s,
-samp,
-small,
-strike,
-strong,
-sub,
-sup,
-tt,
-var,
-b,
-u,
-i,
-center,
-dl,
-dt,
-dd,
-ol,
-ul,
-li,
-fieldset,
-form,
-label,
-legend,
-table,
-caption,
-tbody,
-tfoot,
-thead,
-tr,
-th,
-td,
-article,
-aside,
-canvas,
-details,
-embed,
-figure,
-figcaption,
-footer,
-header,
-hgroup,
-menu,
-nav,
-output,
-ruby,
-section,
-summary,
-time,
-mark,
-audio,
-video {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: 100%;
- font: inherit;
- vertical-align: baseline;
-}
-/* HTML5 display-role reset for older browsers */
-article,
-aside,
-details,
-figcaption,
-figure,
-footer,
-header,
-hgroup,
-menu,
-nav,
-section {
- display: block;
-}
-body {
- line-height: 1;
-}
-ol,
-ul {
- list-style: none;
-}
-blockquote,
-q {
- quotes: none;
-}
-blockquote:before,
-blockquote:after,
-q:before,
-q:after {
- content: '';
- content: none;
-}
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
diff --git a/assets/scss/components/_social.scss b/assets/scss/components/_social.scss
new file mode 100644
index 0000000..46467f7
--- /dev/null
+++ b/assets/scss/components/_social.scss
@@ -0,0 +1,14 @@
+.social {
+ display: block;
+ img {
+ width: 20px;
+ height: 20px;
+ }
+ a {
+ padding: 10px;
+ display: inline-block;
+ &:hover {
+ opacity: 0.8;
+ }
+ }
+} \ No newline at end of file
diff --git a/assets/scss/components/_sub-footer.scss b/assets/scss/components/_sub-footer.scss
index eb24eae..ae62dd5 100644
--- a/assets/scss/components/_sub-footer.scss
+++ b/assets/scss/components/_sub-footer.scss
@@ -1,7 +1,8 @@
.sub-footer {
background: $sub-footer-background-color;
- padding-top: 20px;
- padding-bottom: 20px;
+ color: $sub-footer-text-color;
+ padding-top: 15px;
+ padding-bottom: 15px;
@include media-breakpoint-up(md) {
padding-top: 10px;
padding-bottom: 10px;
@@ -10,63 +11,21 @@
display: flex;
flex-direction: column;
justify-content: space-between;
- font-size: 1rem;
@include media-breakpoint-up(md) {
flex-direction: row;
- font-size: 0.9rem;
}
- ul {
- list-style: none;
- margin: 0;
- padding: 0;
- li {
- list-style: none;
- display: block;
- color: $sub-footer-text-color;
- strong {
- font-weight: bold;
- color: #ffffff;
- display: none;
- }
- span {
- padding: 10px 10px 10px 0;
- display: inline-block;
- }
- a {
- display: inline-block;
- color: $sub-footer-text-color;
- text-decoration: none;
- padding: 10px 10px 10px 0;
- &:hover {
- text-decoration: underline;
- }
- }
- }
- @include media-breakpoint-up(sm) {
- li {
- display: inline-block;
- margin-left: 10px;
-
- &:first-of-type {
- margin-left: 0;
- }
- strong {
- font-weight: bold;
- color: #ffffff;
- display: inline-block;
- margin-right: 4px;
- }
- }
- }
+ }
+ .copyright {
+ margin-top: 10px;
+ font-size: 14px;
+ a {
+ font-weight: bold;
+ color: inherit;
}
}
- .zerostatic {
- display: inline-block;
- padding: 10px 10px 10px 0;
- color: #ffffff;
- text-decoration: none;
- &:hover {
- text-decoration: underline;
+ .social {
+ a:first-of-type {
+ margin-left: -10px;
}
}
}
diff --git a/assets/scss/components/_sub-menu.scss b/assets/scss/components/_sub-menu.scss
deleted file mode 100644
index 711b124..0000000
--- a/assets/scss/components/_sub-menu.scss
+++ /dev/null
@@ -1,39 +0,0 @@
-.sub-menu {
- display: none;
- position: absolute;
- top: 50px;
- left: 0;
- width: 100%;
- background: #ccc;
- list-style: none;
- margin: 0;
- padding: 0;
- align-items: center;
- justify-content: center;
- color: $white;
- z-index: 10;
- li {
- display: inline-block;
- list-style: none;
- flex: 0 0 auto;
- a {
- display: block;
- padding: 0 10px 0 10px;
- font-size: 12px;
- line-height: 28px;
- font-weight: 400;
- text-transform: uppercase;
- color: inherit;
- &:hover {
- color: $primary;
- text-decoration: none;
- }
- }
- }
- li.active {
- > a {
- font-weight: $font-weight-thin;
- border-bottom: 2px solid $primary;
- }
- }
-}
diff --git a/assets/scss/components/_whitebox.scss b/assets/scss/components/_whitebox.scss
deleted file mode 100644
index ee1c5d8..0000000
--- a/assets/scss/components/_whitebox.scss
+++ /dev/null
@@ -1,10 +0,0 @@
-@mixin whitebox($padding: 10px) {
- border: 1px solid #dcdcdc;
- border-radius: 3px;
- box-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
- background: #ffffff;
- padding: $padding;
-}
-.whitebox {
- @include whitebox();
-}
diff --git a/assets/scss/style.scss b/assets/scss/style.scss
index 950a76c..b6ce897 100755
--- a/assets/scss/style.scss
+++ b/assets/scss/style.scss
@@ -49,8 +49,8 @@ $sub-footer-text-color: $white;
@import 'components/intro';
@import 'components/intro-image';
@import 'components/strip';
-@import 'components/whitebox';
@import 'components/feature';
+@import 'components/social';
// Pages
@import 'pages/home';