{{ .Title }}
6 | {{ with .Params.subtitle }}{{ . }}
{{ end }} 7 |8 | {{ partial "author.html" . }} 9 | {{ .Content }} 10 |
├── static ├── css │ ├── custom.css │ ├── syntax.css │ ├── style-dark.css │ ├── syntax-monokai.css │ ├── syntax-monokailight.css │ └── style.css └── js │ ├── custom.js │ └── script.js ├── layouts ├── shortcodes │ └── .gitkeep ├── partials │ ├── head_custom.html │ ├── toc.html │ ├── head_style.html │ ├── header.html │ ├── footer.html │ ├── author.html │ ├── share.html │ ├── head.html │ └── social.html ├── 404.html ├── _default │ ├── baseof.html │ ├── terms.html │ ├── list.html │ └── single.html └── section │ ├── about.html │ └── archives.html ├── exampleSite ├── content │ ├── archives │ │ └── _index.md │ ├── _index.md │ ├── homepage │ │ ├── index.md │ │ ├── about.md │ │ └── work.md │ ├── posts │ │ ├── _index.md │ │ ├── rich-content.md │ │ ├── emoji-support.md │ │ ├── math-typesetting.md │ │ ├── placeholder-text.md │ │ └── markdown-syntax.md │ └── about │ │ └── _index.md └── config.toml ├── images ├── tn.png └── screenshot.png ├── archetypes └── default.md ├── .circleci └── config.yml ├── theme.toml ├── LICENSE └── README.md /static/css/custom.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/js/custom.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/js/script.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layouts/shortcodes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layouts/partials/head_custom.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /exampleSite/content/archives/_index.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /exampleSite/content/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | author = "Hugo Authors" 3 | +++ 4 | -------------------------------------------------------------------------------- /exampleSite/content/homepage/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | headless: true 3 | --- 4 | -------------------------------------------------------------------------------- /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taikii/whiteplain/HEAD/images/tn.png -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/taikii/whiteplain/HEAD/images/screenshot.png -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .TranslationBaseName "-" " " | title }}" 3 | date: {{ .Date }} 4 | subtitle: "" 5 | tags: [] 6 | --- 7 | -------------------------------------------------------------------------------- /static/css/syntax.css: -------------------------------------------------------------------------------- 1 | @import url(./syntax-monokailight.css) (prefers-color-scheme: light); 2 | @import url(./syntax-monokai.css) (prefers-color-scheme: dark); 3 | -------------------------------------------------------------------------------- /exampleSite/content/posts/_index.md: -------------------------------------------------------------------------------- 1 | +++ 2 | aliases = ["posts", "articles", "blog", "showcase", "docs"] 3 | title = "Posts" 4 | author = "Hugo Authors" 5 | tags = ["index"] 6 | +++ 7 | -------------------------------------------------------------------------------- /layouts/404.html: -------------------------------------------------------------------------------- 1 | 2 | {{ define "main"}} 3 |
🙈 :see_no_evil: 🙉 :hear_no_evil: 🙊 :speak_no_evil:
42 | Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\) 43 |
44 | {{ math.inline >}} 45 | 46 | Block math: 47 | $$ 48 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 49 | $$ 50 | -------------------------------------------------------------------------------- /layouts/partials/share.html: -------------------------------------------------------------------------------- 1 | {{- if .Site.Params.showShareIcons | default true }} 2 | 35 | 36 | {{- end }} 37 | -------------------------------------------------------------------------------- /layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | 2 | {{ define "main" }} 3 | {{- if eq .Kind "taxonomy" }} 4 | 7 | {{- else if eq .Kind "section" }} 8 | 11 | {{- end }} 12 |Test
83 | 84 | 85 | ``` 86 | 87 | #### Code block indented with four spaces 88 | 89 | 90 | 91 | 92 | 93 |Test
97 | 98 | 99 | 100 | #### Code block with Hugo's internal highlight shortcode 101 | {{< highlight html >}} 102 | 103 | 104 | 105 | 106 |Test
110 | 111 | 112 | {{< /highlight >}} 113 | 114 | ## List Types 115 | 116 | #### Ordered List 117 | 118 | 1. First item 119 | 2. Second item 120 | 3. Third item 121 | 122 | #### Unordered List 123 | 124 | * List item 125 | * Another item 126 | * And another item 127 | 128 | #### Nested list 129 | 130 | * Fruit 131 | * Apple 132 | * Orange 133 | * Banana 134 | * Dairy 135 | * Milk 136 | * Cheese 137 | 138 | ## Other Elements — abbr, sub, sup, kbd, mark 139 | 140 | GIF is a bitmap image format. 141 | 142 | H2O 143 | 144 | Xn + Yn = Zn 145 | 146 | Press CTRL+ALT+Delete to end the session. 147 | 148 | Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. 149 | -------------------------------------------------------------------------------- /layouts/partials/social.html: -------------------------------------------------------------------------------- 1 | 2 | {{- with .Site.Params.author }} 3 | 113 | {{- end }} 114 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Whiteplain 2 | 3 | [](https://circleci.com/gh/taikii/whiteplain) 4 | 5 | This is simple and functional [Hugo](https://gohugo.io/) theme. 6 | 7 |  8 | 9 | ## Installation 10 | 11 | ``` 12 | $ git clone https://github.com/taikii/whiteplain.git themes/whiteplain 13 | ``` 14 | Or 15 | ``` 16 | $ git submodule add https://github.com/taikii/whiteplain.git themes/whiteplain 17 | ``` 18 | 19 | ## More colors 20 | 21 | This theme automatically switches between light and dark styles depending on the OS color scheme. You can fix the light or dark style by adding the following theme. 22 | 23 | * [Dark](https://github.com/taikii/whiteplain-dark) Fix in dark style. 24 | * [Light](https://github.com/taikii/whiteplain-light) Fix in light style. 25 | 26 | ## Usage 27 | 28 | ### Configration 29 | 30 | ```toml 31 | baseurl = "https://example.com/" 32 | title = "Whiteplain" 33 | theme = "whiteplain" 34 | languageCode = "en" 35 | # Disqus shortname 36 | disqusShortname = "Shortname" 37 | # google analytics tracking id 38 | googleAnalytics = "Toracking ID" 39 | 40 | # Copyright notice. This is displayer in the footer. 41 | copyright = "© Copyright 2017 Your name" 42 | 43 | [params] 44 | # whether to use CDN or local file for fontawesome 45 | #useCDN = false 46 | # whether to include external sharing scripts and icons for twitter, facebook and co. 47 | #showShareIcons = false 48 | # Date format 49 | #dateFormat = "January 2, 2006" 50 | 51 | # This is displayer in About page. 52 | [params.author] 53 | name = "Your name" 54 | # Gravatar or Abatar image 55 | gravatar = "Gravatar email or MD5 Hash" 56 | #avatar = "/path/to/avatar" 57 | 58 | x = "X username" 59 | twitter = "Twitter username" 60 | facebook = "Facebook username" 61 | googleplus = "Googleplus username" 62 | instagram = "Instagram username" 63 | threads = "Threads username" 64 | tumblr = "Tumblr username" 65 | flickr = "Flickr username" 66 | reddit = "Reddit username" 67 | linkedin = "Linkedin username" 68 | slideshare = "Slideshare username" 69 | github = "Github username" 70 | gitlab = "Gitlab username" 71 | bitbucket = "Bitbucket username" 72 | stackoverflow = "Stackoverflow username" 73 | jsfiddle = "Jsfiddle username" 74 | codepen = "Codepen username" 75 | deviantart = "Deviantart username" 76 | behance = "Behance username" 77 | dribbble = "Dribbble username" 78 | wordpress = "Wordpress username" 79 | medium = "Medium username" 80 | foursquare = "Foursquare username" 81 | xing = "Xing username" 82 | quora = "Quora username" 83 | youtube = "YouTube username" 84 | tiktok = "TikTok username" 85 | vimeo = "Vimeo username" 86 | whatsapp = "Whatsapp username" 87 | skype = "Skype username" 88 | snapchat = "Snapchat username" 89 | pinterest = "Pinterest username" 90 | telegram = "Telegram username" 91 | vine = "Vine username" 92 | email = "Your email" 93 | 94 | [[params.author.social]] 95 | name = "Custom social link1" 96 | iclass = "fa-brands fa-github" 97 | url = "https://example.com/whiteplain" 98 | 99 | [[params.author.social]] 100 | name = "Custom social link2" 101 | iclass = "fa-brands fa-google" 102 | url = "https://example.com/whiteplain" 103 | 104 | [taxonomies] 105 | category = "categories" 106 | tag = "tags" 107 | series = "series" 108 | 109 | # Header Menu 110 | [[menu.main]] 111 | name = "Categories" 112 | identifier = "categories" 113 | url = "/categories/" 114 | weight = 1 115 | [[menu.main]] 116 | name = "Tags" 117 | identifier = "tags" 118 | url = "/tags/" 119 | weight = 2 120 | [[menu.main]] 121 | name = "Archives" 122 | identifier = "archives" 123 | url = "/archives/" 124 | weight = 3 125 | [[menu.main]] 126 | name = "About" 127 | identifier = "about" 128 | url = "/about/" 129 | weight = 4 130 | 131 | # Footer Menu 132 | [[menu.footer]] 133 | name = "About" 134 | weight = 1 135 | identifier = "about" 136 | url = "/about/" 137 | ``` 138 | 139 | ### Archives page 140 | The Archive page will be displayed, if you create `content/archives/_index.html`. 141 | The file can be 0 bytes. 142 | ``` 143 | Hugo site direcctory 144 | └── content 145 | └── archives 146 | └── _index.md 147 | ``` 148 | 149 | ### About page 150 | The author information is displayed on the About page. You should create an About page in `content/about/_index.md`. 151 | ``` 152 | Your site direcctory 153 | └── content 154 | └── about 155 | └── _index.md 156 | ``` 157 | 158 | ### Customize Stylesheet and Javascript 159 | You can customize Stylesheet and Javascript. When you create `static/css/custom.css` `static/js/custom.js`, it will be loaded automatically. 160 | 161 | Default Syntax highlighter style is `monokai`. If you want to change the style, create `static/css/syntax.css`. See [Hugo Syntax Highlighting](https://gohugo.io/content-management/syntax-highlighting/) about Syntax highlighting. 162 | ``` 163 | Your site direcctory 164 | └── static 165 | ├── css 166 | │ ├── custom.css 167 | │ └── syntax.css 168 | └── js 169 | └── custom.js 170 | ``` 171 | 172 | If you want to use libraries and frameworks, create `layouts/partials/head_custom.html`. Its contents are read into `...`. 173 | ``` 174 | Your site direcctory 175 | ├── layouts 176 | └── partials 177 | └── head_custom.html 178 | ``` 179 | 180 | ### Customize Share Buttons 181 | 1. Copy `themes/whiteplain/layouts/partials/share.html` to `layouts/partials/share.html`. 182 | 2. Customize `layouts/partials/share.html`. 183 | ``` 184 | Your site direcctory 185 | ├── layouts 186 | │ └── partials 187 | │ └── share.html 188 | └── themes 189 | └── whiteplain 190 | └── layouts 191 | └── partials 192 | └── share.html 193 | ``` 194 | 195 | ### Customize Author SNS Icons 196 | 1. Copy `themes/whiteplain/layouts/partials/social.html` to `layouts/partials/social.html`. 197 | 2. Customize `layouts/partials/social.html`. 198 | ``` 199 | Your site direcctory 200 | ├── layouts 201 | │ └── partials 202 | │ └── social.html 203 | └── themes 204 | └── whiteplain 205 | └── layouts 206 | └── partials 207 | └── social.html 208 | ``` 209 | 210 | ## Icons 211 | This theme using [Font Awesome](https://fontawesome.com/). 212 | 213 | ## License 214 | [MIT](LICENSE) 215 | -------------------------------------------------------------------------------- /static/css/style.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-size: 1em; 3 | } 4 | body { 5 | font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif; 6 | color: #444444; 7 | overflow-y: scroll; 8 | line-height: 1.2; 9 | } 10 | a { 11 | color: #2060d0; 12 | text-decoration: none; 13 | } 14 | a:hover, a:active { 15 | color: #5090ff; 16 | } 17 | hr { 18 | height: 1px; 19 | border: 0; 20 | border-top: solid 1px lightgray; 21 | margin: 0; 22 | } 23 | pre, code { 24 | font-family: Consolas, 'Courier New', Courier, Monaco, monospace; 25 | background-color: #F0F3F3; 26 | } 27 | pre { 28 | padding: 4px 8px; 29 | } 30 | :not(pre) > code { 31 | padding: 2px 4px; 32 | margin: 0 2px; 33 | } 34 | blockquote { 35 | margin: 0; 36 | margin-left: 40px; 37 | border-left: solid 4px #b4c6c7; 38 | padding-left: 8px; 39 | font-style: normal; 40 | color: #7080a0; 41 | } 42 | blockquote blockquote { 43 | margin-left: 0; 44 | border-left-color: #e7c3e5; 45 | } 46 | blockquote blockquote blockquote { 47 | border-left-color: #c3e7d2; 48 | } 49 | blockquote blockquote blockquote blockquote { 50 | border-left-color: lightgray; 51 | } 52 | 53 | /* Site header */ 54 | .site-header { 55 | max-width: 900px; 56 | margin-left: auto; 57 | margin-right: auto; 58 | } 59 | .site-navi { 60 | display: -webkit-flex; 61 | display: flex; 62 | -webkit-justify-content: flex-end; 63 | justify-content: flex-end; 64 | -webkit-align-items: baseline; 65 | align-items: baseline; 66 | padding-bottom: 8px; 67 | } 68 | .site-navi a { 69 | color: inherit; 70 | text-decoration: none; 71 | } 72 | .site-navi a:hover, .site-navi a:active { 73 | color: gray; 74 | } 75 | .site-title { 76 | -webkit-flex-grow: 1; 77 | flex-grow: 1; 78 | font-size: 2rem; 79 | margin: 0; 80 | margin-top: 10px; 81 | padding: 0; 82 | font-weight: normal; 83 | } 84 | .site-navi-items { 85 | -webkit-flex-grow: 0; 86 | flex-grow: 0; 87 | display: -webkit-flex; 88 | display: flex; 89 | -webkit-align-items: flex-end; 90 | -webkit-flex-wrap: wrap; 91 | -webkit-justify-content: flex-end; 92 | justify-content: flex-end; 93 | flex-wrap: wrap; 94 | align-items: flex-end; 95 | font-size: 1.2em; 96 | list-style-type: none; 97 | margin: 0; 98 | margin-top: 10px; 99 | padding: 0; 100 | } 101 | .site-navi-items li { 102 | padding-left: 20px; 103 | white-space: nowrap; 104 | } 105 | .site-header-bottom { 106 | margin-top: 0; 107 | margin-bottom: 40px; 108 | margin-left: auto; 109 | margin-right: auto; 110 | width: 100%; 111 | } 112 | 113 | /* Breadcrumb */ 114 | .breadcrumb { 115 | max-width: 900px; 116 | margin-left: auto; 117 | margin-right: auto; 118 | margin-bottom: 20px; 119 | font-size: 1.6em; 120 | } 121 | 122 | /* Code highlight */ 123 | .highlight pre, .highlight code { 124 | background-color: inherit; 125 | padding: 0; 126 | } 127 | 128 | /* Main contents */ 129 | .main { 130 | max-width: 900px; 131 | margin-left: auto; 132 | margin-right: auto; 133 | } 134 | 135 | /* article */ 136 | .article { 137 | margin-bottom: 40px; 138 | line-height: 1.5; 139 | } 140 | .article img { 141 | max-width: 100%; 142 | box-sizing: border-box; 143 | border: solid 1px lightgray; 144 | padding: 4px; 145 | } 146 | .article > table { 147 | width: auto; 148 | overflow-x: auto; 149 | overflow-y: hidden; 150 | border: solid 1px lightgray; 151 | border-spacing: 0; 152 | border-collapse: collapse; 153 | } 154 | .article > table th, .article > table td { 155 | border: solid 1px lightgray; 156 | padding: 4px; 157 | } 158 | .article > div { 159 | width: auto; 160 | overflow-x: auto; 161 | overflow-y: hidden; 162 | } 163 | .article > pre { 164 | width: auto; 165 | overflow-x: auto; 166 | overflow-y: hidden; 167 | } 168 | .article-image { 169 | width: 100%; 170 | box-sizing: border-box; 171 | margin-bottom: 20px; 172 | } 173 | .article-title { 174 | margin: 0; 175 | padding: 0; 176 | } 177 | .article-subtitle { 178 | margin: 0; 179 | padding: 0; 180 | } 181 | .article-title-series { 182 | margin: 0; 183 | padding: 0; 184 | } 185 | .article-title-series a { 186 | color: inherit; 187 | } 188 | .article-title-series a:hover, .article-title-series a:active { 189 | color: gray; 190 | } 191 | .article-title-bottom { 192 | margin-top: 5px; 193 | } 194 | .about .article-title-bottom { 195 | margin-bottom: 40px; 196 | } 197 | .article .article-meta { 198 | list-style-type: none; 199 | padding: 0; 200 | margin: 5px 0 40px 0; 201 | display: -webkit-flex; 202 | display: flex; 203 | -webkit-align-items: flex-end; 204 | align-items: flex-end; 205 | -webkit-flex-wrap: wrap; 206 | flex-wrap: wrap; 207 | } 208 | .article-meta a { 209 | color: inherit; 210 | } 211 | .article-meta a:hover, .article-meta a:active { 212 | color: gray; 213 | } 214 | .article-meta li { 215 | padding: 0; 216 | padding-right: 4px; 217 | margin: 0; 218 | } 219 | .article-meta li.article-meta-date { 220 | padding: 0; 221 | padding-right: 24px; 222 | } 223 | 224 | .article-series { 225 | margin-bottom: 40px; 226 | } 227 | .article-series .series-title a { 228 | color: inherit; 229 | } 230 | .article-series .series-title a:hover, .article-series .series-title a:active { 231 | color: gray; 232 | } 233 | .article-series .active { 234 | } 235 | 236 | .article-share { 237 | list-style-type: none; 238 | padding: 0; 239 | margin: 0; 240 | margin-bottom: 40px; 241 | display: -webkit-flex; 242 | display: flex; 243 | -webkit-align-items: flex-end; 244 | align-items: flex-end; 245 | -webkit-flex-wrap: wrap; 246 | flex-wrap: wrap; 247 | } 248 | .article-share li { 249 | margin-right: 4px; 250 | vertical-align: bottom; 251 | padding: 0; 252 | font-size: 0.8em; 253 | } 254 | 255 | .article-share li a:hover, .article-share li a:active { 256 | color: #fff; 257 | } 258 | 259 | .disqus-comments { 260 | margin-bottom: 40px; 261 | } 262 | .article-pager { 263 | } 264 | 265 | .toc { 266 | float: right; 267 | padding: 4px; 268 | margin: 0; 269 | margin-left: 10px; 270 | margin-bottom: 10px; 271 | border: solid 1px lightgray; 272 | } 273 | .toc ul { 274 | list-style-type: none; 275 | padding: 0; 276 | padding-left: 12px; 277 | margin: 0; 278 | } 279 | .toc nav > ul { 280 | padding-left: 0; 281 | } 282 | 283 | /* pager */ 284 | .pager { 285 | list-style-type: none; 286 | padding: 0; 287 | display: -webkit-flex; 288 | display: flex; 289 | -webkit-justify-content: center; 290 | justify-content: center; 291 | } 292 | .pager-newer { 293 | margin-right: 40px; 294 | } 295 | .pager-older { 296 | } 297 | .pager-noitem { 298 | color: gray; 299 | } 300 | 301 | /* About */ 302 | .author { 303 | } 304 | .author-name { 305 | font-size: 1.2em; 306 | font-weight: bold; 307 | margin-bottom: 10px; 308 | text-align: center; 309 | } 310 | .author-avatar-wrapper { 311 | margin-left: auto; 312 | margin-right: auto; 313 | padding: 0; 314 | width:158px; 315 | height:158px; 316 | border-radius: 50%; 317 | border: solid 1px lightgray; 318 | } 319 | .author-avatar { 320 | width:150px; 321 | height:150px; 322 | margin: 4px; 323 | border-radius: 50%; 324 | background-color: lightgray; 325 | background-repeat: no-repeat; 326 | background-position: center center; 327 | background-size: contain; 328 | } 329 | .author-social { 330 | list-style-type: none; 331 | padding: 0; 332 | display: -webkit-flex; 333 | display: flex; 334 | -webkit-justify-content: center; 335 | justify-content: center; 336 | -webkit-flex-wrap: wrap; 337 | flex-wrap: wrap; 338 | } 339 | .author-social li { 340 | font-size: 1.5em; 341 | margin-left: 6px; 342 | margin-right: 6px; 343 | } 344 | .author-social a { 345 | color: inherit; 346 | } 347 | .author-social a:hover, .author-social a:active { 348 | color: gray; 349 | } 350 | 351 | /* List page */ 352 | .list { 353 | } 354 | .list .article { 355 | padding-bottom: 40px; 356 | margin-bottom: 40px; 357 | border-bottom: solid 1px lightgray; 358 | } 359 | .list .article-titles { 360 | color: inherit; 361 | } 362 | .list .article-titles:hover, .list .article-titles:active { 363 | color: gray; 364 | } 365 | .list .article-meta { 366 | margin-top: 6px; 367 | margin-bottom: 15px; 368 | } 369 | .list .article-image { 370 | width: 200px; 371 | float: left; 372 | margin: 0; 373 | margin-right: 8px; 374 | } 375 | .list .article-content { 376 | } 377 | .list .article-readmore { 378 | } 379 | .list .article-floatclear { 380 | clear: both; 381 | height: 0; 382 | } 383 | 384 | /* Site footer */ 385 | .site-footer { 386 | max-width: 900px; 387 | margin-left: auto; 388 | margin-right: auto; 389 | margin-top: 70px; 390 | margin-bottom: 20px; 391 | font-size: 0.8rem; 392 | display: -webkit-flex; 393 | display: flex; 394 | -webkit-align-items: baseline; 395 | align-items: baseline; 396 | -webkit-flex-wrap: wrap; 397 | flex-wrap: wrap; 398 | 399 | } 400 | 401 | /* Footer */ 402 | .site-footer .copyright { 403 | -webkit-flex-grow: 0; 404 | flex-grow: 0; 405 | margin-right: 10px; 406 | } 407 | .site-footer-items { 408 | -webkit-flex-grow: 0; 409 | flex-grow: 0; 410 | list-style-type: none; 411 | margin: 0; 412 | padding: 0; 413 | display: -webkit-flex; 414 | display: flex; 415 | -webkit-align-items: baseline; 416 | align-items: baseline; 417 | -webkit-flex-wrap: wrap; 418 | flex-wrap: wrap; 419 | } 420 | .site-footer-items li { 421 | font-size: 0.8rem; 422 | margin: 0 4px 0 4px; 423 | padding: 0; 424 | } 425 | .site-footer .powerdby { 426 | -webkit-flex-grow: 1; 427 | flex-grow: 1; 428 | margin-left: 10px; 429 | text-align: right; 430 | } 431 | 432 | /* Terms page */ 433 | .terms { 434 | padding: 0 20px 0 20px; 435 | } 436 | .terms > ul { 437 | list-style-type: none; 438 | margin: 0; 439 | padding: 0; 440 | } 441 | .terms > ul > li { 442 | padding: 0 0 3px 0; 443 | margin: 0 0 3px 0; 444 | border-bottom: 1px solid lightgray; 445 | display: -webkit-flex; 446 | display: flex; 447 | } 448 | .archives > ul > li > a { 449 | -webkit-flex-grow: 0; 450 | flex-grow: 0; 451 | } 452 | .terms > ul > li time { 453 | -webkit-flex-grow: 1; 454 | flex-grow: 1; 455 | text-align: right; 456 | } 457 | 458 | /* Archives page */ 459 | .archives { 460 | padding: 0 20px 0 20px; 461 | } 462 | .archives ul:not(.taxonomies) { 463 | list-style-type: none; 464 | margin: 0; 465 | padding: 0; 466 | } 467 | .archives .archives-month, .archives .archives-item { 468 | padding: 0 0 3px 0; 469 | margin: 0 0 3px 0; 470 | border-bottom: 1px solid lightgray; 471 | display: -webkit-flex; 472 | display: flex; 473 | } 474 | .archives .archives-monthly-container { 475 | padding: 0; 476 | margin: 0; 477 | margin-bottom: 20px; 478 | border: 0; 479 | } 480 | .archives .archives-item > a { 481 | -webkit-flex-grow: 0; 482 | flex-grow: 0; 483 | } 484 | .archives .archives-item > a:visited { 485 | color: #a8a8a8; 486 | } 487 | .archives .archives-item time { 488 | -webkit-flex-grow: 1; 489 | flex-grow: 1; 490 | text-align: right; 491 | } 492 | .archives ul.taxonomies { 493 | -webkit-flex-grow: 0; 494 | flex-grow: 0; 495 | list-style-type: none; 496 | margin: 0; 497 | padding: 0 0 0 10px; 498 | display: -webkit-flex; 499 | display: flex; 500 | } 501 | .archives ul.taxonomies li { 502 | padding: 0 0 0 8px; 503 | } 504 | .archives ul.taxonomies li a { 505 | color: inherit; 506 | font-size: 0.8em; 507 | } 508 | .archives ul.taxonomies li a:hover, .archives ul.taxonomies li a:active { 509 | color: gray; 510 | } 511 | 512 | .pagination { 513 | list-style-type: none; 514 | padding: 0; 515 | margin-top: 20px; 516 | margin-bottom: 0px; 517 | display: -webkit-flex; 518 | display: flex; 519 | -webkit-justify-content: center; 520 | justify-content: center; 521 | } 522 | .pagination li { 523 | padding: 0 5px 0 5px; 524 | } 525 | .pagination li.active a { 526 | pointer-events: none; 527 | cursor: default; 528 | text-decoration:none; 529 | color: inherit; 530 | } 531 | .pagination li.active a:hover, .pagination li.active a:active { 532 | color: gray; 533 | } 534 | 535 | .icon { 536 | display: inline-block; 537 | width: 1em; 538 | height: 1em; 539 | stroke-width: 0; 540 | stroke: currentColor; 541 | fill: currentColor; 542 | } 543 | 544 | .error h1 { 545 | text-align: center; 546 | } 547 | 548 | /* Mobile */ 549 | @media screen and (max-width: 768px) { 550 | .site-header, .site-header-bottom, .main, .breadcrumb, .site-footer { 551 | width: 98%; 552 | box-sizing: border-box; 553 | } 554 | .list .article-image { 555 | width: 100%; 556 | box-sizing: border-box; 557 | float: none; 558 | margin: 0; 559 | } 560 | .toc { 561 | display: none; 562 | } 563 | .archives ul.taxonomies, .archives .archives-item time { 564 | display: none; 565 | } 566 | .terms > ul > li time { 567 | display: none; 568 | } 569 | .site-navi { 570 | -webkit-flex-wrap: wrap; 571 | flex-wrap: wrap; 572 | } 573 | .terms, .archives { 574 | padding: 0; 575 | } 576 | } 577 | 578 | @media print { 579 | .site-header, .site-header-bottom, .toc, .site-footer, .pager, .disqus-comments, .article-share { 580 | display: none; 581 | } 582 | .main, .breadcrumb { 583 | width: 100%; 584 | box-sizing: border-box; 585 | } 586 | 587 | } 588 | 589 | 590 | /* === sharingbuttons.io start === */ 591 | .resp-sharing-button__link, 592 | .resp-sharing-button__icon { 593 | display: inline-block 594 | } 595 | 596 | .resp-sharing-button__link { 597 | text-decoration: none; 598 | color: #fff; 599 | margin: 0.5em 600 | } 601 | 602 | .resp-sharing-button { 603 | border-radius: 5px; 604 | transition: 25ms ease-out; 605 | padding: 0.5em 0.75em; 606 | font-family: Helvetica Neue,Helvetica,Arial,sans-serif 607 | } 608 | 609 | .resp-sharing-button__icon svg { 610 | width: 1em; 611 | height: 1em; 612 | margin-right: 0.4em; 613 | vertical-align: top 614 | } 615 | 616 | .resp-sharing-button--small svg { 617 | margin: 0; 618 | vertical-align: middle 619 | } 620 | 621 | /* Non solid icons get a stroke */ 622 | .resp-sharing-button__icon { 623 | stroke: #fff; 624 | fill: none 625 | } 626 | 627 | /* Solid icons get a fill */ 628 | .resp-sharing-button__icon--solid, 629 | .resp-sharing-button__icon--solidcircle { 630 | fill: #fff; 631 | stroke: none 632 | } 633 | 634 | .resp-sharing-button--twitter { 635 | background-color: #55acee 636 | } 637 | 638 | .resp-sharing-button--twitter:hover { 639 | background-color: #2795e9 640 | } 641 | 642 | .resp-sharing-button--bluesky { 643 | background-color: #1185FE 644 | } 645 | 646 | .resp-sharing-button--bluesky:hover { 647 | background-color: #252b37 648 | } 649 | 650 | .resp-sharing-button--pinterest { 651 | background-color: #bd081c 652 | } 653 | 654 | .resp-sharing-button--pinterest:hover { 655 | background-color: #8c0615 656 | } 657 | 658 | .resp-sharing-button--facebook { 659 | background-color: #3b5998 660 | } 661 | 662 | .resp-sharing-button--facebook:hover { 663 | background-color: #2d4373 664 | } 665 | 666 | .resp-sharing-button--tumblr { 667 | background-color: #35465C 668 | } 669 | 670 | .resp-sharing-button--tumblr:hover { 671 | background-color: #222d3c 672 | } 673 | 674 | .resp-sharing-button--reddit { 675 | background-color: #5f99cf 676 | } 677 | 678 | .resp-sharing-button--reddit:hover { 679 | background-color: #3a80c1 680 | } 681 | 682 | .resp-sharing-button--google { 683 | background-color: #dd4b39 684 | } 685 | 686 | .resp-sharing-button--google:hover { 687 | background-color: #c23321 688 | } 689 | 690 | .resp-sharing-button--linkedin { 691 | background-color: #0077b5 692 | } 693 | 694 | .resp-sharing-button--linkedin:hover { 695 | background-color: #046293 696 | } 697 | 698 | .resp-sharing-button--email { 699 | background-color: #777 700 | } 701 | 702 | .resp-sharing-button--email:hover { 703 | background-color: #5e5e5e 704 | } 705 | 706 | .resp-sharing-button--xing { 707 | background-color: #1a7576 708 | } 709 | 710 | .resp-sharing-button--xing:hover { 711 | background-color: #114c4c 712 | } 713 | 714 | .resp-sharing-button--whatsapp { 715 | background-color: #25D366 716 | } 717 | 718 | .resp-sharing-button--whatsapp:hover { 719 | background-color: #1da851 720 | } 721 | 722 | .resp-sharing-button--hackernews { 723 | background-color: #FF6600 724 | } 725 | .resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus { background-color: #FB6200 } 726 | 727 | .resp-sharing-button--vk { 728 | background-color: #507299 729 | } 730 | 731 | .resp-sharing-button--vk:hover { 732 | background-color: #43648c 733 | } 734 | 735 | .resp-sharing-button--facebook { 736 | background-color: #3b5998; 737 | border-color: #3b5998; 738 | } 739 | 740 | .resp-sharing-button--facebook:hover, 741 | .resp-sharing-button--facebook:active { 742 | background-color: #2d4373; 743 | border-color: #2d4373; 744 | } 745 | 746 | .resp-sharing-button--twitter { 747 | background-color: #55acee; 748 | border-color: #55acee; 749 | } 750 | 751 | .resp-sharing-button--twitter:hover, 752 | .resp-sharing-button--twitter:active { 753 | background-color: #2795e9; 754 | border-color: #2795e9; 755 | } 756 | 757 | .resp-sharing-button--x { 758 | background-color: #000000; 759 | border-color: #000000; 760 | } 761 | 762 | .resp-sharing-button--x:hover, 763 | .resp-sharing-button--x:active { 764 | background-color: #505050; 765 | border-color: #505050; 766 | } 767 | 768 | .resp-sharing-button--bluesky { 769 | background-color: #1185FE; 770 | border-color: #1185FE; 771 | } 772 | 773 | .resp-sharing-button--bluesky:hover, 774 | .resp-sharing-button--bluesky:active { 775 | background-color: #0675DE; 776 | border-color: #0675DE; 777 | } 778 | 779 | /* === sharingbuttons.io end === */ 780 | --------------------------------------------------------------------------------