Skip to content

Commit 8337836

Browse files
committed
Minor styling refresh
1 parent 997e330 commit 8337836

File tree

4 files changed

+130
-29
lines changed

4 files changed

+130
-29
lines changed

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% include global-parameters.html %}
66
{% endif %}
77

8-
<footer>Project maintained by <a href="https://www.alainschlesser.com/">Alain Schlesser</a>. Initial code and previous maintenance by <a href="https://github.com/andreascreten">Andreas Creten</a>, <a href="https://github.com/scribu">Cristi Burc&#259;</a> and <a href="https://danielbachhuber.com/">Daniel Bachhuber</a>. For more details, see <a href="https://make.wordpress.org/cli/handbook/governance/">Governance</a>.</footer>
8+
<footer>Project maintained by <a href="https://www.alainschlesser.com/">Alain Schlesser</a> and <a href="https://www.pascalbirchler.com/">Pascal Birchler</a>. Initial code and previous maintenance by <a href="https://github.com/andreascreten">Andreas Creten</a>, <a href="https://github.com/scribu">Cristi Burc&#259;</a> and <a href="https://danielbachhuber.com/">Daniel Bachhuber</a>. For more details, see <a href="https://make.wordpress.org/cli/handbook/governance/">Governance</a>.</footer>
99

1010
{% include analytics.html %}
1111

_includes/navigation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<a href="https://github.com/wp-cli/wp-cli" class="btn-source rounded" target="_blank"><i class="icon-github-circled"></i></a>
2222
</li>
2323
<li>
24-
<a href="https://twitter.com/wpcli" class="btn-twitter rounded" target="_blank"><i class="icon-twitter"></i></a>
24+
<a href="https://x.com/wpcli" class="btn-twitter rounded" target="_blank"><i class="icon-twitter"></i></a>
2525
</li>
2626
</ul>
2727
</nav>

assets/css/stylesheet.css

Lines changed: 125 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
1+
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-spacing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
22

33
html { overflow-y: scroll; }
44

