Skip to content

Commit 5ac569d

Browse files
improve rec typography
1 parent 270dae1 commit 5ac569d

File tree

2 files changed

+57
-6
lines changed

2 files changed

+57
-6
lines changed

src/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ <h4>Creative Commons Attribution 4.0 International</h4>
360360

361361
<div id="mark-your-work">
362362
<header>
363-
<h2>Mark Your Work</h2>
363+
<h3>Mark Your Work</h3>
364364
<p>Choose the kind of work to get appropriate license code or public domain marking.</p>
365365
</header>
366366

@@ -407,13 +407,13 @@ <h2>Mark Your Work</h2>
407407

408408
</details>
409409

410-
<details class="medium">
410+
<details class="medium" open>
411411
<summary>Print Work or Media</summary>
412412

413413
<p>Copy the text below and paste it on the title and/or copyright page of your print work or presentation, or in the credits of your media.</p>
414414

415415
<article>
416-
<details class="format">
416+
<details class="format" open>
417417
<summary>Plain Text</summary>
418418

419419
<p class="plain-text mark">[contextually formatted mark here]</p>

src/style.css

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ ol li:has(.disable) {
9797

9898
.tool header > .tool-icons {
9999
order: -1;
100-
margin: 1.8em 1em 0 0;
100+
/* margin: 1.8em 1em 0 0; */
101+
margin: 0 1em 0 0;
101102
}
102103

103104
.tool .tool-icons svg {
@@ -128,14 +129,62 @@ ol li:has(.disable) {
128129
color: lightgray;
129130
}
130131

131-
#tool-recommendation p {
132+
#tool-recommendation {
133+
margin-bottom: 4em;
134+
135+
font-family: 'Source Sans Pro';
136+
}
137+
138+
#tool-recommendation .tool {
139+
padding: 2em;
140+
141+
background: var(--vocabulary-brand-color-soft-turquoise);
142+
}
143+
144+
#tool-recommendation .tool a {
145+
--underline-background-color: var(--vocabulary-brand-color-soft-turquoise);
146+
}
147+
148+
#tool-recommendation h3 {
149+
margin: 0;
150+
151+
font-family: 'Source Sans Pro';
132152
font-size: 1.4em;
133153
}
134154

135-
#mark-your-work p {
155+
#tool-recommendation h4 {
156+
margin: .2em;
157+
158+
font-family: 'Source Sans Pro';
136159
font-size: 1.4em;
137160
}
138161

162+
#tool-recommendation p {
163+
font-size: 1.2em;
164+
}
165+
166+
#tool-recommendation a {
167+
font-weight: 700;
168+
}
169+
170+
#tool-recommendation .conditions-definitions {
171+
margin-bottom: 2em;
172+
173+
font-family: 'Source Sans Pro';
174+
}
175+
176+
#tool-recommendation .conditions-definitions dt {
177+
font-weight: 700;
178+
}
179+
180+
#mark-your-work {
181+
/* border-top: 1px solid var(--vocabulary-neutral-color-lighter-gray); */
182+
}
183+
184+
#mark-your-work p {
185+
font-size: 1.2em;
186+
}
187+
139188
details {
140189
font-family: 'Source Sans Pro';
141190

@@ -186,6 +235,8 @@ body.chooser-page .content {
186235

187236
}
188237

238+
239+
189240
@media (max-width: 705px) {
190241
.content {
191242
display: block;

0 commit comments

Comments
 (0)