/
style.css
141 lines (115 loc) · 2.28 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
@import "syntax-highlighter.css";
img {
max-width: 100%;
}
footer {
text-align: center;
color: grey;
}
body {
font-size: 18px;
}
pre {
tab-size: 4;
}
/* Codeblock styles */
pre.highlight {
border: 1px solid #e5e5e5;
border-radius: 8px;
padding: 5px 5px;
}
/* Homepage styles */
.homepage-flex {
gap: 10px;
}
.homepage-flex-item {
max-width: 696px;
}
/* Nav bar styles */
.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }
.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
.navbar { padding-top: 16px; padding-bottom: 16px; }
a.nav-link { padding-left: 12px; padding-right: 12px; }
/* Sticky footer styles
-------------------------------------------------- */
html {
position: relative;
min-height: 100%;
}
body {
/* Margin bottom by footer height */
margin-bottom: 60px;
}
main {
padding-top: 20px;
padding-bottom: 46px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 93px;
line-height: 60px; /* Vertically center the text there */
/* background-color: #f5f5f5; */
}
/* Presentations CSS */
.btn {
font-size: 16px;
}
.half-width {
width: 50%;
}
/* CTF writeup cards */
.link-unstyled, .link-unstyled:link, .link-unstyled:hover {
color: inherit;
text-decoration: inherit;
}
.card-img {
max-height: 380px;
max-width: 380px;
}
/* Table styles for ctf writeup challenge pages */
thead {
background-color: #e9ecef;
}
table tr:nth-child(2n) {
background-color: #f8f8f8;
}
/* Homepage Layout */
img.profile {
width: 30%;
min-width: 250px;
float: right;
}
/* Mobile Styles */
@media screen and (max-width: 767px) {
.mobile-full-width {
width: 100%;
}
/* Homepage floating */
img.profile {
float: none;
display: block;
margin: auto auto;
padding: 10px;
}
.btn-group-responsive {
display: inline-flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
width: 100%;
}
.btn-group-responsive .btn {
width: 100%;
margin-bottom: 5px;
/* Overrides */
margin-left: 0px !important;
border-top-right-radius: 4px !important;
border-top-left-radius: 4px !important;
border-bottom-right-radius: 4px !important;
border-bottom-left-radius: 4px !important;
}
}