mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Merge pull request #6391 from YuriSizov/classref-call-to-arms-styling
Add styling for call-to-action notes on the class reference
This commit is contained in:
@@ -64,6 +64,9 @@
|
||||
--highlight-operator-color: #666666;
|
||||
--highlight-string-color: #4070a0;
|
||||
|
||||
--contribute-background-color: #d7dee8;
|
||||
--contribute-text-color: #646e72;
|
||||
|
||||
--admonition-note-background-color: #e7f2fa;
|
||||
--admonition-note-color: #404040;
|
||||
--admonition-note-title-background-color: #6ab0de;
|
||||
@@ -156,6 +159,9 @@
|
||||
--highlight-operator-color: #abc8ff;
|
||||
--highlight-string-color: #ffeca1;
|
||||
|
||||
--contribute-background-color: #25282d;
|
||||
--contribute-text-color: #7f939b;
|
||||
|
||||
--admonition-note-background-color: #303d4f;
|
||||
--admonition-note-color: #bfeeff;
|
||||
--admonition-note-title-background-color: #305070;
|
||||
@@ -731,6 +737,18 @@ code,
|
||||
color: var(--highlight-string-color);
|
||||
}
|
||||
|
||||
/* Call to action for missing documentation */
|
||||
.rst-content .contribute {
|
||||
background-color: var(--contribute-background-color);
|
||||
color: var(--contribute-text-color);
|
||||
padding: 12px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.rst-content .contribute > p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/* Admonition tweaks */
|
||||
|
||||
.rst-content .admonition.note,
|
||||
|
||||
Reference in New Issue
Block a user