File tree Expand file tree Collapse file tree 2 files changed +69
-16
lines changed Expand file tree Collapse file tree 2 files changed +69
-16
lines changed Original file line number Diff line number Diff line change
1
+ @import url (https://fonts.bunny.net/css?family=be-vietnam-pro:400);
2
+
3
+ : root {
4
+ --width-card-wide : 1080px ;
5
+ --color-link : blue;
6
+ --font-family : sans-serif;
7
+ }
8
+
1
9
body {
2
- font-family : sans-serif;
10
+ /* font-size: 5vw; */
11
+ }
12
+
13
+ main {
14
+ display : flex;
15
+ flex-direction : column;
16
+ text-align : justify;
17
+ }
18
+
19
+ main > img {
20
+ align-self : center;
21
+ }
22
+
23
+ main > pre {
24
+ /* align-self: center; */
25
+ width : 100% ;
26
+ }
27
+
28
+ main a {
29
+ display : inline;
30
+ }
31
+
32
+ main small > code ,
33
+ main p > code ,
34
+ main a > code {
35
+ display : inline;
36
+ padding : 0.1em 0.3em ;
37
+ }
38
+
39
+ main small {
40
+ @media (min-width : 768px ) {
41
+ font-size : 0.7rem ;
42
+ }
43
+
44
+ @media (max-width : 768px ) {
45
+ font-size : 1rem ;
46
+ }
47
+ }
48
+
49
+ pre > code {
50
+ font-size : 1rem ;
51
+ }
52
+
53
+ code {
54
+ overflow-x : scroll;
55
+ text-wrap : nowrap !important ;
56
+ }
57
+
58
+ main small code {
59
+ font-size : inherit;
3
60
}
Original file line number Diff line number Diff line change 1
- {% extends "base.html" %}
1
+ {% extends "base.html" %} {% block content %}
2
+ < a href ="/ "> micouy's blog</ a >
2
3
3
-
4
- {% block content %}
5
- < a href ="/ "> home</ a >
6
-
7
- < h1 class ="title ">
8
- {{ page.title }}
9
- </ h1 >
4
+ < h1 class ="title "> {{ page.title }}</ h1 >
10
5
11
6
< p class ="subtitle "> < strong > {{ page.date }}</ strong > </ p >
12
7
13
8
{{ page.content | safe }}
14
9
15
- < script src ="https://utteranc.es/client.js "
16
- repo ="micouy/micouy.github.io "
17
- issue-term ="pathname "
18
- theme ="github-light "
19
- crossorigin ="anonymous "
20
- async >
21
- </ script >
10
+ < script
11
+ src ="https://utteranc.es/client.js "
12
+ repo ="micouy/micouy.github.io "
13
+ issue-term ="pathname "
14
+ theme ="github-light "
15
+ crossorigin ="anonymous "
16
+ async
17
+ > </ script >
22
18
{% endblock content %}
You can’t perform that action at this time.
0 commit comments