-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'task/core-GH-73-missing-commits-from-main-found-in-core…
…-GH-245' into task/GH-73-tacc-blockquote-plugin
- Loading branch information
Showing
7 changed files
with
70 additions
and
35 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
...ports/components/bootstrap.blockquote.css → ...nents/deprecated/bootstrap.blockquote.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...cale-org/static/texascale-org/css/src/_imports/components/deprecated/c-offset-content.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* WARNING: Deprecated. Do NOT add this to markup! */ | ||
/* NOTE: Preserve for legacy support (unless you wanna update 50+ instances) */ | ||
/* FAQ: 2019–20 used `c-offset-content`; 2021, renamed to `o-offset-content` */ | ||
/* SEE: ../../objects/o-offset-content.css */ | ||
/* | ||
(Deprecated) Offset Content | ||
Content that should be offset from the flow of text within which it is placed. | ||
Styleguide Components.Texascale.Deprecated.OffsetContent | ||
*/ | ||
@import url("_imports/tools/media-queries.css"); | ||
|
||
[class*="c-offset-content--"] { | ||
--offset-distance: 8.5vw; /* NOTE: Value is from Texascale.org 2020 */ | ||
--buffer: 30px; /* double Bootstrap `.col` padding */ | ||
|
||
max-width: 50%; | ||
} | ||
|
||
@media only screen and (--medium-and-above) { | ||
.c-offset-content--right { | ||
float: right; | ||
margin-left: var(--buffer); | ||
} | ||
.c-offset-content--right + .c-offset-content--right { clear: right; } | ||
|
||
.c-offset-content--left { | ||
float: left; | ||
margin-right: var(--buffer); | ||
} | ||
.c-offset-content--left + .c-offset-content--left { clear: left; } | ||
} | ||
@media only screen and (--medium-and-above) and (--max-wide-and-below) { | ||
/* Apply negative margin only when using offset value */ | ||
.c-offset-content--right { | ||
margin-right: calc( var(--offset-distance) * -1); | ||
} | ||
.c-offset-content--left { | ||
margin-left: calc( var(--offset-distance) * -1); | ||
} | ||
} |
28 changes: 0 additions & 28 deletions
28
texascale-org/static/texascale-org/css/src/_imports/components/tacc.c-offset-content.css
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
texascale-org/static/texascale-org/css/src/_imports/objects/o-offset-content.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* SEE: taccsite_cms/static/site_cms/css/src/_imports/objects/o-offset-content.css */ | ||
|
||
[class*="o-offset-content--"] { | ||
--offset-distance: 8.5vw; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
texascale-org/static/texascale-org/css/src/_imports/trumps/s-blockquote.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* SEE: taccsite_cms/static/site_cms/css/src/_imports/trumps/s-blockquote.css */ | ||
|
||
.s-blockquote blockquote { | ||
color: #b75554; | ||
} | ||
.s-blockquote figcaption { | ||
color: #636466; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters