From d8900da1e720c74eef2fe0605a9e0b9e88238bae Mon Sep 17 00:00:00 2001 From: Yijun2 Date: Tue, 13 Feb 2024 11:24:15 +0100 Subject: [PATCH] Update nav buttons and add css --- _config.yml | 3 ++- _layouts/default.html | 11 ++++++++--- assets/css/{ie.scss => ie.css} | 0 assets/css/style.scss | 30 +++++++++++++++++++++++++++++- index.md | 1 + 5 files changed, 40 insertions(+), 5 deletions(-) rename assets/css/{ie.scss => ie.css} (100%) diff --git a/_config.yml b/_config.yml index c860078..ca4ea41 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,5 @@ remote_theme: pages-themes/midnight@v0.2.0 plugins: - jekyll-remote-theme # add this line to the plugins list if you already have one -name: Git internals \ No newline at end of file +name: Git internals +show_downloads: true \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 90ff8d0..1802125 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -17,12 +17,17 @@ diff --git a/assets/css/ie.scss b/assets/css/ie.css similarity index 100% rename from assets/css/ie.scss rename to assets/css/ie.css diff --git a/assets/css/style.scss b/assets/css/style.scss index 5964ec8..7fb2776 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -1,4 +1,32 @@ --- --- -@import "jekyll-theme-midnight"; \ No newline at end of file +@import "jekyll-theme-midnight"; + +#header nav ul { + display: flex; + justify-content: space-between; + padding: 0; + margin: 0; + list-style-type: none; + } + + #header nav ul li.fork { + flex: 1; + text-align: left; + } + + #header nav ul li.nav-btn { + flex: 1; + text-align: right; + } + + /* Add any additional styling you need for the links here */ + #header nav ul li a { + display: inline-block; + /* other styles like padding, margin, color, etc. */ + } + + #header nav { + background-color: #353535; /* This will remove any background color */ + } \ No newline at end of file diff --git a/index.md b/index.md index 91801e9..2086f95 100644 --- a/index.md +++ b/index.md @@ -1,5 +1,6 @@ --- layout: default +title: Git workshop Booster 2024 --- ## About this Workshop