diff --git a/README.md b/README.md index d42c3b7..7ba0073 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ -# discourse-tweaks +# Discourse Tweaks A theme components to enable GDScript highligting and other Godot specific tweaks + +## Usage +In discourse, go to Admin > Customize > Themes. Click the Install button and choose +"From a git repository". Enter the URL of this repo: +``` +https://github.com/godotengine/discourse-tweaks +``` + diff --git a/about.json b/about.json new file mode 100644 index 0000000..51ac74d --- /dev/null +++ b/about.json @@ -0,0 +1,5 @@ +{ + "name": "Godot Tweaks", + "about_url": "https://github.com/godotengine/discourse-tweaks", + "license_url": "https://github.com/godotengine/discourse-tweaks/blob/main/LICENSE" +} diff --git a/common/common.scss b/common/common.scss new file mode 100644 index 0000000..5147dcf --- /dev/null +++ b/common/common.scss @@ -0,0 +1,21 @@ + +.d-wrap[data-wrap="comment"] { + padding: 0px; + padding-left: 2.5em; + padding-right: 0.75em; + color: rgb(221, 221, 221); + border: 1px solid #585858; + border-left: 5px solid #585858; + background-color: rgb(43, 43, 43); + background-image: url("/images/emoji/google/speech_balloon.png"); + background-repeat: no-repeat; + background-size: 1.5em; + background-position: 0.5em 1em; + box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2); + margin-bottom: 1em; +} + +.d-wrap[data-wrap="footnote"] { + font-size: smaller; + font-weight: bold; +} diff --git a/common/head_tag.html b/common/head_tag.html new file mode 100644 index 0000000..8a81e8c --- /dev/null +++ b/common/head_tag.html @@ -0,0 +1,3 @@ +