diff options
| -rw-r--r-- | assets/css/scopes/_body.scss | 10 | ||||
| -rw-r--r-- | assets/css/style.scss | 1 | ||||
| -rw-r--r-- | templates/layouts/exhibit.html | 4 | ||||
| -rw-r--r-- | templates/layouts/page.html | 6 | ||||
| -rw-r--r-- | templates/layouts/redirect.html | 6 |
5 files changed, 9 insertions, 18 deletions
diff --git a/assets/css/scopes/_body.scss b/assets/css/scopes/_body.scss deleted file mode 100644 index 1c76843..0000000 --- a/assets/css/scopes/_body.scss +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | @use 'iro-sass/src/index' as iro; | ||
| 2 | @use 'iro-design/src/functions' as fn; | ||
| 3 | |||
| 4 | @include iro.props-namespace('body') { | ||
| 5 | @include iro.bem-scope(iro.props-namespace()) { | ||
| 6 | > :first-child { | ||
| 7 | margin-top: 0; | ||
| 8 | } | ||
| 9 | } | ||
| 10 | } | ||
diff --git a/assets/css/style.scss b/assets/css/style.scss index 046210f..982aae8 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss | |||
| @@ -33,7 +33,6 @@ | |||
| 33 | @use 'iro-design/src/scopes/invisible-links' as iro-invisible-links; | 33 | @use 'iro-design/src/scopes/invisible-links' as iro-invisible-links; |
| 34 | @use 'iro-design/src/scopes/lists' as iro-lists; | 34 | @use 'iro-design/src/scopes/lists' as iro-lists; |
| 35 | @use 'iro-design/src/scopes/tables' as iro-tables; | 35 | @use 'iro-design/src/scopes/tables' as iro-tables; |
| 36 | @use 'scopes/body'; | ||
| 37 | @use 'scopes/small'; | 36 | @use 'scopes/small'; |
| 38 | @use 'scopes/alerts'; | 37 | @use 'scopes/alerts'; |
| 39 | 38 | ||
diff --git a/templates/layouts/exhibit.html b/templates/layouts/exhibit.html index cee28f9..a332c14 100644 --- a/templates/layouts/exhibit.html +++ b/templates/layouts/exhibit.html | |||
| @@ -49,8 +49,8 @@ | |||
| 49 | </footer> | 49 | </footer> |
| 50 | </section> | 50 | </section> |
| 51 | 51 | ||
| 52 | <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-400"> | 52 | <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-100"> |
| 53 | <div class="s-body s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> | 53 | <div class="s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> |
| 54 | $body$ | 54 | $body$ |
| 55 | </div> | 55 | </div> |
| 56 | </div> | 56 | </div> |
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 689d17b..3721510 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | > | 7 | > |
| 8 | <article class="h-entry"> | 8 | <article class="h-entry"> |
| 9 | $if(date)$ | 9 | $if(date)$ |
| 10 | <time datetime="$date.yyyy_mm_dd$" class="o-badge s-body__meta u-mb-125 dt-updated" itemprop="dateCreated"> | 10 | <time datetime="$date.yyyy_mm_dd$" class="o-badge u-mb-125 dt-updated" itemprop="dateCreated"> |
| 11 | $date.long$ | 11 | $date.long$ |
| 12 | </time> | 12 | </time> |
| 13 | $endif$ | 13 | $endif$ |
| @@ -16,14 +16,14 @@ | |||
| 16 | <span class="s-headings__primary">$title$</span> | 16 | <span class="s-headings__primary">$title$</span> |
| 17 | </h1> | 17 | </h1> |
| 18 | 18 | ||
| 19 | <div class="s-body s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> | 19 | <div class="s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> |
| 20 | <div class="l-container l-container--narrow u-ml-0"> | 20 | <div class="l-container l-container--narrow u-ml-0"> |
| 21 | $body$ | 21 | $body$ |
| 22 | </div> | 22 | </div> |
| 23 | </div> | 23 | </div> |
| 24 | 24 | ||
| 25 | $if(references)$ | 25 | $if(references)$ |
| 26 | <footer class="s-body s-colored-links s-lists"> | 26 | <footer class="s-colored-links s-lists"> |
| 27 | <hr /> | 27 | <hr /> |
| 28 | 28 | ||
| 29 | <h1>References</h1> | 29 | <h1>References</h1> |
diff --git a/templates/layouts/redirect.html b/templates/layouts/redirect.html index 6684bd2..01d65d6 100644 --- a/templates/layouts/redirect.html +++ b/templates/layouts/redirect.html | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | <main class="c-main l-container l-container--pad-x l-container--pad-y l-container--narrow s-body s-colored-links s-headlines"> | 1 | <main class="c-main l-container l-container--pad-x l-container--pad-y l-container--narrow s-colored-links s-headlines"> |
| 2 | <h1 class="u-mt-0"><span class="s-headlines__title-inner">$title$</span></h1> | 2 | <h1 class="u-mt-0"> |
| 3 | <span class="s-headlines__title-inner">$title$</span> | ||
| 4 | </h1> | ||
| 3 | <p>This page should redirect you to <a href="$url.full$">$url.full$</a> in 3 seconds.</p> | 5 | <p>This page should redirect you to <a href="$url.full$">$url.full$</a> in 3 seconds.</p> |
| 4 | </main> | 6 | </main> |
