diff --git a/app/resources/sass/app.scss b/app/resources/sass/app.scss index 9a19c23..39828c4 100644 --- a/app/resources/sass/app.scss +++ b/app/resources/sass/app.scss @@ -15,3 +15,12 @@ $fa-font-path: "./webfonts"; // Additional Styles @import "markdown.scss"; @import "dark-mode.scss"; + +// Miscellaneous +:target::before { + content: ""; + display: block; + height: 80px; + margin-top: -80px; + visibility: hidden; +} diff --git a/app/resources/views/components/readme.twig b/app/resources/views/components/readme.twig index f48348b..5d72572 100644 --- a/app/resources/views/components/readme.twig +++ b/app/resources/views/components/readme.twig @@ -1,13 +1,15 @@ -
-
- README.md -
+
+
+
+ README.md +
-
- {% if readme.getExtension == 'md' %} - {{ markdown(readme.getContents) | raw }} - {% else %} - {{ readme.getContents | nl2br }} - {% endif %} -
+
+ {% if readme.getExtension == 'md' %} + {{ markdown(readme.getContents) | raw }} + {% else %} + {{ readme.getContents | nl2br }} + {% endif %} +
+