@cube-drone/marquee-css 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/marquee.css +29 -0
  2. package/package.json +1 -1
package/marquee.css CHANGED
@@ -77,6 +77,35 @@
77
77
  font-size: 0.75em;
78
78
  }
79
79
 
80
+ /* ---- :::center / :::right / :::left - the <center> tag back from the
81
+ dead, with siblings. Inline content aligns via text-align; block
82
+ children that size themselves (tables) follow via margins. Physical
83
+ directions on purpose. ---- */
84
+
85
+ .mq-center {
86
+ text-align: center;
87
+ }
88
+
89
+ .mq-right {
90
+ text-align: right;
91
+ }
92
+
93
+ .mq-left {
94
+ text-align: left;
95
+ }
96
+
97
+ .mq-center .mq-table {
98
+ margin-inline: auto;
99
+ }
100
+
101
+ .mq-right .mq-table {
102
+ margin-left: auto;
103
+ }
104
+
105
+ .mq-left .mq-table {
106
+ margin-right: auto;
107
+ }
108
+
80
109
  /* ---- tables: paragraph-rows and [c] cells (SPEC.md, "Tables") ---- */
81
110
 
82
111
  .mq-table {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cube-drone/marquee-css",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "The Marquee reference stylesheet: the mq-* class contract every renderer targets",
5
5
  "license": "MPL-2.0",
6
6
  "repository": {