File tree Expand file tree Collapse file tree 5 files changed +32
-54
lines changed Expand file tree Collapse file tree 5 files changed +32
-54
lines changed Original file line number Diff line number Diff line change 3
3
{{ partial "head.html" . }}
4
4
< body >
5
5
{{ partial "header.html" . }}
6
- < div class ="container ">
6
+ < div class ="container " style =" margin-top: 150px; " >
7
7
< main id ="main ">
8
8
{{ block "main" . }}{{ end }}
9
9
</ main >
Original file line number Diff line number Diff line change 9
9
< link rel ="preconnect " href ="https://fonts.gstatic.com " crossorigin >
10
10
< link href ="https://fonts.googleapis.com/css2?family=Mulish:wght@300;600&family=Open+Sans:wght@400;600&display=swap " rel ="stylesheet ">
11
11
12
-
13
- <!-- protip: I HATE FOOTERS -->
14
- < style >
15
- body {
16
- min-height : 100vh ;
17
- display : flex;
18
- flex-direction : column;
19
- }
20
- main {
21
- flex-grow : 1 ;
22
- }
23
-
24
- .heading {
25
- font-family : 'Mulish' , sans-serif;
26
- font-weight : 600 ;
27
- }
28
- .topbar {
29
- font-family : 'Open Sans' , sans-serif;
30
- font-weight : 600 ;
31
- letter-spacing : 1px ;
32
- font-size : 15px ;
33
- text-transform : uppercase;
34
- }
35
- .topbar-drop {
36
- text-transform : none;
37
- }
38
- </ style >
12
+ < link rel ="stylesheet " href ="/caseyhates.css ">
39
13
40
14
{{ $title := print .Title " | " .Site.Title }}
41
15
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
Original file line number Diff line number Diff line change 1
- < nav class ="navbar navbar-expand-lg px-lg-5 py-lg-2 border-bottom fixed-top topbar ">
1
+ < nav class ="navbar navbar-expand-lg px-lg-5 py-lg-2 fixed-top topbar ">
2
2
< div class ="container-fluid flex-nowrap px-lg-5 ">
3
3
< a class ="navbar-brand " href ="/ ">
4
4
< img src ="osusec-banner.png " class ="img-fluid " alt ="OSUSEC " width ="450px ">
33
33
</ div >
34
34
</ nav >
35
35
36
-
37
-
38
- < div style ="margin-top: 1000px ">
39
- < div id ="nav-border " class ="container ">
40
- < nav id ="nav " class ="nav justify-content-center ">
41
- {{ $about := .Site.Menus.about }}
42
- {{ range .Site.Menus.main }}
43
- {{ $text := print .Name | safeHTML }}
44
- {{ if eq $text "About" }}
45
- < li class ="nav-item dropdown ">
46
- < a class ="nav-link dropdown-toggle " href ="# " role ="button " data-bs-toggle ="dropdown " aria-expanded ="false "> {{ $text }}</ a >
47
- < ul class ="dropdown-menu ">
48
- {{ range $about }}
49
- {{ $text = print .Name | safeHTML }}
50
- < li > < a class ="dropdown-item " href ="{{ .URL }} "> {{ $text }}</ a > </ li >
51
- {{ end }}
52
- </ ul >
53
- </ li >
54
- {{ else }}
55
- < a class ="nav-link " href ="{{ .URL }} "> {{ $text }}</ a >
56
- {{ end }}
57
- {{ end }}
58
- </ nav >
59
- </ div >
60
- </ div >
Original file line number Diff line number Diff line change
1
+ /* protip: I HATE FOOTERS */
2
+
3
+ body {
4
+ min-height : 100vh ;
5
+ display : flex;
6
+ flex-direction : column;
7
+ }
8
+ main {
9
+ flex-grow : 1 ;
10
+ }
11
+
12
+ /* styling top bar */
13
+
14
+ .heading {
15
+ font-family : 'Mulish' , sans-serif;
16
+ font-weight : 600 ;
17
+ }
18
+ .topbar {
19
+ font-family : 'Open Sans' , sans-serif;
20
+ font-weight : 600 ;
21
+ letter-spacing : 1px ;
22
+ font-size : 15px ;
23
+ text-transform : uppercase;
24
+
25
+ box-shadow : 0 0 5px 2px rgba (0 , 0 , 0 , .33 );
26
+ }
27
+ .topbar-drop {
28
+ text-transform : none;
29
+ }
You can’t perform that action at this time.
0 commit comments