From 1baaddc8096ee2ff1a51db39ce6133a372d2a3ef Mon Sep 17 00:00:00 2001 From: Bobby Date: Sat, 1 Oct 2022 13:10:03 -0400 Subject: Added source code visualizer --- static/css/main.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'static/css/main.css') diff --git a/static/css/main.css b/static/css/main.css index 47ba85a3..469d4484 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -366,3 +366,51 @@ li.new::before{ border-radius: 0 0 0 5px; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } + +.file { + padding: 4px 0px; + display: flex; + flex-direction: row; + flex-wrap: wrap; + width: 100%; +} + +.file > div { + color: #cecece; +} + +.file > a { + color: #cecece; + text-decoration: none; +} + +.ft-file { + width: 32px; + background-image: url('../images/icons/file.ico'); + background-repeat: no-repeat; + background-position: center; + margin-right: 10px; + background-size: contain; +} + +.ft-dir { + width: 32px; + background-image: url('../images/icons/folder.ico'); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + margin-right: 10px; +} + +.file-name:hover { + cursor: pointer; + text-decoration: underline; +} + +.file-meta.file-meta-dark { + display: none; +} + +.hljs-style-github-dark-dimmed .hljs { + background: rgb(34 39 46 / 0%) !important; +} -- cgit v1.2.3 From b42e6edc8df1d91c260addeb836fb2a193bd39de Mon Sep 17 00:00:00 2001 From: Bobby Date: Sat, 1 Oct 2022 13:21:07 -0400 Subject: Renamed folder icon correctly --- static/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/css/main.css') diff --git a/static/css/main.css b/static/css/main.css index 469d4484..7e4f00ad 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -395,7 +395,7 @@ li.new::before{ .ft-dir { width: 32px; - background-image: url('../images/icons/folder.ico'); + background-image: url('../images/icons/Folder.ico'); background-repeat: no-repeat; background-position: center; background-size: contain; -- cgit v1.2.3 From 218955f5ef2ae09656f93161fa59e0902370ff22 Mon Sep 17 00:00:00 2001 From: Bobby Date: Sat, 1 Oct 2022 14:22:58 -0400 Subject: fixed rendering math and code --- static/css/main.css | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'static/css/main.css') diff --git a/static/css/main.css b/static/css/main.css index 7e4f00ad..6a67f1ad 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -53,9 +53,9 @@ a:visited { color: #b894dc; } */ -svg { +/* svg { filter: invert(1); -} +} */ fieldset, legend { color: #cecece; @@ -414,3 +414,11 @@ li.new::before{ .hljs-style-github-dark-dimmed .hljs { background: rgb(34 39 46 / 0%) !important; } + +pre { + color: white; + background-color: rgba(40, 48, 59, 0.317); + border: 1px solid #cecece; + padding: 10px; + border-radius: 5px; +} -- cgit v1.2.3 From 8d8192ee4204ab6a9680a3103bbe14292c70b39a Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Sun, 2 Oct 2022 02:42:39 -0400 Subject: Remove min height from content --- static/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/css/main.css') diff --git a/static/css/main.css b/static/css/main.css index 6a67f1ad..5db4ab57 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -81,7 +81,7 @@ fieldset, legend { padding: 9px 20px 20px 20px; overflow-x: hidden; overflow-y: auto; - min-height: calc(100vh - 40px); + /* min-height: calc(100vh - 40px); */ } .title:visited { -- cgit v1.2.3 From 1e624f30c11e22699e6f6933b18a7a257a2ab73b Mon Sep 17 00:00:00 2001 From: Bobby Date: Sun, 2 Oct 2022 11:55:14 -0400 Subject: Added announcements --- static/css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/css/main.css') diff --git a/static/css/main.css b/static/css/main.css index 5db4ab57..1cf23d41 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -1,5 +1,5 @@ body { - background-image: url("../images/bg.jpeg"); + background-image: url("../images/site/bg.jpeg"); background-size: cover; background-repeat: no-repeat; background-attachment: fixed; @@ -12,7 +12,7 @@ body { } .header { - background-image: url("../images/banner.png"); + background-image: url("../images/site/banner.png"); background-size: contain; background-repeat: no-repeat; background-position: center; -- cgit v1.2.3 From 194c248b20c4f1e4d02c7ffd05b4a348db68ef5b Mon Sep 17 00:00:00 2001 From: Bobby Date: Sun, 2 Oct 2022 12:18:08 -0400 Subject: updates section --- static/css/main.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'static/css/main.css') diff --git a/static/css/main.css b/static/css/main.css index 1cf23d41..4b6fde36 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -422,3 +422,21 @@ pre { padding: 10px; border-radius: 5px; } + +.announcements { + list-style: none; + padding: 0; + margin: 0; +} + +.announcements > li::before { + content: '📢'; + margin-right: 5px; + height: 16px; +} + +.announcements > li.newac::before { + content: url('../images/gifs/new_announcement.gif'); + margin-right: 5px; + height: 16px; +} -- cgit v1.2.3