Skip to content

Commit 3173478

Browse files
authored
Update extra.css
blog was showing `back to index` link incorrectly so modified that such that primary colour is only for mobile.
1 parent 438064d commit 3173478

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/assets/stylesheets/extra.css

+11-3
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,17 @@
322322
display: flex;
323323
}
324324
/******************************mobile navigation************************************************/
325-
.md-nav--primary .md-nav__title {
326-
background-color: var(--md-primary-fg-color);
327-
color: var(--md-primary-bg-color);
325+
@media screen and (max-width:76.234375em) {
326+
.md-nav--primary .md-nav__title {
327+
background-color:var(--md-primary-fg-color);
328+
color:var(--md-primary-bg-color);
329+
cursor:pointer;
330+
height:5.6rem;
331+
line-height:2.4rem;
332+
padding:3rem .8rem .2rem;
333+
position:relative;
334+
white-space:nowrap
335+
}
328336
}
329337
/******************************Blog pagination style override************************************************/
330338
.md-pagination>* {

0 commit comments

Comments
 (0)