sanskrit-documentation-theme 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/_includes/footer.html +3 -2
- data/_includes/topnav.html +0 -3
- data/assets/css/class-styles-general.scss +312 -0
- data/assets/css/device-specific.scss +95 -0
- data/assets/css/element-styles-general.scss +246 -0
- data/assets/css/fonts.css +2 -2
- data/assets/css/navbar-toc.scss +210 -0
- data/assets/css/theme-blue.scss +140 -0
- metadata +21 -8
- data/_includes/feedback.html +0 -13
- data/assets/css/class-styles-general.css +0 -281
- data/assets/css/device-specific.css +0 -92
- data/assets/css/element-styles-general.css +0 -229
- data/assets/css/navbar-toc.css +0 -203
- data/assets/css/theme-blue.css +0 -121
@@ -0,0 +1,246 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
// The dashes above are required by jekyll.
|
4
|
+
// This file generates a css.
|
5
|
+
|
6
|
+
/*Some general styles*/
|
7
|
+
|
8
|
+
hr {
|
9
|
+
background: #999;
|
10
|
+
margin: 30px 0px;
|
11
|
+
width: 90%;
|
12
|
+
margin-left: auto;
|
13
|
+
margin-right: auto;
|
14
|
+
}
|
15
|
+
|
16
|
+
pre, table code {
|
17
|
+
white-space: pre-wrap;
|
18
|
+
/* css-3 */
|
19
|
+
white-space: -moz-pre-wrap;
|
20
|
+
/* Mozilla, since 1999 */
|
21
|
+
white-space: -o-pre-wrap;
|
22
|
+
/* Opera 7 */
|
23
|
+
word-wrap: break-word;
|
24
|
+
/* Internet Explorer 5.5+ */
|
25
|
+
}
|
26
|
+
|
27
|
+
pre {
|
28
|
+
margin: 25px 0px;
|
29
|
+
}
|
30
|
+
|
31
|
+
video {
|
32
|
+
display: block;
|
33
|
+
margin: 30px 0px;
|
34
|
+
border: 1px solid #c0c0c0;
|
35
|
+
}
|
36
|
+
|
37
|
+
button.cursorNorm {
|
38
|
+
cursor: pointer;
|
39
|
+
}
|
40
|
+
|
41
|
+
/************************************************************/
|
42
|
+
/* this part adds an icon after external links, using FontAwesome*/
|
43
|
+
|
44
|
+
a {
|
45
|
+
&[href^="http://"]:after, &[href^="https://"]:after {
|
46
|
+
content: "\f08e";
|
47
|
+
font-family: FontAwesome;
|
48
|
+
font-weight: normal;
|
49
|
+
font-style: normal;
|
50
|
+
display: inline-block;
|
51
|
+
text-decoration: none;
|
52
|
+
padding-left: 3px;
|
53
|
+
}
|
54
|
+
&[href].noCrossRef::after, &.no_icon:after {
|
55
|
+
content: "" !important;
|
56
|
+
padding-left: 0;
|
57
|
+
}
|
58
|
+
&[data-toggle] {
|
59
|
+
color: #248EC2;
|
60
|
+
}
|
61
|
+
&[data-toggle="tooltip"] {
|
62
|
+
color: #649345;
|
63
|
+
font-style: italic;
|
64
|
+
cursor: default;
|
65
|
+
}
|
66
|
+
&.accordion-toggle {
|
67
|
+
font-style: normal;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
/* Strip the outbound icon when this class is present */
|
72
|
+
|
73
|
+
/************************************************************/
|
74
|
+
/* make room for the nav bar */
|
75
|
+
|
76
|
+
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id], dt[id] {
|
77
|
+
padding-top: 60px;
|
78
|
+
margin-top: -40px;
|
79
|
+
}
|
80
|
+
|
81
|
+
h1 {
|
82
|
+
color: #015CAE;
|
83
|
+
font-size: 250% !important;
|
84
|
+
font-weight: bold;
|
85
|
+
}
|
86
|
+
h2 {
|
87
|
+
&.userMapTitle {
|
88
|
+
font-family: Arial;
|
89
|
+
}
|
90
|
+
font-size: 220% !important;
|
91
|
+
line-height: 150%;
|
92
|
+
font-weight: bold;
|
93
|
+
}
|
94
|
+
h3 {
|
95
|
+
color: #ED1951;
|
96
|
+
font-size: 180% !important;
|
97
|
+
font-weight: bold;
|
98
|
+
}
|
99
|
+
h4 {
|
100
|
+
font-size: 150% !important;
|
101
|
+
font-weight: bold;
|
102
|
+
&.panel-title {
|
103
|
+
padding-top: 0px;
|
104
|
+
margin-top: 0px;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
h5 {
|
108
|
+
font-size: 130% !important;
|
109
|
+
font-weight: bold;
|
110
|
+
}
|
111
|
+
|
112
|
+
h6 {
|
113
|
+
font-size: 120% !important;
|
114
|
+
font-weight: bold;
|
115
|
+
font-style: italic;
|
116
|
+
}
|
117
|
+
|
118
|
+
/************************************************************/
|
119
|
+
|
120
|
+
html, body {
|
121
|
+
font-size: 100%;
|
122
|
+
}
|
123
|
+
|
124
|
+
div {
|
125
|
+
&.content {
|
126
|
+
max-width: 110px;
|
127
|
+
}
|
128
|
+
&.alert code {
|
129
|
+
background-color: transparent !important;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
h2 code {
|
134
|
+
background-color: transparent !important;
|
135
|
+
}
|
136
|
+
|
137
|
+
div {
|
138
|
+
&.tags {
|
139
|
+
padding: 10px 5px;
|
140
|
+
}
|
141
|
+
&.arrow {
|
142
|
+
max-width: 50px;
|
143
|
+
margin-left: 15px;
|
144
|
+
margin-right: 15px;
|
145
|
+
font-size: 120%;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
figcaption {
|
150
|
+
padding-bottom: 80%;
|
151
|
+
padding-top: 6px;
|
152
|
+
max-width: 90%;
|
153
|
+
margin-bottom: 20px;
|
154
|
+
font-style: italic;
|
155
|
+
color: gray;
|
156
|
+
}
|
157
|
+
|
158
|
+
footer {
|
159
|
+
font-size: smaller;
|
160
|
+
}
|
161
|
+
|
162
|
+
/******************************************/
|
163
|
+
/*Table styles*/
|
164
|
+
|
165
|
+
table {
|
166
|
+
background-color: transparent;
|
167
|
+
max-width: 90%;
|
168
|
+
margin-bottom: 20px;
|
169
|
+
border: 1px solid #dedede;
|
170
|
+
thead th code.highlighter-rouge {
|
171
|
+
background-color: transparent;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
|
175
|
+
caption {
|
176
|
+
padding-top: 8px;
|
177
|
+
padding-bottom: 8px;
|
178
|
+
color: #777;
|
179
|
+
text-align: left;
|
180
|
+
}
|
181
|
+
|
182
|
+
th {
|
183
|
+
text-align: left;
|
184
|
+
}
|
185
|
+
|
186
|
+
table {
|
187
|
+
> {
|
188
|
+
thead > tr > th, tbody > tr > th, tfoot > tr > th, thead > tr > td, tbody > tr > td, tfoot > tr > td {
|
189
|
+
padding: 8px;
|
190
|
+
line-height: 1.42857143;
|
191
|
+
vertical-align: top;
|
192
|
+
border-top: 1px solid #ddd;
|
193
|
+
}
|
194
|
+
thead > tr > th {
|
195
|
+
vertical-align: bottom;
|
196
|
+
border-bottom: 2px solid #ddd;
|
197
|
+
text-transform: none;
|
198
|
+
background-color: #777;
|
199
|
+
color: white;
|
200
|
+
text-align: left;
|
201
|
+
}
|
202
|
+
caption + thead > tr:first-child > th, colgroup + thead > tr:first-child > th, thead:first-child > tr:first-child > th, caption + thead > tr:first-child > td, colgroup + thead > tr:first-child > td, thead:first-child > tr:first-child > td {
|
203
|
+
border-top: 0;
|
204
|
+
}
|
205
|
+
tbody > tr:nth-of-type(odd) {
|
206
|
+
background-color: #f9f9f9;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
col[class*="col-"] {
|
210
|
+
position: static;
|
211
|
+
display: table-column;
|
212
|
+
float: none;
|
213
|
+
}
|
214
|
+
td[class*="col-"], th[class*="col-"] {
|
215
|
+
position: static;
|
216
|
+
display: table-cell;
|
217
|
+
float: none;
|
218
|
+
}
|
219
|
+
tr td {
|
220
|
+
hyphens: auto;
|
221
|
+
}
|
222
|
+
&.dataTable thead {
|
223
|
+
background-color: #444;
|
224
|
+
}
|
225
|
+
td {
|
226
|
+
hyphens: auto;
|
227
|
+
}
|
228
|
+
}
|
229
|
+
|
230
|
+
section table tr.success {
|
231
|
+
background-color: #dff0d8 !important;
|
232
|
+
}
|
233
|
+
|
234
|
+
table {
|
235
|
+
tr.info {
|
236
|
+
background-color: #d9edf7 !important;
|
237
|
+
}
|
238
|
+
&.profile thead tr th {
|
239
|
+
background-color: #248ec2;
|
240
|
+
}
|
241
|
+
&.request thead tr th {
|
242
|
+
background-color: #ED1951;
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
/******************************************/
|
data/assets/css/fonts.css
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
@font-face {
|
3
3
|
font-family: 'siddhanta-cakravat1';
|
4
4
|
font-style: normal;
|
5
|
-
font-weight:
|
5
|
+
font-weight: normal;
|
6
6
|
src: url(https://raw.githubusercontent.com/sanskrit-coders/sanskrit-fonts/master/fonts/ttf-devanagari-fonts/siddhanta-variations/siddhanta-cakravat1.ttf) format('truetype');
|
7
7
|
}
|
8
8
|
|
@@ -10,7 +10,7 @@
|
|
10
10
|
@font-face {
|
11
11
|
font-family: 'Noto Sans Devanagari From Github Hinted';
|
12
12
|
font-style: normal;
|
13
|
-
font-weight:
|
13
|
+
font-weight: normal;
|
14
14
|
src: url(https://raw.githubusercontent.com/googlei18n/noto-fonts/master/hinted/NotoSansDevanagari-Regular.ttf) format('truetype');
|
15
15
|
}
|
16
16
|
/************************************************************/
|
@@ -0,0 +1,210 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
// The dashes above are required by jekyll.
|
4
|
+
// This file generates a css.
|
5
|
+
|
6
|
+
/*Table of contents and Navbar*/
|
7
|
+
|
8
|
+
a.dropdown-toggle, .navbar-inverse .navbar-nav > li > a {
|
9
|
+
margin-left: 10px;
|
10
|
+
}
|
11
|
+
|
12
|
+
div#toc > ul::before {
|
13
|
+
content: "In this page:";
|
14
|
+
font-weight: bolder;
|
15
|
+
color: #9c131e;
|
16
|
+
}
|
17
|
+
|
18
|
+
li.dropdownActive a {
|
19
|
+
font-weight: bold;
|
20
|
+
}
|
21
|
+
|
22
|
+
.nav-tabs > li.active > a {
|
23
|
+
background-color: #248ec2;
|
24
|
+
color: white;
|
25
|
+
&:hover, &:focus {
|
26
|
+
background-color: #248ec2;
|
27
|
+
color: white;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
/************************************************************/
|
32
|
+
|
33
|
+
.navbar-inverse {
|
34
|
+
.navbar-nav > {
|
35
|
+
li > a {
|
36
|
+
background-color: transparent;
|
37
|
+
margin-top: 10px;
|
38
|
+
}
|
39
|
+
.active > a {
|
40
|
+
border-radius: 5px;
|
41
|
+
&:hover, &:focus {
|
42
|
+
border-radius: 5px;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
.open > a {
|
46
|
+
border-radius: 5px;
|
47
|
+
&:focus, &:hover {
|
48
|
+
border-radius: 5px;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
.navbar-collapse, .navbar-form {
|
53
|
+
border-color: #248ec2 !important;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
/* not sure if using this ...*/
|
58
|
+
|
59
|
+
/************************************************************/
|
60
|
+
/* FAQ page */
|
61
|
+
|
62
|
+
#accordion .panel-heading {
|
63
|
+
font-size: 110%;
|
64
|
+
}
|
65
|
+
|
66
|
+
a {
|
67
|
+
&.accordion-toggle, &.accordion-collapsed {
|
68
|
+
font-size: 110%;
|
69
|
+
text-decoration: none;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
/************************************************************/
|
74
|
+
|
75
|
+
/* navgoco sidebar styles (customized) */
|
76
|
+
|
77
|
+
.nav {
|
78
|
+
list-style: none;
|
79
|
+
ul, li {
|
80
|
+
list-style: none;
|
81
|
+
}
|
82
|
+
ul {
|
83
|
+
padding: 0;
|
84
|
+
/*margin: 0 0 0 110%;*/
|
85
|
+
margin: 0px;
|
86
|
+
}
|
87
|
+
/* padding: 4px;*/
|
88
|
+
padding: 0px;
|
89
|
+
margin: 0px;
|
90
|
+
> li {
|
91
|
+
margin: 1px 0;
|
92
|
+
li {
|
93
|
+
margin: 2px 0;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
a {
|
97
|
+
color: #333;
|
98
|
+
display: block;
|
99
|
+
outline: none;
|
100
|
+
/*-webkit-border-radius: 4px;
|
101
|
+
-moz-border-radius: 4px;
|
102
|
+
border-radius: 4px;*/
|
103
|
+
text-decoration: none;
|
104
|
+
}
|
105
|
+
li {
|
106
|
+
> a > span {
|
107
|
+
float: right;
|
108
|
+
font-size: 130%;
|
109
|
+
font-weight: bolder;
|
110
|
+
&:after {
|
111
|
+
content: '\25be';
|
112
|
+
}
|
113
|
+
}
|
114
|
+
&.active > a > span:after {
|
115
|
+
content: '\25b4';
|
116
|
+
}
|
117
|
+
}
|
118
|
+
a:hover {
|
119
|
+
background-color: #8D8D8D;
|
120
|
+
color: #f5f5f5;
|
121
|
+
}
|
122
|
+
li {
|
123
|
+
&.active > a {
|
124
|
+
background-color: #8D8D8D;
|
125
|
+
color: #f5f5f5;
|
126
|
+
}
|
127
|
+
a {
|
128
|
+
font-size: 110%;
|
129
|
+
line-height: 20px;
|
130
|
+
padding: 2px 10px;
|
131
|
+
background-color: #f1f1f1;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
> li.active > a {
|
135
|
+
background-color: #347DBE;
|
136
|
+
}
|
137
|
+
> li > a {
|
138
|
+
font-size: 110%;
|
139
|
+
line-height: 20px;
|
140
|
+
padding: 4px 10px;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
ul#displayed_sidebar {
|
145
|
+
border-radius: 0px;
|
146
|
+
}
|
147
|
+
|
148
|
+
.nav {
|
149
|
+
ul li ul li a {
|
150
|
+
padding-left: 40px;
|
151
|
+
}
|
152
|
+
li.thirdlevel > a {
|
153
|
+
color: #248EC2;
|
154
|
+
font-weight: bold;
|
155
|
+
padding-left: 20px;
|
156
|
+
background-color: whitesmoke !important;
|
157
|
+
}
|
158
|
+
ul li a {
|
159
|
+
background-color: #FAFAFA;
|
160
|
+
}
|
161
|
+
li a {
|
162
|
+
padding-right: 10px;
|
163
|
+
&:hover {
|
164
|
+
background-color: #8D8D8D;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
ul {
|
168
|
+
li a {
|
169
|
+
border-top: 1px solid whitesmoke;
|
170
|
+
padding-left: 10px;
|
171
|
+
}
|
172
|
+
&.series {
|
173
|
+
li {
|
174
|
+
list-style: decimal;
|
175
|
+
font-size: 80%;
|
176
|
+
a:hover {
|
177
|
+
background-color: gray;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
padding-left: 30px;
|
181
|
+
background-color: #FAFAFA;
|
182
|
+
}
|
183
|
+
}
|
184
|
+
li.active > a.subfoldersTitle {
|
185
|
+
background-color: whitesmoke;
|
186
|
+
font-weight: bold;
|
187
|
+
color: black;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
/************************************************************/
|
192
|
+
|
193
|
+
div#toc ul li ul li {
|
194
|
+
list-style-type: none;
|
195
|
+
margin: 5px 0px 0px 0px;
|
196
|
+
}
|
197
|
+
|
198
|
+
#displayed_sidebar .nav ul {
|
199
|
+
background-color: #FAFAFA;
|
200
|
+
}
|
201
|
+
|
202
|
+
.seriesContext .dropdown-menu li.active {
|
203
|
+
font-weight: bold;
|
204
|
+
margin-left: 43px;
|
205
|
+
font-size: 110%;
|
206
|
+
}
|
207
|
+
|
208
|
+
li.activeSeries {
|
209
|
+
font-weight: bold;
|
210
|
+
}
|