Skip to content

Commit 72863cc

Browse files
committed
styling updates to arcade activities
1 parent 8dd3b97 commit 72863cc

4 files changed

Lines changed: 35 additions & 25 deletions

File tree

.DS_Store

2 KB
Binary file not shown.

h5p-player/h5p-libraries/H5P.Dialogcards-1.9/dist/h5p-dialogcards.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,9 +397,10 @@
397397

398398
.h5p-dialogcards .h5p-dialogcards-retry {
399399
right: 1em;
400+
font-family: "ibm-plex-sans";
400401
}
401402

402-
.h5p-dialogcards .h5p-dialogcards-retry:before {
403+
.h5p-dialogcards .h5p-dialogcards-retry:after {
403404
font-family: "H5PFontAwesome4";
404405
content: "\f01e";
405406
}

ims-arcade.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,12 @@
162162
<section id="quiz" class="white-bg card-section">
163163
<h2>Quiz</h2>
164164
<h3>IMS topic</h3>
165-
<div class="activity">
166-
<h3 id="feedback"></h3>
167-
<div id="mc-quiz" class="quiz"></div>
168-
<cds-button id="next-btn">Next</cds-button>
165+
<div class="activity-container">
166+
<div class="activity">
167+
<h3 id="feedback"></h3>
168+
<div id="mc-quiz" class="quiz"></div>
169+
<cds-button id="next-btn">Next</cds-button>
170+
</div>
169171
</div>
170172
</section>
171173

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,52 @@
11
* {
2-
margin: 0;
3-
padding: 0;
4-
font-family: IBM Plex Sans, Helvetica Neue, Arial, sans-serif;
2+
margin: 0;
3+
padding: 0;
4+
font-family: IBM Plex Sans, Helvetica Neue, Arial, sans-serif;
5+
}
6+
7+
.activity-container {
8+
background-color: #fff;
9+
width: 100%;
10+
padding: 2em;
11+
flex-flow: row nowrap;
12+
align-items: center;
13+
justify-content: center;
514
}
615

716
.activity {
8-
background-color: #fff;
9-
width: 100%;
10-
padding: 2em;
17+
background-color: #fff;
1118
}
1219

1320
.quiz h2 {
14-
font-size: 1.125em;
15-
font-weight: 600;
16-
padding: 0;
21+
font-size: 1.125em;
22+
font-weight: 600;
23+
padding: 0;
1724
}
1825

1926
#question-index {
20-
font-size: 1em;
27+
font-size: 1em;
2128
}
2229

2330
.btn {
24-
padding: 0.2em 2em 0.2em 0.5em;
25-
margin: 0.5em 0;
26-
border: 2px #fff solid;
31+
padding: 0.2em 2em 0.2em 0.5em;
32+
margin: 0.5em 0;
33+
border: 2px #fff solid;
2734
}
2835

2936
.disable {
30-
cursor: no-drop;
37+
cursor: no-drop;
3138
}
3239

3340
#next-btn {
34-
margin: 1em 0;
41+
margin: 1em 0;
3542
}
3643

3744
.correct {
38-
border: 2px #24a148 solid;
39-
border-radius: 2px;
45+
border: 2px #24a148 solid;
46+
border-radius: 2px;
4047
}
4148

4249
.incorrect {
43-
border: 2px #da1e28 solid;
44-
border-radius: 2px;
45-
}
50+
border: 2px #da1e28 solid;
51+
border-radius: 2px;
52+
}

0 commit comments

Comments
 (0)