Changeset 114822 in spip-zone


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

fix code&spip.code

Location:
_plugins_/bootstrap/trunk/bootstrap2spip/css
Files:
2 edited

Legend:

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

    r114819 r114822  
    22
    33code {
    4   white-space:inherit
     4  white-space:inherit;
    55}
    66.spip_code {
    7   @extend code;
    8   white-space:inherit
     7  color: $code-color;
     8  word-break: break-word;
     9
     10  // Streamline the style when inside anchors to avoid broken underline and more
     11  a > & {
     12    color: inherit;
     13  }
     14  white-space:inherit;
     15
     16  &>code {
     17    border: none;
     18    padding: 0;
     19    background: none;
     20    color:inherit;
     21    font-size: 1em
     22  }
    923}
    1024
    11 .spip_code >code {border: none;padding: 0;background: none;color:inherit}
    12 pre,code,kbd,samp,var,tt,.spip_code,.spip_cadre {font-family: $font-family-monospace; font-size: 1em; }
     25pre,code,kbd,samp,var,tt,.spip_code,.spip_cadre {
     26  font-family: $font-family-monospace;
     27  @include font-size($code-font-size);
     28}
    1329
    1430pre { margin: $rem-vert-margin 0;
  • _plugins_/bootstrap/trunk/bootstrap2spip/css/_type.scss

    r114817 r114822  
    3434    line-height: 1;
    3535    color: $headings-small-color;
    36     display:inline;
    3736    display:inline-block; /* evite de le couper si ne tient pas sur la fin de la ligne */
    3837  }
Note: See TracChangeset for help on using the changeset viewer.