summaryrefslogtreecommitdiff
path: root/_sass/additional
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2020-09-27 14:31:36 -0500
committerKarl Hallsby <karl@hallsby.com>2020-09-27 14:32:00 -0500
commit61b34a5f260db45575d448d766ea29c0fb273ed3 (patch)
tree4ac84fa917df0c69fb0fc6d587750514e7d0d813 /_sass/additional
parentc3cafe3c3817f52d4c588b5b0d6e71e07e06145e (diff)
Add jekyll-text-theme YAML files
Diffstat (limited to '_sass/additional')
-rw-r--r--_sass/additional/_alert.scss29
-rw-r--r--_sass/additional/_photo-frame.scss17
-rw-r--r--_sass/additional/_tag.scss21
3 files changed, 67 insertions, 0 deletions
diff --git a/_sass/additional/_alert.scss b/_sass/additional/_alert.scss
new file mode 100644
index 0000000..fa5651f
--- /dev/null
+++ b/_sass/additional/_alert.scss
@@ -0,0 +1,29 @@
+.article__content {
+ p.success {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($green, .1);
+ border: 1px solid $green;
+ border-radius: map-get($base, border-radius);
+ }
+
+ p.info {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($blue, .1);
+ border: 1px solid $blue;
+ border-radius: map-get($base, border-radius);
+ }
+
+ p.warning {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($yellow, .1);
+ border: 1px solid $yellow;
+ border-radius: map-get($base, border-radius);
+ }
+
+ p.error {
+ padding: map-get($spacers, 2) map-get($spacers, 3);
+ background-color: rgba($red, .1);
+ border: 1px solid $red;
+ border-radius: map-get($base, border-radius);
+ }
+}
diff --git a/_sass/additional/_photo-frame.scss b/_sass/additional/_photo-frame.scss
new file mode 100644
index 0000000..55a30c7
--- /dev/null
+++ b/_sass/additional/_photo-frame.scss
@@ -0,0 +1,17 @@
+.article__content {
+ img.shadow, .shadow > img {
+ @include box-shadow();
+ }
+
+ img.border, .border > img {
+ border: 1px solid $border-color-l;
+ }
+
+ img.rounded, .rounded > img {
+ border-radius: map-get($base, border-radius);
+ }
+
+ img.circle, .circle > img {
+ border-radius: 50%;
+ }
+}
diff --git a/_sass/additional/_tag.scss b/_sass/additional/_tag.scss
new file mode 100644
index 0000000..6a418ed
--- /dev/null
+++ b/_sass/additional/_tag.scss
@@ -0,0 +1,21 @@
+.article__content {
+ code.success {
+ color: $text-color-function;
+ background-color: $green;
+ }
+
+ code.info {
+ color: $text-color-function;
+ background-color: $blue;
+ }
+
+ code.warning {
+ color: $text-color-function;
+ background-color: $yellow;
+ }
+
+ code.error {
+ color: $text-color-function;
+ background-color: $red;
+ }
+}