diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 00:11:16 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-13 00:11:16 -0600 |
commit | db4b3736d4f45137a733ce5eb1e50aec968ca1d2 (patch) | |
tree | a68b12886c8fbf9952c19a4f3cc7f819a6913bfe /pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid | |
parent | ca643e729e585d4077c0e84de97a020d04bf551a (diff) |
update pyssg.xyz site files
Diffstat (limited to 'pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid')
-rw-r--r-- | pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less | 43 | ||||
-rw-r--r-- | pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less | 18 |
2 files changed, 61 insertions, 0 deletions
diff --git a/pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less b/pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less new file mode 100644 index 0000000..7aca7db --- /dev/null +++ b/pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less @@ -0,0 +1,43 @@ +.gg { .gg(); } +.gg-fixed { table-layout: fixed; } +.gg-col { .gg-col(); } +.gg-row { display: table-row; } +.gg-min-width { width: 1%; } + +.gg-top { vertical-align: top; } +.gg-middle { vertical-align: middle; } +.gg-bottom { vertical-align: bottom; } + +.gg-padded { + margin-left: -1rem; + margin-right: -1rem; + .gg { border-spacing: 1rem 0; } +} + +.gg-col-1, +.gg-col-2, +.gg-col-3, +.gg-col-4, +.gg-col-5, +.gg-col-6, +.gg-col-7, +.gg-col-8, +.gg-col-9, +.gg-col-10, +.gg-col-11, +.gg-col-12 { + .gg-col(); +} + +.gg-col-1 { .gg-make-col(1,12); } +.gg-col-2 { .gg-make-col(2,12); } +.gg-col-3 { .gg-make-col(3,12); } +.gg-col-4 { .gg-make-col(4,12); } +.gg-col-5 { .gg-make-col(5,12); } +.gg-col-6 { .gg-make-col(6,12); } +.gg-col-7 { .gg-make-col(7,12); } +.gg-col-8 { .gg-make-col(8,12); } +.gg-col-9 { .gg-make-col(9,12); } +.gg-col-10 { .gg-make-col(10,12); } +.gg-col-11 { .gg-make-col(11,12); } +.gg-col-12 { .gg-make-col(12,12); } diff --git a/pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less b/pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less new file mode 100644 index 0000000..49c7749 --- /dev/null +++ b/pyssg.xyz/live/static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less @@ -0,0 +1,18 @@ +.gg { + display: table; + width: 100%; + vertical-align: middle; +} + +.gg-col { + display: table-cell; + vertical-align: inherit; +} + +.gg-vertical-align(@align) { + vertical-align: @align; +} + +.gg-make-col(@column-width, @total-columns) { + width: (100% / @total-columns * @column-width); +} |