templates/style.css
branchv_0
changeset 67 78eca0b3ab5f
parent 63 20eed1382726
child 72 2e86632f5aef
equal deleted inserted replaced
66:6dff32230593 67:78eca0b3ab5f
     1 @font-face {
     1 @font-face {
     2 	font-family: "Sawasdee";
     2         font-family: "CMU Serif Roman";
     3 	src: url("Sawasdee.woff");
     3         src: url("cmunrm.woff");
       
     4 }
       
     5 
       
     6 @font-face {
       
     7         font-family: "CMU Serif Bold";
       
     8         src: url("cmunbx.woff");
     4 }
     9 }
     5 
    10 
     6 body {
    11 body {
     7 	font-family: sans-serif;
    12 	font-family: "CMU Serif Roman";
     8 	font-size:  18px;
    13 	font-size:  18px;
     9 	background-color: white;
    14 	background-color: white;
    10 	color: black;
    15 	color: black;
    11 	text-align: center;
    16 	text-align: center;
    12 }
    17 }
    16 	text-align: justify;
    21 	text-align: justify;
    17 	margin: 0 auto;
    22 	margin: 0 auto;
    18 }
    23 }
    19 
    24 
    20 h1,h2,h3 {
    25 h1,h2,h3 {
    21 	font-family: Sawasdee;
    26 	font-family: "CMU Serif Bold";
    22 	font-weight: bold;
    27 	font-weight: normal;
    23 }
    28 }
    24 
    29 
    25 h1 {
    30 h1 {
    26 	text-align: center;
    31 	text-align: center;
    27 }
    32 }
    28 
    33 
    29 a.anchor {
    34 a.anchor {
    30 	color: transparent;
    35 	color:  #eee;
    31 	text-shadow: 0 0 0 #eee;
       
    32 	text-decoration: none;
    36 	text-decoration: none;
    33 	font-family: sans-serif;
    37 	font-size: 80%;
    34 	font-weight: normal;
       
    35 	font-size: medium;
       
    36 	width: 0px;
       
    37 	height: 0px;
       
    38 	display: inline-block;
       
    39 }
    38 }
    40 
    39 
    41 h2:hover > a.anchor, li:hover > a.anchor {
    40 h2:hover > a.anchor, li:hover > a.anchor {
    42 	text-shadow: 0 0 0 #999;
    41 	color: #999;
    43 	text-decoration: none;
    42 	text-decoration: none;
    44 }
    43 }
    45 
    44 
    46 li:target, div.chapter:target {
    45 li:target, div.chapter:target {
    47    background: #eee;
    46    background: #eee;