-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy paththeme-opensds.css
More file actions
145 lines (119 loc) · 4.07 KB
/
theme-opensds.css
File metadata and controls
145 lines (119 loc) · 4.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
:root{
--MAIN-TEXT-color:#000000; /* Color of text by default */
--MAIN-TITLES-TEXT-color: #000000; /* Color of titles h2-h3-h4-h5 */
--MAIN-LINK-color:#243680; /* Color of links */
--MAIN-LINK-HOVER-color:#3453d1; /* Color of hovered links */
--MAIN-ANCHOR-color: #243680; /* color of anchors on titles */
--MENU-HEADER-BG-color:#243680; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#446aff; /*Color of menu header border */
--MENU-SEARCH-BG-color:#3453d1; /* Search field background color (by default borders + icons) */
--MENU-SEARCH-BOX-color: #446aff; /* Override search field border color */
--MENU-SEARCH-BOX-ICONS-color: #a1d2fd; /* Override search field icons color */
--MENU-SECTIONS-ACTIVE-BG-color:#20272b; /* Background color of the active section and its childs */
--MENU-SECTIONS-BG-color:#252c31; /* Background color of other sections */
--MENU-SECTIONS-LINK-color: #fff; /* Color of links in menu */
--MENU-SECTIONS-LINK-HOVER-color: #ccc; /* Color of links in menu, when hovered */
--MENU-SECTION-ACTIVE-CATEGORY-color: #777; /* Color of active category text */
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #fff; /* Color of background for the active category (only) */
--MENU-VISITED-color: #446aff; /* Color of 'page visited' icons in menu */
--MENU-SECTION-HR-color: #20272b; /* Color of <hr> separator in menu */
}
body {
color: var(--MAIN-TEXT-color) !important;
}
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 {
border-color: none;
box-shadow: none;
}
h2, h3, h4, h5 {
color: var(--MAIN-TITLES-TEXT-color) !important;
}
h1{
font-size: 2.75rem !important;
font-weight: 600 !important;
}
h2{
font-size: 2rem !important;
line-height: 100% !important;
margin: 1.5rem 0 0.75rem 0;
}
h3{
font-size: 1.7rem !important;
line-height: 100% !important;
margin: 1.5rem 0 0.75rem 0;
}
h4{
font-size: 1.5rem !important;
line-height: 100% !important;
margin: 1.5rem 0 0.75rem 0;
}
a {
color: var(--MAIN-LINK-color);
font-weight: 400 !important;
}
.anchor {
color: var(--MAIN-ANCHOR-color);
}
a:hover {
color: var(--MAIN-LINK-HOVER-color);
}
#sidebar ul li.visited > a .read-icon {
color: var(--MENU-VISITED-color);
}
#body a.highlight:after {
display: block;
content: "";
height: 1px;
width: 0%;
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
transition: width 0.5s ease;
background-color: var(--MAIN-LINK-HOVER-color);
}
#sidebar {
background-color: var(--MENU-SECTIONS-BG-color);
}
#sidebar #header-wrapper {
background: var(--MENU-HEADER-BG-color);
color: var(--MENU-SEARCH-BOX-color);
border-color: var(--MENU-HEADER-BORDER-color);
}
#sidebar .searchbox {
border-color: var(--MENU-SEARCH-BOX-color);
background: var(--MENU-SEARCH-BG-color);
}
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
}
#sidebar .searchbox * {
color: var(--MENU-SEARCH-BOX-ICONS-color);
}
#sidebar a {
color: var(--MENU-SECTIONS-LINK-color);
}
#sidebar a:hover {
color: var(--MENU-SECTIONS-LINK-HOVER-color);
}
#sidebar ul li.active > a {
background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
}
#sidebar hr {
border-color: var(--MENU-SECTION-HR-color);
}
#sidebar #shortcuts h3{
color: #f3f3f3 !important;
}
div#menu-footer-social-links-container{
margin: 1rem 0 0 3rem;
}
a.footer-social-links{
padding: 0.35rem;
}
.social-list {
list-style: none;
}
.social-list-item {
margin-right: 8px;
}