Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 8c995a9

Browse files
authored
Merge branch 'master' into update-vote-modal
2 parents 6739290 + 273f71b commit 8c995a9

File tree

7 files changed

+327
-242
lines changed

7 files changed

+327
-242
lines changed

.prettierrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"trailingComma":"none",
3+
"tabWidth": 2,
4+
"semi": true,
5+
"singleQuote": false
6+
}

src/components/QuizScroll.vue

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,77 @@
11
<template>
22
<div class="quiz-scroll" ref="scroll">
3-
<div class="scroll-graphic"></div>
43
<div class="scroll-head">
54
<div class="scroll-title">
65
<slot name="title"></slot>
76
</div>
87
</div>
8+
<div class="divider" />
99
<div class="scroll-body" ref="body">
1010
<slot name="default"></slot>
1111
</div>
1212
</div>
1313
</template>
1414

1515
<script>
16+
// TODO: rename this file at some point, since it's no longer a scroll
1617
export default {
1718
name: "quizScroll"
1819
};
1920
</script>
21+
22+
<style lang="scss" scoped>
23+
.quiz-scroll {
24+
width: 550px;
25+
display: flex;
26+
margin: 30px 0;
27+
padding: 10px 0;
28+
flex-direction: column;
29+
border: 8px solid #c2cfe1;
30+
background: url("/images/module-background.png");
31+
background-size: cover;
32+
33+
.divider {
34+
height: 5px;
35+
width: 100%;
36+
background-color: #c2cfe1;
37+
}
38+
39+
.scroll-head {
40+
.scroll-title {
41+
text-align: center;
42+
margin-top: 10px;
43+
font-size: 50px;
44+
top: 42px;
45+
color: white;
46+
font-family: "buWicked";
47+
}
48+
}
49+
50+
.scroll-body {
51+
text-align: center;
52+
margin-top: 30px;
53+
padding: 0 40px;
54+
font-size: 22px;
55+
56+
.asset {
57+
text-align: center;
58+
margin-bottom: 35px;
59+
}
60+
61+
.scroll-content {
62+
width: 420px;
63+
font-size: 24px;
64+
color: #031e41 !important;
65+
font-family: "Barrow2Light";
66+
letter-spacing: 2px;
67+
text-align: left;
68+
white-space: pre-wrap;
69+
70+
pre {
71+
font-size: 18px;
72+
white-space: pre-wrap;
73+
}
74+
}
75+
}
76+
}
77+
</style>

src/styles/quiz-scroll.scss

Lines changed: 0 additions & 90 deletions
This file was deleted.

src/styles/styles.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.cwhq-app {
22
@import './colors.scss';
33
@import './application.scss';
4-
@import './quiz-scroll.scss';
54
@import './quiz-answer.scss';
65
@import './quiz-need-help.scss';
76
@import './quiz-bar-rank.scss';

0 commit comments

Comments
 (0)