Skip to content

Commit 3c370e1

Browse files
committed
Adjust site styling
1 parent a45439d commit 3c370e1

File tree

3 files changed

+27
-23
lines changed

3 files changed

+27
-23
lines changed

_sass/main.scss

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ $red: #ed5454;
22
$blue: #73ead3;
33
$body-font: 'Overpass Mono', monospace;
44
$title-font: 'Inconsolata', monospace;
5-
$body-font-size: 14px;
5+
$body-font-size: 13px;
66

77
body {
88
background-color: #333333;
@@ -37,26 +37,33 @@ body {
3737
padding-top: 50px;
3838
margin: 0 auto;
3939
text-align: center;
40+
font-size: 15px;
4041
}
4142

4243
.section {
4344
font-size: $body-font-size;
4445
}
4546

46-
h3 {
47-
padding-top: 10px;
48-
}
49-
50-
p {
51-
font-size: $body-font-size * 0.9;
52-
}
53-
5447
#logo {
5548
height: 100%;
5649
float: left;
5750
padding-right: 35px;
5851
}
5952

53+
footer {
54+
margin-bottom: 25px;
55+
}
56+
57+
h1 {
58+
padding-top: 10px;
59+
text-align: center;
60+
}
61+
62+
h2 {
63+
padding-top: 10px;
64+
font-size: 17px;
65+
}
66+
6067
footer {
6168
padding-top: 30px;
6269
text-align: center;
@@ -72,17 +79,14 @@ a:hover {
7279
text-decoration-style: wavy;
7380
}
7481

75-
h1 {
76-
padding-top: 10px
77-
}
78-
7982
@media only screen and (max-width: 600px) {
8083
#container {
8184
width: 100%;
8285
}
8386

8487
#title-section {
8588
text-align: center;
89+
height: auto;
8690
}
8791

8892
#logo {
@@ -93,8 +97,8 @@ h1 {
9397
padding-bottom: 35px;
9498
}
9599

96-
#title-section {
97-
height: auto;
98-
padding: 50px;
100+
.section {
101+
margin: 0 auto 25px;
102+
width: 95%;
99103
}
100104
}

faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ title: FAQ | CTF @ UBC
55

66
# FAQ
77

8-
### What are CTFs?
8+
## What are CTFs?
99

1010
CTFs are computer security competitions that contain challenges that must
1111
be solved in order to recover a "flag" (a specially-formatted string). These
1212
challenges often require knowledge in fields such as reverse engineering,
1313
cryptanalysis, scripting, and binary exploitation.
1414

15-
### How should I get started?
15+
## How should I get started?
1616

1717
[picoCTF](https://picoctf.com) is an excellent beginner CTF, as it contains
1818
many different types of problems, with more gradually unlocking as you become

resources.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ title: Resources | CTF @ UBC
55

66
# Resources
77

8-
### General Knowledge
8+
## General Knowledge
99

1010
- [https://wiki.skullsecurity.org/](https://wiki.skullsecurity.org/)
1111
- [http://ctfs.github.io/resources/](http://ctfs.github.io/resources/)
1212

13-
### Starter CTFs
13+
## Starter CTFs
1414

1515
- [http://captf.com/practice-ctf/](http://captf.com/practice-ctf/) -- list of CTFs
1616
- [picoCTF](https://picoctf.com/)
1717
- [pwnable.kr](https://pwnable.kr/)
1818

1919

20-
### Reverse Engineering
20+
## Reverse Engineering
2121

2222
- [Ghidra](https://ghidra-sre.org) -- disassembler and decompiler
2323
- [Luyten](https://github.com/deathmarine/Luyten) -- Java decompiler GUI
@@ -26,14 +26,14 @@ title: Resources | CTF @ UBC
2626
- [dotPeek](https://www.jetbrains.com/decompiler) -- .NET decompiler
2727

2828

29-
### Forensics
29+
## Forensics
3030

3131
- [Binwalk](https://github.com/ReFirmLabs/binwalk) -- extract files within files
3232
- [Hachoir](https://hachoir.readthedocs.io/en/latest/) -- analyze binary files
3333
- [Stegsolve](https://github.com/zardus/ctf-tools/tree/master/stegsolve) -- decode image steganography
3434
- [Wireshark](https://www.wireshark.org) -- analyze network traffic
3535

3636

37-
### Miscellaneous
37+
## Miscellaneous
3838

3939
- [z3](https://github.com/Z3Prover/z3) -- theorem prover

0 commit comments

Comments
 (0)