Skip to content

Commit 167c529

Browse files
author
Finnegan Cappelli
committed
mobile issues
1 parent 8dea9b7 commit 167c529

File tree

4 files changed

+18
-37
lines changed

4 files changed

+18
-37
lines changed

assets/css/styles.css

+8-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/styles.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/styles.scss

+8-17
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,7 @@ ul {
240240
}
241241

242242
@media(max-width:768px) {
243-
html, body {
244-
margin: 0;
245-
padding: 0;
246-
width: 100%;
247-
overflow-x: hidden;
248-
}
249243

250-
.background-container {
251-
padding-top: calc(1em + 40px);
252-
}
253244
.hamburger {
254245
display: block;
255246
z-index: 1;
@@ -266,24 +257,20 @@ ul {
266257
}
267258

268259
.navigation {
269-
position: fixed;
270-
top: 0;
271-
left: 0;
272-
width: 100%;
273-
z-index: 1000;
274-
box-sizing: border-box;
260+
position: relative;
261+
top: 0px;
275262
}
276263

277264
.navigation-menu {
278265
position: fixed;
279-
right: -100%;
266+
right: -110%;
280267
top: 0px;
281268
gap: 0;
282269
margin: 0px;
283270
flex-direction: column;
284271
background: rgba(0,0,0,70%);
285272
width: 100%;
286-
height: 30%;
273+
height: 35%;
287274
text-align: center;
288275
transition: 0.5s;
289276
}
@@ -317,6 +304,10 @@ ul {
317304
text-align: left;
318305
}
319306

307+
.rules-list {
308+
text-align: left;
309+
}
310+
320311
.sponsors {
321312
display: flex;
322313
text-align: center;

index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ <h4>Theme</h4>
6767
</section>
6868
<section class="rules">
6969
<h4>RITSEC CTF 2025 General Rules</h4>
70-
<h6>by RITSEC</h6>
71-
<ol>
70+
<ol class="rules-list">
7271
<li>There should be no cooperation between teams. Sharing flags, hints, or any other information about a challenge with anyone other than your team or a CTF organizer during the CTF is prohibited.</li>
7372
<li>Do not direct message challenge authors in any attempt to receive hints and other information about the challenges. All communication will be through the RITSEC CTF Discord server. If you believe that a challenge is down or broken you can state it in the relevant channel.</li>
7473
<li>Do not attack the CTF or RITSEC infrastructure. This includes the webservers running the CTF engine, the challenge servers, any devices on the RIT network, and any other services used to run the CTF. If you aren't sure if you should be accessing something, ask a CTF organizer.</li>

0 commit comments

Comments
 (0)