/[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 2738 by schoenebeck, Tue Apr 28 17:24:16 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 547  article h3 { Line 558  article h3 {
558      font-weight:300;      font-weight:300;
559  }  }
560    
561    article p {
562        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 560  article a img { Line 582  article a img {
582      text-decoration:none;      text-decoration:none;
583  }  }
584    
585    article li img {
586        float:left;
587    }
588    
589  article a:hover {  article a:hover {
590      text-decoration:underline;      text-decoration:underline;
591  }  }
# Line 738  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 787  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 805  article > img, example > img { Line 835  article > img, example > img {
835  article p img {  article p img {
836      display:inline-block;      display:inline-block;
837      float:left;      float:left;
838      margin:4px 20px 0px 0px;      margin:4px 20px 19px 0px;
839      padding:0 0 0 0;      padding:0 0 0 0;
840      /*border:solid 1px #8e8e8e;*/      /*border:solid 1px #8e8e8e;*/
841      border:none;      border:none;
# Line 868  article dir { Line 898  article dir {
898      padding:0px;      padding:0px;
899      margin:0px;      margin:0px;
900      font-family:CRDCour;      font-family:CRDCour;
901        font-size:15px;
902      color:#000000;      color:#000000;
903  }  }
904    
905  article > dir {  article > dir, example > dir {
906      padding-left:66px;      padding-left:66px;
907      background-position:36px top;      background-position:36px top;
908  }  }
# Line 889  article dir file { Line 920  article dir file {
920      background-repeat:no-repeat;      background-repeat:no-repeat;
921      background-position:2px top;      background-position:2px top;
922      font-family:CRDCour;      font-family:CRDCour;
923        font-size:15px;
924      color:#6f6f6f;      color:#6f6f6f;
925  }  }
926    
# Line 919  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 929  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 938  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.2738  
changed lines
  Added in v.3267

  ViewVC Help
Powered by ViewVC