Skip to content

Commit 9847137

Browse files
committed
docs: added logo
-fixed night mode Issue-ref: see #12
1 parent dd219ae commit 9847137

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

docs/_assets/css/score.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ html[data-theme="dark"] {
3737
--pst-color-table-row-hover-bg: var(--pst-color-secondary); /*#30353e;*/
3838
}
3939

40+
html[data-theme="dark"] #logo_center_light {
41+
display:none;
42+
}
43+
44+
html[data-theme="light"] #logo_center_drk {
45+
display:none;
46+
}
47+
4048
.search-button-field {
4149
color: var(--pst-color-primary);
4250
}
@@ -186,3 +194,8 @@ html[data-theme="dark"] #score-title {
186194
0% { opacity: 0; }
187195
100% { opacity: 1; }
188196
}
197+
198+
#logo_center_drk {
199+
background-color: transparent;
200+
}
201+

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ SCORE (Eclipse Safe Open Vehicle Core)
3434
<div id="fullScreenDiv">
3535
<div id="score-title">
3636

37-
<img class="logo_center" src="_static/S-CORE_Logo_RGB.svg" width="600px"/>
37+
<img id="logo_center_light" class="logo" src="_static/S-CORE_Logo_RGB.svg" width="600px"/>
38+
<img id="logo_center_drk" class="logo" src="_static/S-CORE_Logo_white.svg" width="600px"/>
3839
<span id="score-phrase">BUILD THE BEST AUTOMOTIVE RUNTIME SOLUTION ONLY ONCE</span>
3940
</div>
4041
</div>

0 commit comments

Comments
 (0)