Skip to content

Commit 5c87bf2

Browse files
committed
Add announcement block styling
For breaking and other changes so they get highlighted. Edited the first post to show the changes.
1 parent 4f2fead commit 5c87bf2

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

_posts/2014-02-06-version-0.14.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,17 @@ Ever used WP-CLI to install a plugin that broke WP-CLI? Well, now there's a 100%
2828

2929
You can also skip only particular plugins: `wp --skip-plugins=admin-blocker,complex-beast`.
3030

31-
### Breaking changes
31+
<div class="announcement breaking" markdown="1">
32+
33+
### <i class="icon-attention"></i> Breaking changes
3234

3335
* `wp term create`, `wp term update`, `wp term get` and `wp term delete` now accept the taxonomy as the first parameter, just like all the other term subcommands
3436

35-
### Other changes
37+
</div>
38+
39+
<div class="announcement changes" markdown="1">
40+
41+
### <i class="icon-info-circled"></i> Other changes
3642

3743
* added `wp post url`, `wp comment url` and `wp site url` subcommands
3844
* added `wp theme enable` and `wp theme disable` subcommands for multisite installs
@@ -56,6 +62,8 @@ You can also skip only particular plugins: `wp --skip-plugins=admin-blocker,comp
5662

5763
You can browse the full list of [resolved issues](https://github.com/wp-cli/wp-cli/issues?milestone=20&state=closed) on Github.
5864

65+
</div>
66+
5967
Contributors to this release: [bartaakos](https://github.com/bartaakos), [boonebgorges](https://github.com/boonebgorges), [danielbachhuber](https://github.com/danielbachhuber), [eliorivero](https://github.com/eliorivero), [francescolaffi](https://github.com/francescolaffi), [itsananderson](https://github.com/itsananderson), [Japh](https://github.com/Japh), [jmslbam](https://github.com/jmslbam), [johnbillion](https://github.com/johnbillion), [mboynes](https://github.com/mboynes), [mgburns](https://github.com/mgburns), [nb](https://github.com/nb), [rodrigoprimo](https://github.com/rodrigoprimo), [scribu](https://github.com/scribu), [sibprogrammer](https://github.com/sibprogrammer), [simonwheatley](https://github.com/simonwheatley), [SpikesDivZero](https://github.com/SpikesDivZero), [westonruter](https://github.com/westonruter), [ziz](https://github.com/ziz)
6068

6169
[subdir]: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

assets/css/stylesheet.css

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,24 @@ h1, h2, h3, h4, h5, h6 {
511511
}
512512

513513
.post-content {
514-
padding-bottom: 15px;
514+
padding-bottom: 1em;
515+
}
516+
517+
/* Accouncement within posts */
518+
.announcement {
519+
padding: 0.3em 1em 0.5em 1em;
520+
margin-bottom: 1em;
521+
}
522+
523+
.breaking {
524+
background: #eceaeb;
525+
}
526+
.breaking h3 i {
527+
color: #d84f09;
528+
}
529+
530+
.changes {
531+
background: #eceaeb;
515532
}
516533

517534
/* Pagination */

0 commit comments

Comments
 (0)