Skip to content

Commit 08697ef

Browse files
committed
theme: update color values to rgba matcornic#544
1 parent c25bc2a commit 08697ef

14 files changed

+403
-403
lines changed

static/css/auto-complete.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
text-align: start;
33
color-scheme: only light; /* set browser scrollbar color */
44
cursor: default;
5-
border: 1px solid #ccc;
5+
border: 1px solid rgba( 204, 204, 204, 1 );
66
border-top: 0;
7-
background: #fff;
8-
box-shadow: -1px 1px 3px rgba(0,0,0,.1);
7+
background: rgba( 255, 255, 255, 1 );
8+
box-shadow: -1px 1px 3px rgba( 0, 0, 0, .1 );
99

1010
/* core styles should not be changed */
1111
position: absolute;
@@ -25,17 +25,17 @@
2525
white-space: nowrap;
2626
overflow: hidden;
2727
text-overflow: ellipsis;
28-
color: #282828;
28+
color: rgba( 40, 40, 40, 1 );
2929
}
3030

3131
.autocomplete-suggestion b {
3232
font-weight: normal;
33-
color: #1f8dd6;
33+
color: rgba( 31, 141, 214, 1 );
3434
}
3535

3636
.autocomplete-suggestion.selected {
37-
background: #282828;
38-
color: #fff;
37+
background: rgba( 40, 40, 40, 1 );
38+
color: rgba( 255, 255, 255, 1 );
3939
}
4040

4141
.autocomplete-suggestion:hover,
@@ -47,8 +47,8 @@
4747
#searchresults .autocomplete-suggestion:hover > .context,
4848
#searchresults .autocomplete-suggestion:focus > .context,
4949
#searchresults .autocomplete-suggestion:active > .context {
50-
background: #383838;
51-
color: #fff;
50+
background: rgba( 56, 56, 56, 1 );
51+
color: rgba( 255, 255, 255, 1 );
5252
}
5353

5454
.autocomplete-suggestion > .context {

static/css/format-print.css

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ html{
1717
font-size: 8.763pt;
1818
}
1919
body {
20-
background-color: white;
20+
background-color: rgba( 255, 255, 255, 1 );
2121
}
2222
code.copy-to-clipboard-code {
2323
border-start-end-radius: 2px;
2424
border-end-end-radius: 2px;
2525
border-inline-end-width: 1px;
2626
}
2727
pre {
28-
border: 1px solid #ccc;
28+
border: 1px solid rgba( 204, 204, 204, 1 );
2929
}
3030
#body #topbar{
31-
background-color: #fff; /* avoid background bleeding*/
32-
border-bottom: 1px solid #ddd;
31+
background-color: rgba( 255, 255, 255, 1 ); /* avoid background bleeding*/
32+
border-bottom: 1px solid rgba( 221, 221, 221, 1 );
3333
border-radius: 0;
34-
color: #777;
34+
color: rgba( 119, 119, 119, 1 );
3535
padding-left: 0; /* for print, we want to align with the footer to ease the layout */
3636
padding-right: 0;
3737
}
@@ -54,27 +54,27 @@ pre {
5454

5555
#body h1, #body h2, #body h3, #body .article-subheading, #body h4, #body h5, #body h6 {
5656
/* better contrast for colored elements */
57-
color: black;
57+
color: rgba( 0, 0, 0, 1 );
5858
}
5959
#body th, #body td,
6060
#body code, #body strong, #body b,
6161
#body li, #body dd, #body dt,
6262
#body p,
6363
#body a, #body button, #body .badge .badge-content {
6464
/* better contrast for colored elements */
65-
color: black;
65+
color: rgba( 0, 0, 0, 1 );
6666
}
6767
#body .anchor{
6868
display: none;
6969
}
7070
#body pre,
7171
#body code {
72-
background-color: white;
73-
border-color: #ddd;
72+
background-color: rgba( 255, 255, 255, 1 );
73+
border-color: rgba( 221, 221, 221, 1 );
7474
}
7575

7676
hr{
77-
border-bottom: 1px solid #ddd;
77+
border-bottom: 1px solid rgba( 221, 221, 221, 1 );
7878
}
7979
body,
8080
#body,
@@ -87,7 +87,7 @@ body,
8787
}
8888

8989
#body #body-inner h1 {
90-
border-bottom: 1px solid #ddd;
90+
border-bottom: 1px solid rgba( 221, 221, 221, 1 );
9191
margin-bottom: 2rem;
9292
padding-bottom: .75rem;
9393
}
@@ -105,8 +105,8 @@ body,
105105

106106
.footline {
107107
/* in print mode show footer line to signal reader the end of document */
108-
border-top: 1px solid #ddd;
109-
color: #777;
108+
border-top: 1px solid rgba( 221, 221, 221, 1 );
109+
color: rgba( 119, 119, 119, 1 );
110110
margin-top: 1.5rem;
111111
padding-top: .75rem;
112112
}
@@ -138,7 +138,7 @@ body,
138138
position: inherit; /* IE11 doesn't know "initial" here */
139139
}
140140
#topbar > div {
141-
background-color: #ffffff; /* IE11 doesn't know "initial" here */
141+
background-color: rgba( 255, 255, 255, 1 ); /* IE11 doesn't know "initial" here */
142142
}
143143
#body .tab-nav-button:not(.active) {
144144
opacity: .5;
@@ -154,17 +154,17 @@ mark {
154154
border-color: transparent;
155155
}
156156
div.box > .box-content {
157-
background-color: white;
157+
background-color: rgba( 255, 255, 255, 1 );
158158
}
159159

160160
.btn,
161161
#body .tab-nav-button {
162-
color: black !important;
162+
color: rgba( 0, 0, 0, 1 ) !important;
163163
}
164164
#body .tab-nav-button.active {
165-
background-color: white !important;
166-
border-bottom-color: white !important;
167-
color: black;
165+
background-color: rgba( 255, 255, 255, 1 ) !important;
166+
border-bottom-color: rgba( 255, 255, 255, 1 ) !important;
167+
color: rgba( 0, 0, 0, 1 );
168168
}
169169
#body .tab-nav-button:not(.active) {
170170
opacity: 1;

0 commit comments

Comments
 (0)