Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/_assets/S-CORE_Logo_CMYK.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_assets/S-CORE_Logo_RGB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions docs/_assets/S-CORE_Logo_RGB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_assets/S-CORE_Logo_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions docs/_assets/S-CORE_Logo_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/_assets/css/score.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ html[data-theme="dark"] {
--pst-color-table-row-hover-bg: var(--pst-color-secondary); /*#30353e;*/
}

html[data-theme="dark"] #logo_center_light {
display:none;
}

html[data-theme="light"] #logo_center_drk {
display:none;
}

.search-button-field {
color: var(--pst-color-primary);
}
Expand Down Expand Up @@ -186,3 +194,8 @@ html[data-theme="dark"] #score-title {
0% { opacity: 0; }
100% { opacity: 1; }
}

#logo_center_drk {
background-color: transparent;
}

5 changes: 2 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"css/score.css",
]

html_logo = "_assets/S-CORE_Logo_white.svg"

html_theme_options = {
"external_links": [
{"name": "Docs", "url": "https://eclipse-score.github.io/score/"},
Expand All @@ -60,9 +62,6 @@
],
"use_edit_page_button": True, # https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/source-buttons.html#add-an-edit-button
"collapse_navigation": True,
"logo": {
"text": "Eclipse SCORE",
},
}

html_context = {
Expand Down
5 changes: 3 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ SCORE (Eclipse Safe Open Vehicle Core)
<div id="videowrapper">
<div id="fullScreenDiv">
<div id="score-title">
Eclipse SCORE
<span id="score-subtitle">Eclipse Safe Open Vehicle Core</span>

<img id="logo_center_light" class="logo" src="_static/S-CORE_Logo_RGB.svg" width="600px"/>
<img id="logo_center_drk" class="logo" src="_static/S-CORE_Logo_white.svg" width="600px"/>
<span id="score-phrase">BUILD THE BEST AUTOMOTIVE RUNTIME SOLUTION ONLY ONCE</span>
</div>
</div>
Expand Down