Making WordPress.org


Ignore:
Timestamp:
02/09/2018 06:40:03 PM (9 years ago)
Author:
obenland
Message:

Main: Add first pass of about/logos.

See #3046.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/css/base/_kube.scss

    r6579 r6580  
    7070        .last-sm  { order: 1;  }
    7171}
     72
     73// Push
     74.gutters .column.push-left,
     75.push-left  { margin-right: auto; }
     76
     77.gutters .column.push-right,
     78.push-right  { margin-left: auto; }
     79
     80.gutters .column.push-center,
     81.push-center { margin-left: auto; margin-right: auto; }
     82
     83.gutters .column.push-middle,
     84.push-middle { margin-top:  auto; margin-bottom: auto; }
     85
     86.push-bottom { margin-top:  auto; }
     87
     88@include breakpoint(sm) {
     89
     90        .gutters .column.push-left-sm,
     91        .push-left-sm   { margin-left: 0; }
     92
     93        .gutters .column.push-center-sm,
     94        .push-center-sm { margin-left: auto; margin-right: auto;}
     95
     96        .push-top-sm    { margin-top: 0;  }
     97
     98}
     99
     100// Flex Alignment
     101.align-middle {
     102        @include flex-items-middle;
     103}
     104.align-right {
     105        @include flex-items-right;
     106}
     107.align-center {
     108        @include flex-items-center;
     109}
     110
     111@include breakpoint(sm) {
     112        .align-left-sm { @include flex-items-left; }
     113}
     114
     115// Float
     116.float-right {
     117        float: right;
     118}
     119.float-left {
     120        float: left;
     121}
     122
     123@include breakpoint(sm) {
     124        .float-right { float: none; }
     125        .float-left  { float: none; }
     126}
     127
     128// Fixed
     129.fixed {
     130        position: fixed;
     131        top: 0;
     132        left: 0;
     133        z-index: $z-over-content;
     134        width: 100%;
     135}
Note: See TracChangeset for help on using the changeset viewer.