Skip to content

Commit

Permalink
Merge pull request #50 from tobias-urdin/logo
Browse files Browse the repository at this point in the history
Update logo and colors
  • Loading branch information
tobias-urdin authored May 15, 2024
2 parents 10471d4 + dd6f66d commit 4f6e55b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
Binary file removed _static/bg.jpg
Binary file not shown.
Binary file removed _static/bgred.png
Binary file not shown.
Binary file removed _static/bgredcloud.png
Binary file not shown.
Binary file removed _static/binbg.webp
Binary file not shown.
Binary file added _static/binero.ico
Binary file not shown.
24 changes: 12 additions & 12 deletions _static/color.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ button[data-md-color-primary] {
}

[data-md-color-primary=binero] .md-container {
background-image: url('bgredcloud.png') !important;
background: linear-gradient(58deg, rgba(255,255,255,1) 62%, rgba(247,176,91,1) 85%) !important;
background-attachment: fixed;
background-size: cover;
}
Expand All @@ -25,11 +25,11 @@ button[data-md-color-primary]:hover {
}

button[data-md-color-primary=binero] {
background-color: #ff0028
background-color: #f7b05b
}

[data-md-color-primary=binero] .md-typeset a {
color: #ff0028
color: #f7b05b
}

[data-md-color-primary=binero] .md-header,
Expand All @@ -39,7 +39,7 @@ button[data-md-color-primary=binero] {

[data-md-color-primary=binero] .md-nav__link--active,
[data-md-color-primary=binero] .md-nav__link:active {
color: #ff0028
color: #f7b05b
}

[data-md-color-primary=binero] .md-nav__item--nested>.md-nav__link {
Expand Down Expand Up @@ -97,37 +97,37 @@ button[data-md-color-accent=binero] {

@media only screen and (max-width:76.1875em) {
html [data-md-color-primary=binero] .md-nav--primary .md-nav__title--site {
background-color: #ff0028
background-color: #f7b05b
}
}

@media only screen and (min-width:76.25em) {
[data-md-color-primary=binero] .md-tabs {
background-color: #ff0028
background-color: #f7b05b
}
}
:root, [data-md-color-scheme=default] {
--md-typeset-a-color: #ff0028;
--md-typeset-a-color: #f7b05b;
}

.md-nav__link:is(:focus,:hover) {
color: #ff0028;
color: #f7b05b;
}

.md-nav__item .md-nav__link--active {
color: #ff0028 !important;
color: #f7b05b !important;
}

.md-nav__link:-webkit-any(:focus,:hover) {
color: #ff0028 !important;
color: #f7b05b !important;
}

.md-nav__link:-moz-any(:focus,:hover) {
color: #ff0028 !important;
color: #f7b05b !important;
}

.md-nav__link:is(:focus,:hover) {
color: #ff0028 !important;
color: #f7b05b !important;
}

.md-nav__sticky {
Expand Down
11 changes: 5 additions & 6 deletions _static/color_dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ button[data-md-color-primary] {
}

[data-md-color-primary=binero-dark] .md-container {
/* background-image: url('bgred.png') !important; */
background-attachment: fixed;
background-size: cover;
}
Expand All @@ -23,11 +22,11 @@ button[data-md-color-primary]:hover {
}

button[data-md-color-primary=binero-dark] {
background-color: #ff0028
background-color: #f7b05b
}

[data-md-color-primary=binero-dark] .md-typeset a {
color: #ff0028
color: #f7b05b
}

[data-md-color-primary=binero-dark] .md-header,
Expand All @@ -37,7 +36,7 @@ button[data-md-color-primary=binero-dark] {

[data-md-color-primary=binero-dark] .md-nav__link--active,
[data-md-color-primary=binero-dark] .md-nav__link:active {
color: #ff0028
color: #f7b05b
}

[data-md-color-primary=binero-dark] .md-nav__item--nested>.md-nav__link {
Expand Down Expand Up @@ -95,12 +94,12 @@ button[data-md-color-accent=binero-dark] {

@media only screen and (max-width:76.1875em) {
html [data-md-color-primary=binero-dark] .md-nav--primary .md-nav__title--site {
background-color: #ff0028
background-color: #f7b05b
}
}

@media only screen and (min-width:76.25em) {
[data-md-color-primary=binero-dark] .md-tabs {
background-color: #ff0028
background-color: #f7b05b
}
}
Binary file modified _static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions _static/overrides.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.mjjd-container {
/* background-image: url('bgred.png') !important; */
background-attachment: fixed;
background-size: cover;
}
Expand Down Expand Up @@ -33,7 +32,7 @@
}

.md-typeset :is(.admonition,details):is(.important) {
border-color: #ff0028 !important;
border-color: #f7b05b !important;
}

.md-header__topic:first-child {
Expand Down
1 change: 1 addition & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
#
html_theme = 'sphinx_immaterial'
html_logo = '_static/logo.png'
html_favicon = '_static/binero.ico'
html_title = 'Binero Documentation'

html_show_copyright = False
Expand Down

0 comments on commit 4f6e55b

Please sign in to comment.