diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-01 03:21:33 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-01 03:21:33 -0600 |
commit | 6d2c067f0d6bc78eef7ececcec3eba71cbb5d80c (patch) | |
tree | feb9c3b13d2603526fee6fbd876f5bd8dfe5bcf2 /static/fork-awesome/src/doc/assets/less/gandy-grid | |
parent | bda8405ebdf2cad9cd2f316d6e5371fece798353 (diff) |
add fork awesome, contact and donate pages, update general style and update readme
Diffstat (limited to 'static/fork-awesome/src/doc/assets/less/gandy-grid')
-rw-r--r-- | static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less | 43 | ||||
-rw-r--r-- | static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less | 18 |
2 files changed, 61 insertions, 0 deletions
diff --git a/static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less b/static/fork-awesome/src/doc/assets/less/gandy-grid/grid.less new file mode 100644 index 0000000..7aca7db --- /dev/null +++ b/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/static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less b/static/fork-awesome/src/doc/assets/less/gandy-grid/mixins.less new file mode 100644 index 0000000..49c7749 --- /dev/null +++ b/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); +} |