Changeset 114819 in spip-zone


Ignore:
Timestamp:
Apr 5, 2019, 10:35:50 AM (8 months ago)
Author:
cedric@…
Message:

code

File:
1 moved

Legend:

Unmodified
Added
Removed
  • _plugins_/bootstrap/trunk/bootstrap2spip/css/_code.scss

    r114818 r114819  
    1 @import "bootstrap/css/code.less";
     1@import "bootstrap/css/_code";
    22
    3 code {white-space:inherit}
    4 .spip_code {&:extend(code);white-space:inherit}
     3code {
     4  white-space:inherit
     5}
     6.spip_code {
     7  @extend code;
     8  white-space:inherit
     9}
     10
    511.spip_code >code {border: none;padding: 0;background: none;color:inherit}
    6 pre,code,kbd,samp,var,tt,.spip_code,.spip_cadre {font-family: @font-family-monospace; font-size: 1em; }
     12pre,code,kbd,samp,var,tt,.spip_code,.spip_cadre {font-family: $font-family-monospace; font-size: 1em; }
    713
    8 pre { margin: @emVertMargin 0;
     14pre { margin: $rem-vert-margin 0;
    915  /* Cf.: http://perishablepress.com/press/2010/06/01/wrapping-content/ */
    1016  white-space: pre;           /* CSS 2.0 */
     
    2430  pre { page-break-inside: avoid; }
    2531}
    26 @media (max-width: 640px) {
     32
     33@include media-breakpoint-down(xs) {
    2734  /* gestion des mots longs */
    2835  code, pre, samp { word-wrap: break-word; /* cesure forcee */ }
     
    3138
    3239/* Paragraphes spip */
    33 .spip_cadre, div.spip_code { margin:0;margin-bottom: @emVertMargin; width: 100%;.box-sizing(border-box);}
     40.spip_cadre, div.spip_code { margin:0;margin-bottom: $rem-vert-margin; width: 100%;}
Note: See TracChangeset for help on using the changeset viewer.