Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style tables in neuroscience #369

Merged
merged 3 commits into from
Dec 12, 2023
Merged

Conversation

ckline-tryptic
Copy link
Contributor

Issue 5278
image

@ckline-tryptic ckline-tryptic changed the title Style appendix and index in neuroscience Style tables in neuroscience Nov 14, 2023
@ckline-tryptic ckline-tryptic force-pushed the #5278-neuroscience-table-generic-design branch from f85f04f to a0c5b4e Compare November 29, 2023 21:23
CHANGELOG.md Outdated Show resolved Hide resolved
styles/books/neuroscience/book.scss Show resolved Hide resolved
Comment on lines 222 to 256
@include use('AppendixGlossary', 'carnival:::AppendixGlossaryShape');
@include use('Index', 'carnival:::IndexShape');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To remove

Comment on lines 2698 to 2910
}

.appendix > .column-container {
column-count: 2;
column-gap: 24px;
}

.appendix > .column-container > section {
margin-bottom: 0.7rem;
}

.appendix > .column-container > section > h3[data-type=title] {
color: #0074BC;
font-family: Mulish, sans-serif;
font-size: 1.2rem;
line-height: 1.5rem;
margin-bottom: 0.7rem;
font-weight: 600;
}

.appendix > .column-container > section > ul {
font-size: 0.8333333333rem;
list-style-type: none;
margin-left: 0 !important;
}

.appendix > .column-container > section > ul > li {
text-indent: -5px;
padding-left: 5px;
}

.appendix > .column-container > section > ul > li > strong {
padding-right: 3px;
}

.os-index-container {
column-count: 3;
column-gap: 32px;
}

.os-index-container > .group-by {
color: #000000;
font-family: IBM Plex Sans, sans-serif;
font-weight: normal;
padding-bottom: 0.7rem;
}

.os-index-container > .group-by > .group-label {
color: #000000;
font-family: Mulish, sans-serif;
font-size: 1.44rem;
line-height: 1.5rem;
font-weight: bold;
}

.os-index-container > .group-by > .os-index-item {
color: #000000;
font-family: IBM Plex Sans, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
text-indent: -8px;
padding-left: 8px;
}

.os-index-container > .group-by > .os-index-item > .os-term {
color: #000000;
font-family: IBM Plex Sans, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
padding-right: 8px;
}

.os-index-container > .group-by > .os-index-item > .os-term-section-link {
content: target-counter(attr(href, url), page);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this should gone after rebuilding styles.

@jbwilson8 jbwilson8 force-pushed the #5278-neuroscience-table-generic-design branch from f0ece72 to df451c3 Compare December 8, 2023 20:10
@jbwilson8 jbwilson8 force-pushed the #5278-neuroscience-table-generic-design branch from df451c3 to 137fc1e Compare December 12, 2023 16:34
@jbwilson8 jbwilson8 merged commit f69a873 into main Dec 12, 2023
1 check passed
@jbwilson8 jbwilson8 deleted the #5278-neuroscience-table-generic-design branch December 12, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants