jekyll-academic 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/_layouts/tag.html CHANGED
@@ -1,16 +1,16 @@
1
- ---
2
- layout: default
3
- ---
4
- <div class="posts">
5
- <h1 style="color: #cc0000;">Tag #{{page.tag}}</h1>
6
- <ul>
7
- {% for post in site.posts %}
8
- {% if post.tags contains page.tag %}
9
- <li>
10
- <a href="{{ post.url }}">{{ post.title }}</a>
11
- <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m-%d-%Y" }}</time>
12
- </li>
13
- {% endif %}
14
- {% endfor %}
15
- </ul>
16
- </div>
1
+ ---
2
+ layout: default
3
+ ---
4
+ <div class="posts">
5
+ <h1 style="color: #cc0000;">Tag #{{page.tag}}</h1>
6
+ <ul>
7
+ {% for post in site.posts %}
8
+ {% if post.tags contains page.tag %}
9
+ <li>
10
+ <a href="{{ post.url }}">{{ post.title }}</a>
11
+ <time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%m-%d-%Y" }}</time>
12
+ </li>
13
+ {% endif %}
14
+ {% endfor %}
15
+ </ul>
16
+ </div>
data/_sass/main.scss CHANGED
@@ -1,226 +1,226 @@
1
- $backgroundColor: #ffffff;
2
- $bodyColor: #000000;
3
- $bodyFont: Verdana, "Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
4
-
5
- html {
6
- position: relative;
7
- min-height: 100%;
8
- }
9
-
10
- body {
11
- background: $backgroundColor;
12
- color: $bodyColor;
13
- font-family: $bodyFont;
14
- font-size: 14px;
15
- margin-bottom: 40px;
16
- }
17
-
18
- main {
19
- display: flex;
20
- flex-wrap: wrap;
21
- max-width: 54rem;
22
- margin: 2rem 0;
23
- padding: 1rem;
24
- }
25
-
26
- section {
27
- flex-basis: 0;
28
- flex-grow: 999;
29
- min-width: 70%;
30
- display: flex;
31
- flex-direction: column;
32
-
33
- h1 {
34
- font-size: 150%;
35
- }
36
-
37
- h2 {
38
- font-size: 120%;
39
- }
40
-
41
- h3 {
42
- font-size: 115%;
43
- }
44
-
45
- h4 {
46
- font-size: 110%;
47
- }
48
-
49
- h5 {
50
- font-size: 100%;
51
- }
52
-
53
- }
54
-
55
- header, section {
56
- padding: 1rem;
57
- }
58
-
59
- header {
60
- flex-grow: 1;
61
- flex-basis: 10rem;
62
- position: relative;
63
- }
64
-
65
- header {
66
- ul {
67
- list-style: none;
68
- }
69
-
70
- a {
71
- color: $bodyColor;
72
- text-decoration: none;
73
- }
74
- }
75
-
76
- header {
77
- li {
78
- margin-bottom: .2rem;
79
- text-align: right;
80
- margin-right: 2rem;
81
- }
82
-
83
- a:hover {
84
- color: $bodyColor;
85
- border-bottom: 1px gray dotted;
86
- }
87
- }
88
-
89
- nav {
90
- ul {
91
- border-right: 1px solid #eee;
92
- }
93
- }
94
-
95
- .posts {
96
- ul {
97
- list-style: none;
98
- }
99
-
100
- li {
101
- align-items: center;
102
- display: flex;
103
- justify-content: space-between;
104
- margin-bottom: 0.5rem;
105
-
106
- a {
107
- white-space: nowrap;
108
- overflow: hidden;
109
- text-decoration: none;
110
- text-overflow: ellipsis;
111
- }
112
-
113
- time {
114
- padding-left: 1rem;
115
- white-space: nowrap;
116
- font-variant-numeric: tabular-nums;
117
- }
118
-
119
- }
120
- }
121
-
122
- .posts {
123
-
124
- h1 {
125
- margin: 1rem 0;
126
- font-size: 150%;
127
- }
128
-
129
- h2 {
130
- margin: 1rem 0;
131
- font-size: 130%;
132
- }
133
-
134
- h3 {
135
- margin: 1rem 0;
136
- font-size: 120%;
137
- }
138
-
139
- h4 {
140
- margin: 1rem 0;
141
- font-size: 110%;
142
- }
143
-
144
- h5 {
145
- margin: 1rem 0;
146
- font-size: 100%;
147
- }
148
-
149
- }
150
-
151
- h1, h2, h3, h4, h5 {
152
- line-height: 1;
153
- margin: 1rem 0;
154
- }
155
-
156
- a {
157
- text-decoration: none;
158
- }
159
-
160
- a:hover {
161
- border-bottom: 1px gray dotted;
162
- }
163
-
164
- .stickyfooter {
165
- position: absolute;
166
- bottom: 0;
167
- height: 40px;
168
- width: 100%;
169
- }
170
-
171
- code {
172
- font-size: 100%;
173
- }
174
-
175
- pre {
176
- border-radius: 5px;
177
- box-shadow: 2px 2px 2px #eee;
178
- code {
179
- border-radius: 5px;
180
- font-size: 125%;
181
- }
182
- }
183
-
184
- blockquote {
185
- border-left: .25em solid #dfe2e5;
186
- color: #6a737d;
187
- padding: 0 1em;
188
- }
189
-
190
- .rss {
191
- text-decoration: none;
192
- color: #000000;
193
- }
194
-
195
- .rss:hover {
196
- border-bottom: none;
197
- color: #333;
198
- }
199
-
200
- table tr th {background:#eeeee1; color:#333; padding:0; border:#aaa solid 1px; text-align: center; font-weight: bold;}
201
- table tr td {border:1px #ccc solid; padding:5px;}
202
- table tr td.rightright {background: #eeeee1;}
203
- table tr td h4 {margin:0; padding:0; font-weight:normal;}
204
-
205
- @media screen and (max-width: 45rem ) {
206
- header li {
207
- display: inline;
208
- margin-right: 1rem;
209
- font-size: 110%;
210
- }
211
-
212
- header ul {
213
- border-bottom: 1px solid #eee;
214
- padding-bottom: 2rem;
215
- }
216
-
217
- nav ul {
218
- border-right: 0px;
219
- }
220
-
221
- footer {
222
- margin-bottom: 1rem;
223
- padding-left: 0.5rem;
224
- padding-right: 0.5rem;
225
- }
1
+ $backgroundColor: #ffffff;
2
+ $bodyColor: #000000;
3
+ $bodyFont: Verdana, "Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
4
+
5
+ html {
6
+ position: relative;
7
+ min-height: 100%;
8
+ }
9
+
10
+ body {
11
+ background: $backgroundColor;
12
+ color: $bodyColor;
13
+ font-family: $bodyFont;
14
+ font-size: 14px;
15
+ margin-bottom: 40px;
16
+ }
17
+
18
+ main {
19
+ display: flex;
20
+ flex-wrap: wrap;
21
+ max-width: 54rem;
22
+ margin: 2rem 0;
23
+ padding: 1rem;
24
+ }
25
+
26
+ section {
27
+ flex-basis: 0;
28
+ flex-grow: 999;
29
+ min-width: 70%;
30
+ display: flex;
31
+ flex-direction: column;
32
+
33
+ h1 {
34
+ font-size: 150%;
35
+ }
36
+
37
+ h2 {
38
+ font-size: 120%;
39
+ }
40
+
41
+ h3 {
42
+ font-size: 115%;
43
+ }
44
+
45
+ h4 {
46
+ font-size: 110%;
47
+ }
48
+
49
+ h5 {
50
+ font-size: 100%;
51
+ }
52
+
53
+ }
54
+
55
+ header, section {
56
+ padding: 1rem;
57
+ }
58
+
59
+ header {
60
+ flex-grow: 1;
61
+ flex-basis: 10rem;
62
+ position: relative;
63
+ }
64
+
65
+ header {
66
+ ul {
67
+ list-style: none;
68
+ }
69
+
70
+ a {
71
+ color: $bodyColor;
72
+ text-decoration: none;
73
+ }
74
+ }
75
+
76
+ header {
77
+ li {
78
+ margin-bottom: .2rem;
79
+ text-align: right;
80
+ margin-right: 2rem;
81
+ }
82
+
83
+ a:hover {
84
+ color: $bodyColor;
85
+ border-bottom: 1px gray dotted;
86
+ }
87
+ }
88
+
89
+ nav {
90
+ ul {
91
+ border-right: 1px solid #eee;
92
+ }
93
+ }
94
+
95
+ .posts {
96
+ ul {
97
+ list-style: none;
98
+ }
99
+
100
+ li {
101
+ align-items: center;
102
+ display: flex;
103
+ justify-content: space-between;
104
+ margin-bottom: 0.5rem;
105
+
106
+ a {
107
+ white-space: nowrap;
108
+ overflow: hidden;
109
+ text-decoration: none;
110
+ text-overflow: ellipsis;
111
+ }
112
+
113
+ time {
114
+ padding-left: 1rem;
115
+ white-space: nowrap;
116
+ font-variant-numeric: tabular-nums;
117
+ }
118
+
119
+ }
120
+ }
121
+
122
+ .posts {
123
+
124
+ h1 {
125
+ margin: 1rem 0;
126
+ font-size: 150%;
127
+ }
128
+
129
+ h2 {
130
+ margin: 1rem 0;
131
+ font-size: 130%;
132
+ }
133
+
134
+ h3 {
135
+ margin: 1rem 0;
136
+ font-size: 120%;
137
+ }
138
+
139
+ h4 {
140
+ margin: 1rem 0;
141
+ font-size: 110%;
142
+ }
143
+
144
+ h5 {
145
+ margin: 1rem 0;
146
+ font-size: 100%;
147
+ }
148
+
149
+ }
150
+
151
+ h1, h2, h3, h4, h5 {
152
+ line-height: 1;
153
+ margin: 1rem 0;
154
+ }
155
+
156
+ a {
157
+ text-decoration: none;
158
+ }
159
+
160
+ a:hover {
161
+ border-bottom: 1px gray dotted;
162
+ }
163
+
164
+ .stickyfooter {
165
+ position: absolute;
166
+ bottom: 0;
167
+ height: 40px;
168
+ width: 100%;
169
+ }
170
+
171
+ code {
172
+ font-size: 100%;
173
+ }
174
+
175
+ pre {
176
+ border-radius: 5px;
177
+ box-shadow: 2px 2px 2px #eee;
178
+ code {
179
+ border-radius: 5px;
180
+ font-size: 125%;
181
+ }
182
+ }
183
+
184
+ blockquote {
185
+ border-left: .25em solid #dfe2e5;
186
+ color: #6a737d;
187
+ padding: 0 1em;
188
+ }
189
+
190
+ .rss {
191
+ text-decoration: none;
192
+ color: #000000;
193
+ }
194
+
195
+ .rss:hover {
196
+ border-bottom: none;
197
+ color: #333;
198
+ }
199
+
200
+ table tr th {background:#eeeee1; color:#333; padding:0; border:#aaa solid 1px; text-align: center; font-weight: bold;}
201
+ table tr td {border:1px #ccc solid; padding:5px;}
202
+ table tr td.rightright {background: #eeeee1;}
203
+ table tr td h4 {margin:0; padding:0; font-weight:normal;}
204
+
205
+ @media screen and (max-width: 45rem ) {
206
+ header li {
207
+ display: inline;
208
+ margin-right: 1rem;
209
+ font-size: 110%;
210
+ }
211
+
212
+ header ul {
213
+ border-bottom: 1px solid #eee;
214
+ padding-bottom: 2rem;
215
+ }
216
+
217
+ nav ul {
218
+ border-right: 0px;
219
+ }
220
+
221
+ footer {
222
+ margin-bottom: 1rem;
223
+ padding-left: 0.5rem;
224
+ padding-right: 0.5rem;
225
+ }
226
226
  }