| 1 |
.site-title { |
| 2 |
color: $grey-dk-250; |
| 3 |
font-weight: 700; |
| 4 |
} |
| 5 |
|
| 6 |
.site-footer { |
| 7 |
color: $grey-dk-200; |
| 8 |
} |
| 9 |
|
| 10 |
.nav-list .nav-list .nav-list > .nav-list-item a { |
| 11 |
font-size: 0.75rem !important; /* the normal size is 0.88 */ |
| 12 |
} |
| 13 |
|
| 14 |
code { |
| 15 |
line-height: 0.9; /* doesn't seem to have an effect */ |
| 16 |
} |
| 17 |
|
| 18 |
/* Tutorial navigation bar */ |
| 19 |
|
| 20 |
table.tut-nav-bar, |
| 21 |
table.tut-nav-bar2 { |
| 22 |
color: white; |
| 23 |
background-color: #227efa; /* same as blue button */ |
| 24 |
} |
| 25 |
|
| 26 |
table.tut-nav-bar tbody tr:last-of-type td, |
| 27 |
table.tut-nav-bar2 tbody tr:last-of-type td { |
| 28 |
padding-bottom: 6px; /* override the extra padding at the bottom of a table */ |
| 29 |
} |
| 30 |
|
| 31 |
table.tut-nav-bar td, |
| 32 |
table.tut-nav-bar2 td { |
| 33 |
text-align: center; |
| 34 |
color: white; |
| 35 |
background-color: #227efa; |
| 36 |
font-weight: bold; |
| 37 |
width: 12%; |
| 38 |
font-size: .95rem; |
| 39 |
line-height: 1; |
| 40 |
} |
| 41 |
|
| 42 |
table.tut-nav-bar td:first-of-type { |
| 43 |
text-align: left; |
| 44 |
width: 44%; |
| 45 |
} |
| 46 |
|
| 47 |
table.tut-nav-bar td:last-of-type { |
| 48 |
text-align: right; |
| 49 |
width: 44%; |
| 50 |
} |
| 51 |
|
| 52 |
/* tut-nav-bar2 is more flexible about the label lengths */ |
| 53 |
table.tut-nav-bar2 td:first-of-type { |
| 54 |
text-align: left; |
| 55 |
} |
| 56 |
|
| 57 |
table.tut-nav-bar2 td:last-of-type { |
| 58 |
text-align: right; |
| 59 |
} |
| 60 |
|
| 61 |
table.tut-nav-bar a, |
| 62 |
table.tut-nav-bar2 a { |
| 63 |
color: white; |
| 64 |
text-decoration: none; |
| 65 |
} |
| 66 |
|
| 67 |
table.tut-nav-bar a:hover, |
| 68 |
table.tut-nav-bar2 a:hover { |
| 69 |
color: #CCE0FF; |
| 70 |
text-decoration: none; |
| 71 |
} |
| 72 |
|
| 73 |
table.tut-nav-bar td, |
| 74 |
table.tut-nav-bar2 td { |
| 75 |
padding-bottom: 0.4rem; |
| 76 |
padding-top: 0.4rem; |
| 77 |
} |
| 78 |
|
| 79 |
|
| 80 |
/* Notes and Warnings */ |
| 81 |
|
| 82 |
blockquote.blue-note { |
| 83 |
background-color: #E6F2FF; |
| 84 |
border-left: 10px solid #227efa; /* same as blue button */ |
| 85 |
padding-top: 2px; |
| 86 |
padding-bottom: 2px; |
| 87 |
} |
| 88 |
|
| 89 |
blockquote.red-warning { |
| 90 |
background-color: #eebbbb; |
| 91 |
border-left: 10px solid #aa3355; |
| 92 |
padding-top: 2px; |
| 93 |
padding-bottom: 2px; |
| 94 |
} |
| 95 |
|
| 96 |
/* Images and captions */ |
| 97 |
|
| 98 |
/* To avoid a lot of space between the image and the caption: */ |
| 99 |
.image-tight { |
| 100 |
margin-bottom: 1px; |
| 101 |
} |
| 102 |
|
| 103 |
p.caption, figcaption { |
| 104 |
font-style: italic; |
| 105 |
font-size: 0.9rem; |
| 106 |
margin-top: 0px; |
| 107 |
margin-bottom: 18px; |
| 108 |
} |
| 109 |
|
| 110 |
/* Language rendering */ |
| 111 |
|
| 112 |
/* The font paths are relative to this CSS file. */ |
| 113 |
|
| 114 |
@font-face { |
| 115 |
font-family: SimpleGraphite; |
| 116 |
src: url(../../assets/fonts/Simple-Graphite-Font.ttf); |
| 117 |
} |
| 118 |
|
| 119 |
@font-face { |
| 120 |
font-family: AwamiDemoTtf; |
| 121 |
src: url(../..//assets/fonts/AwamiNastaliq-Demo.ttf); |
| 122 |
} |
| 123 |
|
| 124 |
@font-face { |
| 125 |
font-family: PadaukDemoTtf; |
| 126 |
src: url(../../assets/fonts/Padauk-Demo.ttf); |
| 127 |
} |
| 128 |
|
| 129 |
@font-face { |
| 130 |
font-family: PadaukDemoWoff2; |
| 131 |
src: url(../../assets/fonts/Padauk-Demo.woff2); |
| 132 |
} |
| 133 |
|
| 134 |
.simple-graphite-ttf { |
| 135 |
font-family: SimpleGraphite; |
| 136 |
} |
| 137 |
|
| 138 |
.awami-ttf { |
| 139 |
font-family: AwamiDemoTtf; |
| 140 |
direction: rtl; |
| 141 |
font-size: 150%; |
| 142 |
} |
| 143 |
|
| 144 |
.padauk-local { |
| 145 |
font-family: Padauk; |
| 146 |
font-size: 120%; |
| 147 |
-moz-font-feature-settings: "wtri=1"; |
| 148 |
-moz-font-feature-settings: "wtri" 1; |
| 149 |
} |
| 150 |
|
| 151 |
.padauk-ttf { |
| 152 |
font-family: PadaukDemoTtf; |
| 153 |
font-size: 120%; |
| 154 |
-moz-font-feature-settings: "wtri=1"; |
| 155 |
-moz-font-feature-settings: "wtri" 1; |
| 156 |
} |
| 157 |
|
| 158 |
.padauk-woff2 { |
| 159 |
font-family: PadaukDemoWoff2; |
| 160 |
font-size: 120%; |
| 161 |
-moz-font-feature-settings: "wtri=1"; |
| 162 |
-moz-font-feature-settings: "wtri" 1; |
| 163 |
} |
| 164 |
|
| 165 |
.arabic-sample { |
| 166 |
direction: rtl; |
| 167 |
} |