Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.

Commit 2d0e41d

Browse files
author
Mathieu Benoit
committed
theme-mine
1 parent 4b2fd35 commit 2d0e41d

File tree

2 files changed

+88
-1
lines changed

2 files changed

+88
-1
lines changed

config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ googleAnalytics = 'G-34LNWT3M12'
1515
showVisitedLinks = true
1616
disableBreadcrumb = false
1717
disableNextPrev = false
18-
themeVariant = "blue"
18+
themeVariant = "mine"

static/css/theme-mine.css

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
:root{
2+
--MAIN-TEXT-color:#323232; /* Color of text by default */
3+
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
4+
--MAIN-LINK-color:#466bb0; /* Color of links */
5+
--MAIN-LINK-HOVER-color:#466bb0; /* Color of hovered links */
6+
--MAIN-ANCHOR-color: #466bb0; /* color of anchors on titles */
7+
--MENU-HEADER-BG-color:#466bb0; /* Background color of menu header */
8+
--MENU-HEADER-BORDER-color:#466bb0; /*Color of menu header border */
9+
--MENU-SEARCH-BG-color:#466bb0; /* Search field background color (by default borders + icons) */
10+
--MENU-SEARCH-BOX-color: #466bb0; /* Override search field border color */
11+
--MENU-SEARCH-BOX-ICONS-color: #466bb0; /* Override search field icons color */
12+
--MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */
13+
--MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */
14+
--MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
15+
--MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
16+
--MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
17+
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
18+
--MENU-VISITED-color: #466bb0; /* Color of 'page visited' icons in menu */
19+
--MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
20+
}
21+
body {
22+
color: var(--MAIN-TEXT-color) !important;
23+
}
24+
textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
25+
border-color: none;
26+
box-shadow: none;
27+
}
28+
h2, h3, h4, h5 {
29+
color: var(--MAIN-TITLES-TEXT-color) !important;
30+
}
31+
a {
32+
color: var(--MAIN-LINK-color);
33+
}
34+
.anchor {
35+
color: var(--MAIN-ANCHOR-color);
36+
}
37+
a:hover {
38+
color: var(--MAIN-LINK-HOVER-color);
39+
}
40+
#sidebar ul li.visited > a .read-icon {
41+
color: var(--MENU-VISITED-color);
42+
}
43+
#body a.highlight:after {
44+
display: block;
45+
content: "";
46+
height: 1px;
47+
width: 0%;
48+
-webkit-transition: width 0.5s ease;
49+
-moz-transition: width 0.5s ease;
50+
-ms-transition: width 0.5s ease;
51+
transition: width 0.5s ease;
52+
background-color: var(--MAIN-LINK-HOVER-color);
53+
}
54+
#sidebar {
55+
background-color: var(--MENU-SECTIONS-BG-color);
56+
}
57+
#sidebar #header-wrapper {
58+
background: var(--MENU-HEADER-BG-color);
59+
color: var(--MENU-SEARCH-BOX-color);
60+
border-color: var(--MENU-HEADER-BORDER-color);
61+
}
62+
#sidebar .searchbox {
63+
border-color: var(--MENU-SEARCH-BOX-color);
64+
background: var(--MENU-SEARCH-BG-color);
65+
}
66+
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
67+
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
68+
}
69+
#sidebar a {
70+
color: var(--MENU-SECTIONS-LINK-color);
71+
}
72+
#sidebar a:hover {
73+
color: var(--MENU-SECTIONS-LINK-HOVER-color);
74+
}
75+
#sidebar ul li.active > a {
76+
background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
77+
color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
78+
}
79+
#sidebar hr {
80+
border-color: var(--MENU-SECTION-HR-color);
81+
}
82+
#homelinks {
83+
background-color: var(--MENU-HEADER-BG-color);
84+
color: #fff;
85+
padding: 7px 0;
86+
border-bottom: 4px solid var(--MENU-HEADER-BG-color);
87+
}

0 commit comments

Comments
 (0)