summaryrefslogtreecommitdiff
path: root/addons/website/static/src/snippets/s_title
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/website/static/src/snippets/s_title
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/website/static/src/snippets/s_title')
-rw-r--r--addons/website/static/src/snippets/s_title/000.scss36
1 files changed, 36 insertions, 0 deletions
diff --git a/addons/website/static/src/snippets/s_title/000.scss b/addons/website/static/src/snippets/s_title/000.scss
new file mode 100644
index 00000000..a4e76dca
--- /dev/null
+++ b/addons/website/static/src/snippets/s_title/000.scss
@@ -0,0 +1,36 @@
+
+.s_title:not([data-vcss]) {
+ .s_title_boxed {
+ > * {
+ display: inline-block;
+ padding: $grid-gutter-width;
+ border: 1px solid;
+ }
+ }
+ .s_title_lines {
+ overflow: hidden;
+ &:before,
+ &:after {
+ content: "";
+ display: inline-block;
+ vertical-align: middle;
+ width: 100%;
+ border-top: 1px solid;
+ border-top-color: inherit;
+ }
+ &:before { margin: 0 $grid-gutter-width/2 0 -100%; }
+ &:after { margin: 0 -100% 0 $grid-gutter-width/2; }
+ }
+ .s_title_underlined {
+ @extend %o-page-header;
+ }
+ .s_title_small_caps {
+ font-variant: small-caps;
+ }
+ .s_title_transparent {
+ opacity: .5;
+ }
+ .s_title_thin {
+ font-weight: 300;
+ }
+}