-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into task/GH-73-tacc-blockquote-plugin
- Loading branch information
Showing
4 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
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
39 changes: 39 additions & 0 deletions
39
taccsite_cms/static/site_cms/css/src/_imports/trumps/s-style-guide.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,39 @@ | ||
/* | ||
Style Guide | ||
A style guide. This is intended for: | ||
- a design system | ||
- a writing style guide | ||
- a developer style guide | ||
Styleguide Trumps.Scopes.StyleGuide | ||
*/ | ||
|
||
.s-style-guide { | ||
margin-top: var(--global-space--large); | ||
margin-bottom: var(--global-space--x-large); | ||
} | ||
|
||
|
||
|
||
|
||
|
||
/* ELEMENTS */ | ||
|
||
|
||
|
||
/* ELEMENTS: Content Sectioning */ | ||
|
||
.s-style-guide section { | ||
clear: both; | ||
} | ||
.s-style-guide section:not(section section) { | ||
border-top: var(--global-border--x-thick); | ||
padding-top: var(--global-space--x-large); | ||
margin-top: var(--global-space--x-large); | ||
} | ||
.s-style-guide section section { | ||
border-top: var(--global-border--normal); | ||
padding-top: var(--global-space--normal); | ||
margin-top: var(--global-space--normal); | ||
} |
8 changes: 8 additions & 0 deletions
8
taccsite_cms/static/site_cms/css/src/template.style-guide.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 @@ | ||
/* DO NOT ADD STYLES HERE; ONLY IMPORT OTHER STYLESHEETS */ | ||
|
||
/* Organize via ITCSS */ | ||
/* SEE: https://confluence.tacc.utexas.edu/x/IAA9Cw */ | ||
|
||
/* TRUMPS */ | ||
|
||
@import url("_imports/trumps/s-style-guide.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,19 @@ | ||
{% extends "fullwidth.html" %} | ||
{% load cms_tags staticfiles %} | ||
|
||
{% block assets_custom %} | ||
{{ block.super }} | ||
|
||
<link | ||
rel="stylesheet" | ||
href="{% static 'site_cms/css/build/template.style-guide.css' %}" | ||
> | ||
{% endblock assets_custom %} | ||
|
||
{% block content %} | ||
<div class="container s-document s-style-guide"> | ||
{% block guide %} | ||
{% placeholder "content" %} | ||
{% endblock guide %} | ||
</div> | ||
{% endblock content %} |