aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2018-08-06 16:47:05 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2018-08-06 16:47:05 +0200
commitb9f129a6b57c16d168f00037b09a1ed433c1abee (patch)
treeaa8ba171a8ee6fdda946c4ae64f1d3c19293d219 /_includes
parent1ec8a37ab1e905ad5326ac1a3efe5adb82f484fc (diff)
downloadmitjafelicijan.com-b9f129a6b57c16d168f00037b09a1ed433c1abee.tar.gz
update
Diffstat (limited to '_includes')
-rw-r--r--_includes/frame.css22
-rw-r--r--_includes/site.css158
2 files changed, 180 insertions, 0 deletions
diff --git a/_includes/frame.css b/_includes/frame.css
new file mode 100644
index 0000000..bacbccd
--- /dev/null
+++ b/_includes/frame.css
@@ -0,0 +1,22 @@
1* {
2 box-sizing: border-box
3}
4
5body {
6 font-family: 'Times New Roman', Times, serif;
7 font-size: 16px;
8 margin: 40px auto;
9 line-height: 1.6;
10 color: #000;
11 margin: 0;
12 padding: 0 0 50px 0;
13}
14
15article,
16main,
17footer,
18nav,
19header {
20 max-width: 700px;
21 margin: 0 auto;
22}
diff --git a/_includes/site.css b/_includes/site.css
new file mode 100644
index 0000000..73f6416
--- /dev/null
+++ b/_includes/site.css
@@ -0,0 +1,158 @@
1* {
2 box-sizing: border-box
3}
4
5body {
6 font-family: 'Times New Roman', Times, serif;
7 font-size: 16px;
8 margin: 40px auto;
9 line-height: 1.6;
10 color: #000;
11 margin: 0;
12 padding: 0 0 50px 0;
13}
14
15article,
16main,
17footer,
18nav,
19header {
20 max-width: 700px;
21 margin: 0 auto;
22}
23
24header {
25 margin-top: 30px;
26}
27
28header a,
29nav ul li a {
30 text-decoration: none
31}
32
33header a {
34 font-size: 150%;
35 font-weight: 700;
36 color: #000;
37}
38
39nav ul {
40 margin-top: 10px;
41 padding: 0;
42}
43
44nav ul li {
45 display: inline-block;
46}
47
48nav ul li a {
49 color: #888;
50 font-size: 85%;
51 margin-right: 10px;
52}
53
54h1 {
55 font-size: 200%;
56}
57
58h2 {
59 font-size: 160%;
60}
61
62h3 {
63 font-size: 140%;
64}
65
66h4 {
67 font-size: 120%;
68}
69
70article img {
71 max-width: 100%;
72 display: block;
73 border: 2px solid #f1f1f1;
74 border-radius: 2px
75}
76
77time {
78 display: block;
79 font-size: 85%;
80 color: #444;
81}
82
83main ul {
84 margin-top: 30px;
85 padding: 0 20px;
86}
87
88main ul li {
89 margin-bottom: 20px;
90}
91
92main ul div {
93 font-size: 116%;
94}
95
96blockquote {
97 margin: 40px 0 40px 20px;
98 border-left: 5px solid #eee;
99 padding: 5px 0 10px 20px;
100}
101
102table {
103 border: 2px solid #f1f1f1;
104 width: 100%;
105 border-collapse: collapse;
106 border-spacing: 0;
107}
108
109table th,
110table td {
111 border: 2px solid #f1f1f1;
112 text-align: left;
113 padding: 5px 10px;
114}
115
116.highlighter-rouge {
117 padding: 0 15px;
118 font-size: 80%;
119 border: 2px solid #f1f1f1;
120 border-radius: 2px;
121 overflow: auto;
122}
123
124.highlighter-rouge table,
125.highlighter-rouge table td {
126 border: 0 !important;
127}
128
129::selection {
130 background: #ff0;
131 color: #000;
132}
133
134::-moz-selection {
135 background: #ff0;
136 color: #000;
137}
138
139@media only screen and (max-width:768px) {
140 body {
141 padding: 0 20px;
142 }
143 footer,
144 header,
145 nav {
146 text-align: center
147 }
148 .responsive-table {
149 width: 100%;
150 overflow: scroll;
151 }
152}
153
154@media print {
155 body {
156 padding: 50px auto
157 }
158}