summaryrefslogtreecommitdiff
path: root/themes/m10c/assets/css
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-14 11:37:40 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-14 11:37:40 -0300
commit0d2881c74335bcb9fd9c150bf209ba3d93cf3b59 (patch)
tree02f05d992833904b50a40a78b9480b596e243c68 /themes/m10c/assets/css
parent1985fbe5280cea489d2d11979829418bb2438153 (diff)
Removed old theme
Diffstat (limited to 'themes/m10c/assets/css')
-rw-r--r--themes/m10c/assets/css/_base.scss55
-rw-r--r--themes/m10c/assets/css/_extra.scss2
-rw-r--r--themes/m10c/assets/css/components/_app.scss40
-rw-r--r--themes/m10c/assets/css/components/_error_404.scss7
-rw-r--r--themes/m10c/assets/css/components/_icon.scss6
-rw-r--r--themes/m10c/assets/css/components/_pagination.scss24
-rw-r--r--themes/m10c/assets/css/components/_post.scss17
-rw-r--r--themes/m10c/assets/css/components/_posts_list.scss17
-rw-r--r--themes/m10c/assets/css/components/_tag.scss15
-rw-r--r--themes/m10c/assets/css/main.scss19
10 files changed, 0 insertions, 202 deletions
diff --git a/themes/m10c/assets/css/_base.scss b/themes/m10c/assets/css/_base.scss
deleted file mode 100644
index 9848303..0000000
--- a/themes/m10c/assets/css/_base.scss
+++ /dev/null
@@ -1,55 +0,0 @@
-* {
- box-sizing: border-box;
-}
-
-html {
- line-height: 1.6;
-}
-
-body {
- margin: 0;
- font-family: sans-serif;
- background: $dark-color;
- color: $light-color;
-}
-
-h1, h2, h3, h4, h5, h6 {
- color: $lightest-color;
-}
-
-a {
- color: $primary-color;
- transition: color 0.35s;
- text-decoration: none;
-
- &:hover {
- color: $lightest-color;
- }
-}
-
-// Browsers seem to use a smaller default font-size with monospaced code
-// blocks (like 80% of the size of normal text) and that looks pretty bad with
-// small inline code-blocks in the middle of normal text (mainly because of
-// the very noticeable difference in x-height). This CSS corrects that problem.
-code {
- font-family: monospace,monospace;
- font-size: 1em;
- color: rgba($light-color, .8);
-}
-
-pre {
- // A larger monospaced block of text (that isn't mixed with normal text)
- // generally looks heavier than normal text with the same font size. For this
- // reason using a smaller monospaced font size makes sense in this situation.
- code {
- font-size: .8em;
- }
- overflow: auto;
-}
-
-::selection {
- background: rgba($light-color, .25);
-}
-::-moz-selection {
- background: rgba($light-color, .25);
-}
diff --git a/themes/m10c/assets/css/_extra.scss b/themes/m10c/assets/css/_extra.scss
deleted file mode 100644
index 8eaa4d4..0000000
--- a/themes/m10c/assets/css/_extra.scss
+++ /dev/null
@@ -1,2 +0,0 @@
-// Do not add any CSS to this file in the theme sources.
-// This file can be overridden to add project-specific CSS.
diff --git a/themes/m10c/assets/css/components/_app.scss b/themes/m10c/assets/css/components/_app.scss
deleted file mode 100644
index 28c7bc9..0000000
--- a/themes/m10c/assets/css/components/_app.scss
+++ /dev/null
@@ -1,40 +0,0 @@
-.app-header {
- padding: 2.5em;
- background: $darkest-color;
- text-align: center;
-}
-
-.app-header-avatar {
- max-width: 15rem;
- max-height: 15rem;
- border-radius: 100%;
- border: 0.5rem solid $primary-color;
-}
-
-.app-container {
- padding: 2.5rem;
-}
-
-.app-header-social {
- font-size: 2em;
- color: $lightest-color;
-
- a {
- margin: 0 0.1em;
- }
-}
-
-@media (min-width: 940px) {
- .app-header {
- position: fixed;
- top: 0;
- left: 0;
- width: 20rem;
- min-height: 100vh;
- }
-
- .app-container {
- max-width: 65rem;
- margin-left: 20rem;
- }
-}
diff --git a/themes/m10c/assets/css/components/_error_404.scss b/themes/m10c/assets/css/components/_error_404.scss
deleted file mode 100644
index c819570..0000000
--- a/themes/m10c/assets/css/components/_error_404.scss
+++ /dev/null
@@ -1,7 +0,0 @@
-.error-404 {
- text-align: center;
-}
-
-.error-404-title {
- text-transform: uppercase;
-}
diff --git a/themes/m10c/assets/css/components/_icon.scss b/themes/m10c/assets/css/components/_icon.scss
deleted file mode 100644
index 207d421..0000000
--- a/themes/m10c/assets/css/components/_icon.scss
+++ /dev/null
@@ -1,6 +0,0 @@
-.icon {
- display: block-inline;
- width: 1em;
- height: 1em;
- vertical-align: -0.125em;
-}
diff --git a/themes/m10c/assets/css/components/_pagination.scss b/themes/m10c/assets/css/components/_pagination.scss
deleted file mode 100644
index cc0d8a1..0000000
--- a/themes/m10c/assets/css/components/_pagination.scss
+++ /dev/null
@@ -1,24 +0,0 @@
-.pagination {
- display: block;
- list-style: none;
- padding: 0;
- font-size: 0.8em;
- text-align: center;
- margin: 3em 0;
-}
-
-.page-item {
- display: inline-block;
- .page-link {
- display: block;
- padding: 0.285em 0.8em;
- }
-
- &.active {
- .page-link {
- color: $lightest-color;
- border-radius: 2em;
- background: $primary-color;
- }
- }
-}
diff --git a/themes/m10c/assets/css/components/_post.scss b/themes/m10c/assets/css/components/_post.scss
deleted file mode 100644
index b8265a7..0000000
--- a/themes/m10c/assets/css/components/_post.scss
+++ /dev/null
@@ -1,17 +0,0 @@
-.post-title {
- color: $lightest-color;
-}
-
-.post-content {
- pre {
- border-left: 0.4em solid rgba($primary-color, .8);
- padding-left: 1em;
- }
- img {
- max-width: 100%;
- }
-}
-
-.post-meta {
- font-size: 0.8em;
-}
diff --git a/themes/m10c/assets/css/components/_posts_list.scss b/themes/m10c/assets/css/components/_posts_list.scss
deleted file mode 100644
index 2fe0cf0..0000000
--- a/themes/m10c/assets/css/components/_posts_list.scss
+++ /dev/null
@@ -1,17 +0,0 @@
-.posts-list {
- padding: 0;
-}
-
-.posts-list-item {
- list-style: none;
- &:not(:last-child) {
- border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
- }
- padding: 0.4em 0;
-}
-
-.posts-list-item-description {
- display: block;
- font-size: 0.8em;
-}
-
diff --git a/themes/m10c/assets/css/components/_tag.scss b/themes/m10c/assets/css/components/_tag.scss
deleted file mode 100644
index 8bf628a..0000000
--- a/themes/m10c/assets/css/components/_tag.scss
+++ /dev/null
@@ -1,15 +0,0 @@
-.tag {
- display: inline-block;
- margin-right: 0.2em;
- padding: 0 0.6em;
- font-size: 0.9em;
- border-radius: 0.2em;
- white-space: nowrap;
- background: rgba(255, 255, 255, 0.1);
- transition: color 0.35s, background 0.35s;
-
- &:hover {
- transition: color 0.25s, background 0.05s;
- background: rgba(255, 255, 255, 0.3);
- }
-}
diff --git a/themes/m10c/assets/css/main.scss b/themes/m10c/assets/css/main.scss
deleted file mode 100644
index 51712e1..0000000
--- a/themes/m10c/assets/css/main.scss
+++ /dev/null
@@ -1,19 +0,0 @@
-$darkest-color: {{ .Site.Params.style.darkestColor | default "#242930" }};
-$dark-color: {{ .Site.Params.style.darkColor | default "#353b43" }};
-$light-color: {{ .Site.Params.style.lightColor | default "#afbac4" }};
-$lightest-color: {{ .Site.Params.style.lightestColor | default "#ffffff" }};
-$primary-color: {{ .Site.Params.style.primaryColor | default "#57cc8a" }};
-
-@import 'base';
-
-@import 'components/app';
-@import 'components/error_404';
-@import 'components/icon';
-@import 'components/pagination';
-@import 'components/post';
-@import 'components/posts_list';
-@import 'components/tag';
-
-// The last 'extra' import can optionally be overridden on a per project
-// basis by creating a <HUGO_PROJECT>/assets/css/_extra.scss file.
-@import 'extra';