@@ -10,14 +10,11 @@ body {
1010
body {
1111
margin: 0;
1212
padding: 0;
13-
1413
background: #f1f1f1;
15-
16-
font-family: 'Open Sans', "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
17-
font: 16px;
14+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
15+
font-size: 18px;
1816
line-height: 1.6;
1917
color: #292929;
20-
2118
-webkit-font-smoothing: antialiased;
2219
}
2320

@@ -31,15 +28,17 @@ body {
3128

3229
section {
3330
display: block;
34-
margin: 0 0 20px 0;
31+
margin: 0 0 40px 0;
3532
}
3633

3734
h1, h2, h3, h4, h5, h6 {
38-
margin: 1em 0 0 0;
35+
margin: 2em 0 0.5em 0;
3936
color: #333;
4037
font-weight: normal;
4138
}
4239

40+
h1 { margin-top: 1em; }
41+
4342
h3, h4 {
4443
font-weight: 600;
4544
}
@@ -103,9 +102,12 @@ nav ul li:before {
103102
}
104103

105104
blockquote {
106-
color: #888;
107-
padding-left: 10px;
108-
border-left: 1px dotted #666;
105+
color: #666;
106+
padding: 10px 20px;
107+
margin: 1.5em 0;
108+
border-left: 4px solid #ddd;
109+
background: rgba(0,0,0,0.03);
110+
border-radius: 0 4px 4px 0;
109111
}
110112

111113

@@ -124,7 +126,11 @@ table {
124126

125127
th, td {
126128
vertical-align: top;
127-
padding: 0.5em 1em;
129+
padding: 12px 16px;
130+
}
131+
132+
tr:hover td {
133+
background-color: #f9f9f9;
128134
}
129135

130136
th {
@@ -171,7 +177,15 @@ a {
171177
transition-duration: 0.05s;
172178
transition-property: border, background, color;
173179
transition-timing-function: ease-in-out;
180+
text-decoration-thickness: 1px;
181+
text-underline-offset: 3px;
174182
}
183+
184+
:focus-visible {
185+
outline: 2px solid #0074A2;
186+
outline-offset: 2px;
187+
}
188+
175189
a:hover, a:active {
176190
color: #2EA2CC;
177191
}
@@ -185,7 +199,6 @@ a:focus {
185199
code,
186200
pre {
187201
color: #f1f1f1;
188-
text-shadow: 0 1px rgba(0,0,0,0.3);
189202
font-family: Consolas, "Liberation Mono", Courier, monospace;
190203
direction: ltr;
191204
text-align: left;
@@ -313,7 +326,7 @@ footer {
313326
clear: both;
314327
display: block;
315328
text-align: center;
316-
font-size: 10px;
329+
font-size: 14px;
317330
margin: 20px 10px 40px 10px;
318331
}
319332

@@ -420,6 +433,8 @@ footer {
420433

421434
.main-nav .search:focus {
422435
width: 180px;
436+
outline: none;
437+
box-shadow: 0 0 0 2px rgba(122, 208, 58, 0.5);
423438
}
424439
.main-nav .btn-search {
425440
display: none;
@@ -563,22 +578,20 @@ body.configuration .global-parameters{
563578

564579
.btn {
565580
display: inline-block;
566-
background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.3), rgba(35, 35, 35, 0.3) 50%, rgba(10, 10, 10, 0.3) 50%, rgba(0, 0, 0, 0.3));
567-
padding: 8px 18px;
581+
background: #333;
582+
padding: 10px 24px;
568583
border-radius: 50px;
569-
border: 2px solid rgba(0, 0, 0, 0.7);
570-
border-bottom: 2px solid rgba(0, 0, 0, 0.7);
571-
border-top: 2px solid rgba(0, 0, 0, 1);
572-
color: rgba(255, 255, 255, 0.8);
573-
font-family: Helvetica, Arial, sans-serif;
584+
border: none;
585+
color: #fff;
586+
font-family: inherit;
574587
font-weight: bold;
575-
font-size: 13px;
588+
font-size: 14px;
576589
text-decoration: none;
577-
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
590+
transition: background 0.2s ease;
578591
}
579592

580593
.btn:hover {
581-
background: -webkit-linear-gradient(top, rgba(40, 40, 40, 0.6), rgba(35, 35, 35, 0.6) 50%, rgba(10, 10, 10, 0.8) 50%, rgba(0, 0, 0, 0.8));
594+
background: #444;
582595
}
583596

584597
.btn .icon {
@@ -737,3 +750,91 @@ hr:after,
737750
padding-right: 9px;
738751
}
739752
}
753+
754+
@media (prefers-color-scheme: dark) {
755+
body {
756+
background: #121212;
757+
color: #e0e0e0;
758+
}
759+
h1, h2, h3, h4, h5, h6 {
760+
color: #ffffff !important;
761+
}
762+
a {
763+
color: #4da6ff;
764+
}
765+
a:hover, a:active {
766+
color: #80c1ff;
767+
}
768+
.global-parameters {
769+
background: #1e1e1e;
770+
color: #ccc;
771+
}
772+
.global-parameters code {
773+
color: #4da6ff;
774+
}
775+
th, td, .horizontal th, .horizontal tr:nth-child(even) th, tr:nth-child(even) td {
776+
background: #1e1e1e;
777+
border-bottom: 1px solid #333;
778+
}
779+
code {
780+
background: #2a2a2a;
781+
color: #f1f1f1;
782+
}
783+
pre code {
784+
border: 1px solid #333;
785+
}
786+
blockquote {
787+
color: #ccc;
788+
border-left-color: #444;
789+
background: rgba(255,255,255,0.05);
790+
}
791+
.social-nav .rounded {
792+
background: #333;
793+
color: #ccc;
794+
}
795+
.social-nav .rounded:hover {
796+
color: #7AD03A;
797+
}
798+
header {
799+
background: #000;
800+
}
801+
header h1 {
802+
color: #f5f5f5;
803+
}
804+
.header-link {
805+
color: #888;
806+
}
807+
.header-link:hover {
808+
color: #ffffff;
809+
}
810+
input, textarea, select, button {
811+
background: #2a2a2a;
812+
color: #fff;
813+
border: 1px solid #444;
814+
}
815+
fieldset {
816+
border-color: #444;
817+
}
818+
tr:hover td {
819+
background-color: #252525 !important;
820+
}
821+
/* List separators and symbols */
822+
ul li:before {
823+
color: #aaa;
824+
}
825+
hr:after, .hentry:after {
826+
background: #444;
827+
}
828+
.hentry + .hentry:before {
829+
background: #121212;
830+
color: #666;
831+
}
832+
/* Sponsor logos with transparent backgrounds */
833+
a > img[src*="make.wordpress.org/cli/files"] {
834+
background: #fff;
835+
padding: 15px;
836+
border-radius: 8px;
837+
display: inline-block;
838+
box-sizing: border-box;
839+
}
840+
}

index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Ongoing maintenance is made possible by:
3131
</a>
3232
</div>
3333

34-
The current stable release is [version 2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). For announcements, follow [@wpcli on Twitter](https://twitter.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases.
34+
The current stable release is [version 2.12.0](https://make.wordpress.org/cli/2025/05/07/wp-cli-v2-12-0-release-notes/). For announcements, follow [@wpcli on X](https://x.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases.
3535

3636
[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open")
3737

@@ -159,7 +159,7 @@ If you didn't find an answer in one of the venues above, you can:
159159

160160
GitHub issues are meant for tracking enhancements to and bugs of existing commands, not general support. Before submitting a bug report, please [review our best practices](https://make.wordpress.org/cli/handbook/bug-reports/) to help ensure your issue is addressed in a timely manner.
161161

162-
Please do not ask support questions on Twitter. Twitter isn't an acceptable venue for support because: 1) it's hard to hold conversations in under 280 characters, and 2) Twitter isn't a place where someone with your same question can search for an answer in a prior conversation.
162+
Please do not ask support questions on X. X isn't an acceptable venue for support because: 1) it's hard to hold conversations in under 280 characters, and 2) X isn't a place where someone with your same question can search for an answer in a prior conversation.
163163

164164
Remember, libre != gratis; the open source license grants you the freedom to use and modify, but not commitments of other people's time. Please be respectful, and set your expectations accordingly.
165165

@@ -209,7 +209,7 @@ Read through our [contributing guidelines in the handbook](https://make.wordpres
209209

210210
## Leadership
211211

212-
WP-CLI has one project maintainer: [schlessera](https://github.com/schlessera).
212+
WP-CLI has two project maintainers: [schlessera](https://github.com/schlessera) and [swissspidy](https://github.com/swissspidy).
213213

214214
On occasion, we [grant write access to contributors](https://make.wordpress.org/cli/handbook/committers-credo/) who have demonstrated, over a period of time, that they are capable and invested in moving the project forward.
215215

0 commit comments

Comments
 (0)