github.com/mweagle/Sparta@v1.15.0/docs/css/hugo-theme.css (about)

     1  /* Insert here special css for hugo theme, on top of any other imported css */
     2  
     3  
     4  /* Table of contents */
     5  
     6  .progress ul {
     7    list-style: none;
     8    margin: 0;
     9    padding: 0 5px;
    10  }
    11  
    12  #TableOfContents {
    13      font-size: 13px !important;
    14      max-height: 85vh;
    15      overflow: auto;
    16      padding: 15px !important;
    17  }
    18  
    19  
    20  #TableOfContents > ul > li > ul > li > ul li {
    21    margin-right: 8px;
    22  }
    23  
    24  #TableOfContents > ul > li > a   {
    25    font-weight: bold; padding: 0 18px; margin: 0 2px;
    26  }
    27  
    28  #TableOfContents > ul > li > ul > li > a {
    29    font-weight: bold;
    30  }
    31  
    32  #TableOfContents > ul > li > ul > li > ul > li > ul > li > ul > li  {
    33      display: none;
    34  }
    35  
    36  body {
    37      font-size: 16px !important;
    38      color: #323232 !important;
    39  }
    40  
    41  #body a.highlight, #body a.highlight:hover, #body a.highlight:focus {
    42      text-decoration: none;
    43      outline: none;
    44      outline: 0;
    45  }
    46  #body a.highlight {
    47      line-height: 1.1;
    48      display: inline-block;
    49  }
    50  #body a.highlight:after {
    51      display: block;
    52      content: "";
    53      height: 1px;
    54      width: 0%;
    55      background-color: #0082a7; /*#CE3B2F*/
    56      -webkit-transition: width 0.5s ease;
    57      -moz-transition: width 0.5s ease;
    58      -ms-transition: width 0.5s ease;
    59      transition: width 0.5s ease;
    60  }
    61  #body a.highlight:hover:after, #body a.highlight:focus:after {
    62      width: 100%;
    63  }
    64  .progress {
    65      position:absolute;
    66      background-color: rgba(246, 246, 246, 0.97);
    67      width: auto;
    68      border: thin solid #ECECEC;
    69      display:none;
    70      z-index:200;
    71  }
    72  
    73  #toc-menu {
    74    border-right: thin solid #DAD8D8 !important;
    75    padding-right: 1rem !important;
    76    margin-right: 0.5rem !important;
    77  }
    78  
    79  #sidebar-toggle-span {
    80    border-right: thin solid #DAD8D8 !important;
    81    padding-right: 0.5rem !important;
    82    margin-right: 1rem !important;
    83  }
    84  
    85  .btn {
    86    display: inline-block !important;
    87    padding: 6px 12px !important;
    88    margin-bottom: 0 !important;
    89    font-size: 14px !important;
    90    font-weight: normal !important;
    91    line-height: 1.42857143 !important;
    92    text-align: center !important;
    93    white-space: nowrap !important;
    94    vertical-align: middle !important;
    95    -ms-touch-action: manipulation !important;
    96        touch-action: manipulation !important;
    97    cursor: pointer !important;
    98    -webkit-user-select: none !important;
    99       -moz-user-select: none !important;
   100        -ms-user-select: none !important;
   101            user-select: none !important;
   102    background-image: none !important;
   103    border: 1px solid transparent !important;
   104    border-radius: 4px !important;
   105    -webkit-transition: all 0.15s !important;
   106       -moz-transition: all 0.15s !important;
   107            transition: all 0.15s !important;
   108  }
   109  .btn:focus {
   110    /*outline: thin dotted;
   111    outline: 5px auto -webkit-focus-ring-color;
   112    outline-offset: -2px;*/
   113    outline: none !important;
   114  }
   115  .btn:hover,
   116  .btn:focus {
   117    color: #2b2b2b !important;
   118    text-decoration: none !important;
   119  }
   120  
   121  .btn-default {
   122    color: #333 !important;
   123    background-color: #fff !important;
   124    border-color: #ccc !important;
   125  }
   126  .btn-default:hover,
   127  .btn-default:focus,
   128  .btn-default:active {
   129    color: #fff !important;
   130    background-color: #9e9e9e !important;
   131    border-color: #9e9e9e !important;
   132  }
   133  .btn-default:active {
   134    background-image: none !important;
   135  }
   136  
   137  /* anchors */
   138  .anchor {
   139    color: #00bdf3;
   140    font-size: 0.5em;
   141    cursor:pointer;
   142    visibility:hidden;
   143    margin-left: 0.5em;
   144      position: absolute;
   145      margin-top:0.1em;
   146  }
   147  
   148  h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor {
   149    visibility:visible;
   150  }
   151  
   152  /* Redfines headers style */
   153  
   154  h2, h3, h4, h5, h6 {
   155    font-weight: 400;
   156    line-height: 1.1;
   157  }
   158  
   159  h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
   160    font-weight: inherit;
   161  }
   162  
   163  h2 {
   164    font-size: 2.5rem;
   165    line-height: 110% !important;
   166    margin: 2.5rem 0 1.5rem 0;
   167  }
   168  
   169  h3 {
   170    font-size: 2rem;
   171    line-height: 110% !important;
   172    margin: 2rem 0 1rem 0;
   173  }
   174  
   175  h4 {
   176    font-size: 1.5rem;
   177    line-height: 110% !important;
   178    margin: 1.5rem 0 0.75rem 0;
   179  }
   180  
   181  h5 {
   182    font-size: 1rem;
   183    line-height: 110% !important;
   184    margin: 1rem 0 0.2rem 0;
   185  }
   186  
   187  h6 {
   188    font-size: 0.5rem;
   189    line-height: 110% !important;
   190    margin: 0.5rem 0 0.2rem 0;
   191  }
   192  
   193  p {
   194      margin: 1rem 0;
   195  }
   196  
   197  figcaption h4 {
   198      font-weight: 300 !important;
   199      opacity: .85;
   200      font-size: 1em;
   201      text-align: center;
   202      margin-top: -1.5em;
   203  }
   204  
   205  .select-style {
   206      border: 0;
   207      width: 150px;
   208      border-radius: 0px;
   209      overflow: hidden;
   210      display: inline-flex;
   211  }
   212  
   213  .select-style svg {
   214      fill: #ccc;
   215      width: 14px;
   216      height: 14px;
   217      pointer-events: none;
   218      margin: auto;
   219  }
   220  
   221  .select-style svg:hover {
   222    fill: #e6e6e6;
   223  }
   224  
   225  .select-style select {
   226      padding: 0;
   227      width: 130%;
   228      border: none;
   229      box-shadow: none;
   230      background: transparent;
   231      background-image: none;
   232      -webkit-appearance: none;
   233      margin: auto;
   234      margin-left: 0px;
   235      margin-right: -20px;
   236  }
   237  
   238  .select-style select:focus {
   239      outline: none;
   240  }
   241  
   242  .select-style :hover {
   243      cursor:  pointer;
   244  }
   245  
   246  @media only all and (max-width: 47.938em) {
   247    #breadcrumbs .links, #top-github-link-text {
   248        display: none;
   249    }
   250  }
   251  
   252  .is-sticky #top-bar {
   253    box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.1); 
   254  }