Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataLad Colors #292

Merged
merged 4 commits into from
Dec 5, 2019
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
32 changes: 27 additions & 5 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/* force the arrow into the same line */
.toggle .header p {display: inline; }
/*text color for fat text*/
.toggle .header strong {color: #2980b9 }
.toggle .header strong {color: #ffa200 }


.toggle .header:before {
Expand All @@ -20,12 +20,12 @@

.toggle {
display: block;
border: 1px solid #2980b9;
border: 1px solid #333333ff;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 10px;
background: rgba(41,128,185,0.1);
background: #eee;
}

/* make TODOslook plain and stand out at the same time
Expand All @@ -39,8 +39,9 @@ div.admonition-todo {
* idea is to clearly set them apart from the normal
* content, because they should be completely optional */
div.gitusernote {
background-color: #c3ebffff;
border: 1px solid #7fd4ffff;
background-color: rgba(62, 44, 0, 0.2);
border: 2px solid rgba(241, 80, 47, 1);
border-style: groove;
}

div.sphinxsidebar {
Expand All @@ -60,3 +61,24 @@ div.body li, div.body dd {
table.docutils .justify-align {
text-align: justify;
}


progress {
color: #ffa200;
}

progress::-webkit-progress-value {
background: #ffa200;
}

progress::-moz-progress-bar {
background: #ffa200;
}

progress::-webkit-progress-value {
background: #ffa200;
}

progress::-webkit-progress-bar {
background: #ffa200;
}
13 changes: 13 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,19 @@
\usepackage[defaultsans]{lato}
\usepackage{inconsolata}
\setcounter{tocdepth}{0}
\usepackage{xcolor}
\newsavebox\mytempbox
\definecolor{sphinxnoteBgColor}{RGB}{255, 193, 84}
\renewenvironment{sphinxnote}[1]
{\begin{lrbox}{\mytempbox}\begin{minipage}{\columnwidth}%
\begin{sphinxlightbox}\sphinxstrong{#1} }
{\end{sphinxlightbox}\end{minipage}\end{lrbox}%
\colorbox{sphinxnoteBgColor}{\usebox{\mytempbox}}}
\renewenvironment{sphinximportant}[2]
{\begin{lrbox}{\mytempbox}\begin{minipage}{\columnwidth}%
\begin{sphinxlightbox}\sphinxstrong{#1} }
{\end{sphinxlightbox}\end{minipage}\end{lrbox}%
\colorbox{sphinxnoteBgColor}{\usebox{\mytempbox}}}
""",
}

Expand Down