Skip to content

Commit 5bf4664

Browse files
committed
Added QOTW passage
1 parent 3b705fc commit 5bf4664

File tree

7 files changed

+93
-3
lines changed

7 files changed

+93
-3
lines changed

assets/Channels.png

391 KB
Loading

assets/QOTWLeaderboard.png

589 KB
Loading

assets/sample.png

-9.85 KB
Binary file not shown.

css/global.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@
1616

1717
body {
1818
background-color: #011E2F;
19+
}
20+
21+
.special-word {
22+
background-color: #1E3847;
23+
padding: 3px 8px;
24+
border-radius: 20px;
1925
}

css/pages/index/index.css

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
.introduction-container {
32
display: flex;
43
margin-top: 5%;
@@ -85,4 +84,47 @@
8584
font-family: "Inter";
8685
font-size: 34px;
8786
font-weight: 600;
87+
}
88+
89+
.qotw-container {
90+
display: flex;
91+
margin-top: 5%;
92+
margin-left: 5%;
93+
color:white;
94+
font-family: "Inter";
95+
font-weight: 500;
96+
}
97+
98+
.qotw-text {
99+
margin-top: 5%;
100+
width: 65%;
101+
display:flex;
102+
flex-direction: column;
103+
}
104+
105+
.qotw-text h1 {
106+
font-family: "Uni Sans";
107+
font-size: 73px;
108+
}
109+
110+
.qotw-paragraph {
111+
margin-top: 2%;
112+
padding-right: 30%;
113+
}
114+
115+
.qotw-learn-more {
116+
margin-top: 4%;
117+
color: #ff212d;
118+
font-family: "Uni Sans", "Inter";
119+
text-decoration: underline solid transparent;
120+
transition: text-decoration 0.4s ease;
121+
}
122+
123+
.qotw-learn-more:hover {
124+
text-decoration: underline solid currentColor;
125+
}
126+
127+
.qotw-image {
128+
padding-left: 2%;
129+
width: 35%;
88130
}

css/pages/index/indexResponsive.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
.data-field-subtitle {
2020
font-size: 20px;
2121
}
22+
23+
.qotw-text h1 {
24+
font-size: 56px;
25+
}
2226
}
2327

2428
@media only screen and (max-width: 1250px) {
@@ -50,6 +54,18 @@
5054
.data-field-subtitle {
5155
font-size: 17px;
5256
}
57+
58+
.qotw-text {
59+
width: 100%;
60+
}
61+
62+
.qotw-paragraph {
63+
padding-right: 3%;
64+
}
65+
66+
.qotw-image {
67+
display: none;
68+
}
5369
}
5470

5571
@media only screen and (max-width: 1020px) {
@@ -73,6 +89,10 @@
7389
.data-field-subtitle {
7490
font-size: 15px;
7591
}
92+
93+
.qotw-text h1 {
94+
font-size: 42px;
95+
}
7696
}
7797

7898
@media only screen and (max-width: 940px) {
@@ -96,6 +116,10 @@
96116
.data-field-subtitle {
97117
font-size: 12px;
98118
}
119+
120+
.qotw-text h1 {
121+
font-size: 36px;
122+
}
99123
}
100124

101125
@media only screen and (max-width: 750px) {
@@ -128,6 +152,10 @@
128152
.data-field-subtitle {
129153
font-size: 14px;
130154
}
155+
156+
.qotw-text h1 {
157+
font-size: 30px;
158+
}
131159
}
132160

133161
@media only screen and (max-width: 500px) {
@@ -151,4 +179,8 @@
151179
.data-field-subtitle {
152180
font-size: 12px;
153181
}
182+
183+
.qotw-text h1 {
184+
font-size: 26px;
185+
}
154186
}

index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ <h1>HELP. <a style="color:#ff212d">CODE.</a> LEARN.</h1>
4343
<a href="https://discord.gg/X3NmMgzFKF" target="_blank" class="introduction-join-btn">Join</a>
4444
</div>
4545
<div class="introduction-image">
46-
<img src="./assets/sample.png" alt="" style="width:85%;">
46+
<img src="./assets/Channels.png" alt="" style="width:85%;">
4747
</div>
4848
</div>
4949
<!-- DATA/STATS -->
@@ -61,7 +61,17 @@ <h1>HELP. <a style="color:#ff212d">CODE.</a> LEARN.</h1>
6161
<p class="data-field-subtitle">messages each week²</p>
6262
</div>
6363
</div>
64-
<p class="paragraph">&nbsp</p>
64+
<!-- MEET QOTW -->
65+
<div class="qotw-container">
66+
<div class="qotw-text">
67+
<h1>MEET QUESTION OF THE WEEK</h1>
68+
<p class="paragraph qotw-paragraph">Question of the week is a weekly Java-related question you can answer and be awarded points for. Check it out in <b class="special-word">#question-of-the-week</b> on the Java Discord.</p>
69+
<a href="./qotw.html" target="_blank" class="paragraph qotw-learn-more"><i class="fa-solid fa-arrow-right"></i> Learn More</a>
70+
</div>
71+
<div class="qotw-image">
72+
<img src="./assets/QOTWLeaderboard.png" alt="" style="width:65%;">
73+
</div>
74+
</div>
6575

6676
<!-- Hamburger Menu JavaScript -->
6777
<script type="text/javascript">

0 commit comments

Comments
 (0)