Skip to content

Commit

Permalink
Revert "Squashed merge of task/GH-73-tacc-blockquote-plugin at commit 2…
Browse files Browse the repository at this point in the history
…37c26c"

This reverts commit 57e159b.
  • Loading branch information
wesleyboar committed Sep 1, 2021
1 parent 436068f commit fd1eb8f
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 70 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
/* WARNING: Deprecated. Do NOT add this to markup! */
/* NOTE: Preserve for legacy support (unless you wanna update 50+ instances) */
/* FAQ: 2019–20 used Bootstrap `blockquote`; 2021 used `s-blockquote` */
/* SEE: ../../trumps/s-blockquote.css */

/* BOOTSTRAP COMPONENTS: Quote */

.blockquote {
margin-top: 20px;
margin-bottom: 20px;

}
.blockquote {
color: #b75554;
font-size: 18px;
font-style: italic;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* TACC COMPONENTS: Offset Content */

[class*="c-offset-content--"] {
--offset-distance: 8.5vw;
--buffer: 30px; /* double Bootstrap `.col` padding */
}
@media only screen and (min-width: 992px) {
.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 (min-width: 992px) and (max-width: 2400px) {
/* 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);
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Markup:
Styleguide Trumps.Scopes.Article
*/
@import url("_imports/tools/media-queries.css");

/* Prevent content after article from wrapping around floated content in article */
.s-article-page .container,
Expand All @@ -24,10 +23,9 @@ Styleguide Trumps.Scopes.Article
}

/* Do this only for those viewports when content is actually offset */
@media only screen and (--medium-and-above) and (--max-wide-and-below) {
@media only screen and (min-width: 992px) and (max-width: 2400px) {
/* If element is too wide, then the offset is negligible */
.s-article-page [class*="c-offset-content--"], /* FAQ: Deprecated */
.s-article-page [class*="o-offset-content--"] {
.s-article-page [class*="c-offset-content--"] {
max-width: calc( var(--offset-distance) * 4 );
}
}

This file was deleted.

8 changes: 3 additions & 5 deletions texascale-org/static/texascale-org/css/src/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,17 @@
@import url("_imports/elements/html-elements.css");

/* OBJECTS */
@import url("_imports/objects/o-offset-content.css");
/* … */

/* COMPONENTS */
@import url("_imports/components/wip.byline.css");
/* RFC: If only used on articles, then these components could be imported into `template.article.css` instead */
@import url("_imports/components/tacc.c-offset-content.css");
@import url("_imports/components/bootstrap.figure.css");
@import url("_imports/components/deprecated/bootstrap.blockquote.css");
@import url("_imports/components/deprecated/c-offset-content.css");
@import url("_imports/components/bootstrap.blockquote.css");

/* TRUMPS */
@import url("_imports/trumps/s-drop-caps.css");
@import url("_imports/trumps/s-gallery.css");
@import url("_imports/trumps/u-border.css");
@import url("_imports/trumps/u-swallow.css");
/* RFC: If only used on articles, then these components could be imported into `template.article.css` instead */
@import url("_imports/trumps/s-blockquote.css");

0 comments on commit fd1eb8f

Please sign in to comment.