mirror of
https://github.com/primer/css.git
synced 2024-11-28 04:43:05 +03:00
Merge pull request #133 from primer/text-center
Adding a .text-center class to utilities
This commit is contained in:
commit
0ad183b196
@ -1,23 +1,23 @@
|
||||
# [primer]( http://primercss.io )
|
||||
|
||||
**Version:** `2.2.0`
|
||||
**Version:** `2.2.1`
|
||||
|
||||
## Parker Report
|
||||
|
||||
### css/primer.css
|
||||
|
||||
- **Total Stylesheets:** 1
|
||||
- **Total Stylesheet Size:** 27336
|
||||
- **Total Stylesheet Size:** 27385
|
||||
- **Total Media Queries:** 1
|
||||
- **Total Rules:** 360
|
||||
- **Selectors Per Rule:** 1.4833333333333334
|
||||
- **Total Selectors:** 534
|
||||
- **Identifiers Per Selector:** 2.1273408239700373
|
||||
- **Specificity Per Selector:** 16.46441947565543
|
||||
- **Total Rules:** 361
|
||||
- **Selectors Per Rule:** 1.481994459833795
|
||||
- **Total Selectors:** 535
|
||||
- **Identifiers Per Selector:** 2.1252336448598133
|
||||
- **Specificity Per Selector:** 16.452336448598132
|
||||
- **Top Selector Specificity:** 50
|
||||
- **Top Selector Specificity Selector:** .fullscreen-overlay-enabled.dark-theme .tooltipped .tooltipped-s:before
|
||||
- **Total Id Selectors:** 0
|
||||
- **Total Identifiers:** 1136
|
||||
- **Total Declarations:** 899
|
||||
- **Total Unique Colors:** 78
|
||||
- **Total Identifiers:** 1137
|
||||
- **Total Declarations:** 900
|
||||
- **Total Unique Colors:** 79
|
||||
- **Total Important Keywords:** 1
|
||||
|
File diff suppressed because one or more lines are too long
@ -68,6 +68,7 @@ Change the `text-align` on elements with a class.
|
||||
{% example html %}
|
||||
<p class="text-left">Left aligned text.</p>
|
||||
<p class="text-right">Right aligned text.</p>
|
||||
<p class="text-center">Center aligned text.</p>
|
||||
{% endexample %}
|
||||
|
||||
## Text color
|
||||
|
@ -4,6 +4,7 @@
|
||||
"homepage": "http://primercss.io",
|
||||
"author": "GitHub, Inc.",
|
||||
"scss": "./scss/primer.scss",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/primer/primer.git"
|
||||
|
@ -25,6 +25,8 @@
|
||||
|
||||
.text-left { text-align: left; }
|
||||
|
||||
.text-center { text-align: center; }
|
||||
|
||||
|
||||
// Text states
|
||||
.danger { color: #c00; }
|
||||
|
Loading…
Reference in New Issue
Block a user