Skip to content

Commit

Permalink
Increase font size, form updates
Browse files Browse the repository at this point in the history
  • Loading branch information
c-e-p committed Jun 20, 2023
1 parent 46babc4 commit 9a01736
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 51 deletions.
24 changes: 12 additions & 12 deletions ourchive_app/frontend/static/frontend/css/ourchive-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
html {
/* 1 */
font-family: "Jost", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 16px;
font-size: 18px;
font-weight: normal;
line-height: 1.5;
/* 2 */
Expand Down Expand Up @@ -251,11 +251,11 @@ h3, .uk-h3 {
line-height: 1.4; }

h4, .uk-h4 {
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4; }

h5, .uk-h5 {
font-size: 16px;
font-size: 18px;
line-height: 1.4; }

h6, .uk-h6 {
Expand Down Expand Up @@ -323,7 +323,7 @@ address {
========================================================================== */
blockquote {
margin: 0 0 20px 0;
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.5;
font-style: italic;
color: #FFF; }
Expand Down Expand Up @@ -1493,7 +1493,7 @@ textarea.uk-form-small,
* Large
*/
.uk-form-large {
font-size: 1.25rem; }
font-size: 1.33rem; }

/* Single-line */
.uk-form-large:not(textarea):not([multiple]):not([size]) {
Expand Down Expand Up @@ -3098,7 +3098,7 @@ select.uk-form-width-xsmall {
/* Title
========================================================================== */
.uk-comment-title {
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4; }

/* Meta
Expand Down Expand Up @@ -3365,7 +3365,7 @@ select.uk-form-width-xsmall {
========================================================================== */
.uk-accordion-title {
display: block;
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4;
color: #FFF;
overflow: hidden; }
Expand Down Expand Up @@ -4226,7 +4226,7 @@ select.uk-form-width-xsmall {
padding: 15px;
background: #042325;
color: #F9F6F1;
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4;
cursor: pointer; }

Expand Down Expand Up @@ -4902,7 +4902,7 @@ ul.uk-nav-sub {
* Subtitle
*/
.uk-nav-primary .uk-nav-subtitle {
font-size: 1.25rem; }
font-size: 1.33rem; }

/*
* Header
Expand All @@ -4920,7 +4920,7 @@ ul.uk-nav-sub {
* Sublists
*/
.uk-nav-primary .uk-nav-sub {
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.5; }

.uk-nav-primary .uk-nav-sub a {
Expand All @@ -4935,7 +4935,7 @@ ul.uk-nav-sub {
/* Secondary modifier
========================================================================== */
.uk-nav-secondary {
font-size: 16px;
font-size: 18px;
line-height: 1.5; }
.uk-nav-secondary > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {
margin-top: 0; }
Expand Down Expand Up @@ -7111,7 +7111,7 @@ ul.uk-nav-sub {
line-height: 1.5; }

.uk-text-default {
font-size: 16px;
font-size: 18px;
line-height: 1.5; }

/* Weight modifier
Expand Down
24 changes: 12 additions & 12 deletions ourchive_app/frontend/static/frontend/css/ourchive-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
html {
/* 1 */
font-family: "Jost", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 16px;
font-size: 18px;
font-weight: normal;
line-height: 1.5;
/* 2 */
Expand Down Expand Up @@ -251,11 +251,11 @@ h3, .uk-h3 {
line-height: 1.4; }

h4, .uk-h4 {
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4; }

h5, .uk-h5 {
font-size: 16px;
font-size: 18px;
line-height: 1.4; }

h6, .uk-h6 {
Expand Down Expand Up @@ -323,7 +323,7 @@ address {
========================================================================== */
blockquote {
margin: 0 0 20px 0;
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.5;
font-style: italic;
color: #333; }
Expand Down Expand Up @@ -1493,7 +1493,7 @@ textarea.uk-form-small,
* Large
*/
.uk-form-large {
font-size: 1.25rem; }
font-size: 1.33rem; }

/* Single-line */
.uk-form-large:not(textarea):not([multiple]):not([size]) {
Expand Down Expand Up @@ -3098,7 +3098,7 @@ select.uk-form-width-xsmall {
/* Title
========================================================================== */
.uk-comment-title {
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4; }

/* Meta
Expand Down Expand Up @@ -3365,7 +3365,7 @@ select.uk-form-width-xsmall {
========================================================================== */
.uk-accordion-title {
display: block;
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4;
color: #333;
overflow: hidden; }
Expand Down Expand Up @@ -4226,7 +4226,7 @@ select.uk-form-width-xsmall {
padding: 15px;
background: #F9F6F1;
color: #666;
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.4;
cursor: pointer; }

Expand Down Expand Up @@ -4902,7 +4902,7 @@ ul.uk-nav-sub {
* Subtitle
*/
.uk-nav-primary .uk-nav-subtitle {
font-size: 1.25rem; }
font-size: 1.33rem; }

/*
* Header
Expand All @@ -4920,7 +4920,7 @@ ul.uk-nav-sub {
* Sublists
*/
.uk-nav-primary .uk-nav-sub {
font-size: 1.25rem;
font-size: 1.33rem;
line-height: 1.5; }

.uk-nav-primary .uk-nav-sub a {
Expand All @@ -4935,7 +4935,7 @@ ul.uk-nav-sub {
/* Secondary modifier
========================================================================== */
.uk-nav-secondary {
font-size: 16px;
font-size: 18px;
line-height: 1.5; }
.uk-nav-secondary > :not(.uk-nav-divider) + :not(.uk-nav-header, .uk-nav-divider) {
margin-top: 0; }
Expand Down Expand Up @@ -7111,7 +7111,7 @@ ul.uk-nav-sub {
line-height: 1.5; }

.uk-text-default {
font-size: 16px;
font-size: 18px;
line-height: 1.5; }

/* Weight modifier
Expand Down
6 changes: 4 additions & 2 deletions ourchive_app/frontend/templates/bookmark_collection_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@
<script type="text/javascript">
tinymce.init({
selector: '#descriptionEditor',
width: 600,
height: 300,
width: '100%',
height: 400,
autoresize_min_height: 400,
autoresize_max_height: 800,
plugins: [
'link', 'image', 'lists', 'charmap', 'preview', 'anchor', 'pagebreak',
'fullscreen', 'insertdatetime',
Expand Down
6 changes: 4 additions & 2 deletions ourchive_app/frontend/templates/bookmark_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@
<script type="text/javascript">
tinymce.init({
selector: '#descriptionEditor',
width: 600,
height: 300,
width: '100%',
height: 400,
autoresize_min_height: 400,
autoresize_max_height: 800,
plugins: [
'link', 'image', 'lists', 'charmap', 'preview', 'anchor', 'pagebreak',
'fullscreen', 'insertdatetime',
Expand Down
12 changes: 10 additions & 2 deletions ourchive_app/frontend/templates/chapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,20 @@ <h2 id="chapter-header-h2"><a id="chapter-header-link" class="uk-link-reset" hre
<div id="chapter-context-parent" class="uk-grid-column-small uk-grid-row-small uk-child-width-1-1@s" uk-grid>
<div id="chapter-summary-header"><span id="chapter-summary-label" class="uk-text-large">Summary</span></div>
<div id="chapter-summary-div"><span id="chapter-summary-text" class="uk-text-medium">{% autoescape off %}{{ chapter.summary }}{% endautoescape %}</span></div>
{% if chapter.notes %}
<div id="chapter-notes-header"><span id="chapter-notes-label" class="uk-text-large">Notes</span></div>
<div id="chapter-notes-div"><span id="chapter-notes-text" class="uk-text-medium">{% autoescape off %}{{ chapter.notes }}{% endautoescape %}</span></div>
<div id="chapter-notes-div"><span id="chapter-notes-text" class="uk-text-medium">{% autoescape off %}{{ chapter.notes }}{% endautoescape %}</span></div>{% endif %}
<div id="chapter-notes-summary-hr"><hr id="chapter-content-hr"/></div>
{% if chapter.attributes %}
{% include "object_attributes.html" with object='chapter' object_id=chapter.id attributes=chapter.attributes %}
{% endif %}
</div>
{% if chapter.image_url and chapter.audio_url != "None" %}<p id="chapter-image-graf"><img id="chapter-image" src="{{ chapter.image_url }}" alt="{{ chapter.image_alt_text }}"/></p><hr id="chapter-image-hr"/>{% endif %}
{% if chapter.image_url and chapter.image_url != "None" %}
<p id="chapter-image-graf">
<img id="chapter-image" src="{{ chapter.image_url }}" alt="{{ chapter.image_alt_text }}"/>
</p>
<hr id="chapter-image-hr"/>
{% endif %}
{% if chapter.audio_url and chapter.audio_url != "None" %}<p id="chapter-audio-graf"><audio id="chapter-audio" src="{{ chapter.audio_url }}" controls></audio></p><hr id="chapter-audio-hr"/>{% endif %}
{% if chapter.text %}<span id="chapter-text" class="uk-text-medium">{% autoescape off %}{{ chapter.text }}{% endautoescape %}</span><hr id="chapter-text-hr"/>{% endif %}
<!-- use iconnav for work edit icons -->
Expand Down
12 changes: 6 additions & 6 deletions ourchive_app/frontend/templates/chapter_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
tinymce.init({
selector: '#summaryEditor',
width: '100%',
height: 450,
autoresize_min_height: 450,
autoresize_max_height: 800,
height: 200,
autoresize_min_height: 150,
autoresize_max_height: 800,
plugins: [
'link', 'image', 'lists', 'charmap', 'preview', 'anchor', 'pagebreak',
'fullscreen', 'insertdatetime',
Expand Down Expand Up @@ -114,9 +114,9 @@
tinymce.init({
selector: '#notesEditor',
width: '100%',
height: 450,
autoresize_min_height: 450,
autoresize_max_height: 800,
height: 200,
autoresize_min_height: 150,
autoresize_max_height: 800,
plugins: [
'link', 'image', 'lists', 'charmap', 'preview', 'anchor', 'pagebreak',
'fullscreen', 'insertdatetime',
Expand Down
22 changes: 7 additions & 15 deletions ourchive_app/frontend/templates/work_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,10 @@
</div>
<hr id="work-form-title-content-divider"/>
<div id="work-form-content-parent" class="uk-child-width-1@m uk-child-width-1@s uk-text-left">

{% if show_chapter %}
<ul class="uk-subnav uk-subnav-pill uk-subnav-divider uk-flex uk-flex-right" uk-switcher="animation: uk-animation-fade; active: 1" id="work-form-chapter-switcher-ul-active">
{% else %}
<ul id="work-form-chapter-switcher-ul-inactive" class="uk-subnav uk-subnav-pill uk-subnav-divider uk-flex uk-flex-right" uk-switcher="animation: uk-animation-fade; active: 0">
{% endif %}
<li id="work-form-edit-work-li"><a id="work-form-edit-work-link" href="#" id="edit_work_link">Edit Work</a></li>
<li id="work-form-edit-chapters-li"><a id="work-form-edit-chapters-link" href="#" id="toc_link">Edit Chapters</a></li>
</ul>
<div class="uk-width-1-3 uk-align-right"><a class="uk-button uk-button-default uk-button-medium uk-align-right" href="#work-form-chapter-content-parent">Jump to chapters</a> </div>
<input type="hidden" id="redirect_toc" name="redirect_toc">

<ul class="uk-switcher uk-margin" id="work_switcher">
<li id="work-form-work-switcher-li">

<div class="uk-margin" id="work-form-type-parent">
<label id="work-form-type-label" class="uk-form-label" for="form-horizontal-text">Work Type</label>
<div id="work-form-type-controls" class="uk-form-controls">
Expand Down Expand Up @@ -211,8 +202,9 @@ <h3 id="obj-attrs-form-header">Work Settings</h3>
</select>
</div>
</div>
</li>
<li id="chapters_toc">
</div>
<div><hr/></div>
<div id="work-form-chapter-content-parent" class="uk-child-width-1@m uk-child-width-1@s uk-text-left">
<script>
var util = UIkit.util;

Expand All @@ -229,6 +221,7 @@ <h3 id="obj-attrs-form-header">Work Settings</h3>
});
});
</script>
<h3 id="chapter-section-header">Chapters</h3>
<ul class="uk-grid-small uk-child-width-1 uk-text-left" uk-sortable="handle: .uk-sortable-handle" uk-grid id="chapters_list">
{% for chapter in chapters %}
<li id="chapters-list-{{chapter.id}}">
Expand All @@ -250,8 +243,7 @@ <h3 id="obj-attrs-form-header">Work Settings</h3>
{% endfor %}
<input id="work-form-new-chapter-link" class="uk-button uk-button-link" style="width:15em;" onclick="this.form.submitted=this.value;" type="submit" value="New Chapter"/>
</ul>
</li>
</ul>

</div>
<hr/>
<div id="work-form-bottom-controls-parent" class="uk-grid uk-align-right" uk-grid>
Expand Down
Empty file added ourchive_app/ourchive-dark.css
Empty file.

0 comments on commit 9a01736

Please sign in to comment.