Sha256: 6da23a3e6346bb539975c856a1fd869396dd9c10891acf1a9152f7832c76c008

Contents?: true

Size: 930 Bytes

Versions: 5

Compression:

Stored size: 930 Bytes

Contents

/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all .25s ease-out;
         -o-transition: all .25s ease-out;
            transition: all .25s ease-out;
  }

  .row-offcanvas-right {
    right: 0;
  }

  .row-offcanvas-left {
    left: 0;
  }

  .row-offcanvas-right
  .sidebar-offcanvas {
    right: -50%; /* 6 columns */
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -50%; /* 6 columns */
  }

  .row-offcanvas-right.active {
    right: 50%; /* 6 columns */
  }

  .row-offcanvas-left.active {
    left: 50%; /* 6 columns */
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%; /* 6 columns */
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dataworkbench-jekyll-theme-0.3.4 assets/css/offcanvas.css
dataworkbench-jekyll-theme-0.3.1 assets/css/offcanvas.css
dataworkbench-jekyll-theme-0.3.0 assets/css/offcanvas.css
dataworkbench-jekyll-theme-0.2.1 assets/css/offcanvas.css
dataworkbench-jekyll-theme-0.1.2 assets/css/offcanvas.css