/[svn]/doc/tmpl/css/main.css
ViewVC logotype

Diff of /doc/tmpl/css/main.css

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2831 by schoenebeck, Fri Jul 24 12:26:01 2015 UTC revision 3267 by schoenebeck, Thu Jun 1 16:05:18 2017 UTC
# Line 1  Line 1 
1  /*  /*
2    CrudeDoc CSS Style    CrudeDoc CSS Style
3    Copyright (c) 2015 Christian Schoenebeck. All rights reserved.    Copyright (c) 2015 - 2017 Christian Schoenebeck. All rights reserved.
4    http://www.crudebyte.com    http://www.crudebyte.com
5   */   */
6    
# Line 24  body { Line 24  body {
24      background:         linear-gradient(to left, #cbc3c2, #bfb2b0); /* Standard syntax */      background:         linear-gradient(to left, #cbc3c2, #bfb2b0); /* Standard syntax */
25      counter-reset:oli;      counter-reset:oli;
26      counter-reset:codeline;      counter-reset:codeline;
27        -webkit-text-size-adjust:100%;
28  }  }
29    
30    
# Line 162  nav > ul > li::before { Line 163  nav > ul > li::before {
163      padding-right:5px;      padding-right:5px;
164  }  }
165    
166    .iOS
167    nav > ul > li::before {
168        font-family:"Hiragino Mincho ProN";
169    }
170    
171  nav > ul > li:first-child::before {  nav > ul > li:first-child::before {
172      content: "";      content: "";
173  }  }
# Line 484  aside > div.toc > div.buttons .arrow { Line 490  aside > div.toc > div.buttons .arrow {
490      font-size:15px;      font-size:15px;
491  }  }
492    
493    .iOS
494    aside > div.toc > div.buttons .arrow {
495        font-family:"Hiragino Mincho ProN";
496    }
497    
498    
499    
500  /* Article */  /* Article */
# Line 551  article p { Line 562  article p {
562      clear:both;      clear:both;
563  }  }
564    
565    /* automatically center the 1st paragraph (block) directly after a h1 type header (since that header type is centered as well) */
566    article h1 + p {
567        display:table; /*HACK: "block" would stretch the entire page width */
568        margin-left:auto;
569        margin-right:auto;
570    }
571    
572  article a {  article a {
573      font-weight:400;      font-weight:400;
574      color:#1ba1dd;      color:#1ba1dd;
# Line 746  article tr { Line 764  article tr {
764  }  }
765    
766  article th {  article th {
767      background-color:#e8e2e2;      background-color:#e0e0ff;
768      padding:0px 8px 0px 8px;      padding:0px 8px 0px 8px;
769      margin:0 0 0 0;      margin:0 0 0 0;
770      border:3px solid white;      border:3px solid white;
# Line 795  article note { Line 813  article note {
813      max-width:         calc(100% - 145px);      max-width:         calc(100% - 145px);
814  }  }
815    
816    article td > note {
817        display:block; /*HACK: override "table" default value assigned above in the context of a table cell, otherwise padding will be ignored */
818    }
819    
820  article note.important {  article note.important {
821      border-left:solid 10px #ff4141;      border-left:solid 10px #ff4141;
822  }  }
# Line 929  article > ul.docpager > li:nth-child(1) Line 951  article > ul.docpager > li:nth-child(1)
951      content: "◀ ";      content: "◀ ";
952  }  }
953    
954    .iOS
955    article > ul.docpager > li:nth-child(1) > a:before {
956        font-family:"Hiragino Mincho ProN";
957    }
958    
959  article > ul.docpager > li:nth-child(2) {  article > ul.docpager > li:nth-child(2) {
960      text-align:center;      text-align:center;
961      padding-left:10px;      padding-left:10px;
# Line 939  article > ul.docpager > li:nth-child(2) Line 966  article > ul.docpager > li:nth-child(2)
966      content: "▲ ";      content: "▲ ";
967  }  }
968    
969    .iOS
970    article > ul.docpager > li:nth-child(2) > a:before {
971        font-family:"Hiragino Mincho ProN";
972    }
973    
974  article > ul.docpager > li:nth-child(3) {  article > ul.docpager > li:nth-child(3) {
975      text-align:right;      text-align:right;
976      padding-left:10px;      padding-left:10px;
# Line 948  article > ul.docpager > li:nth-child(3) Line 980  article > ul.docpager > li:nth-child(3)
980      content: " ▶";      content: " ▶";
981  }  }
982    
983    .iOS
984    article > ul.docpager > li:nth-child(3) > a:after {
985        font-family:"Hiragino Mincho ProN";
986    }
987    
988  article > .endline {  article > .endline {
989      font-family:CRDSans;      font-family:CRDSans;
990      font-size:16px;      font-size:16px;

Legend:
Removed from v.2831  
changed lines
  Added in v.3267

  ViewVC Help
Powered by ViewVC