beautifulSA-jekyll/assets/css/beautifuljekyll.css

990 lines
20 KiB
CSS
Raw Normal View History

---
layout: null
---
2015-03-02 21:06:05 +01:00
@import url("pygment_highlights.css");
/* --- General --- */
html {
font-size: 100%
}
2015-03-02 21:06:05 +01:00
body {
font-family: 'Lora', 'Times New Roman', serif;
font-size: 1.125rem;
color: {{ site.text-col | default: "#404040" }};
2015-03-02 21:06:05 +01:00
position: relative;
background-color: {{ site.page-col | default: "#FFFFFF" }};
{% if site.page-img %}
background-image: url({{ site.page-img | relative_url }});
background-attachment: fixed;
{% endif %}
2015-03-02 21:06:05 +01:00
}
p {
line-height: 1.5;
margin: 1.875rem 0;
2015-03-02 21:06:05 +01:00
}
h1,h2,h3,h4,h5,h6 {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
line-height: 1.1;
}
h1 {
font-size: 2.25rem;
}
h2 {
font-size: 1.875rem;
}
h3 {
font-size: 1.5rem;
}
h4 {
font-size: 1.125rem;
2015-03-02 21:06:05 +01:00
}
a {
color: {{ site.link-col | default: "#008AFF" }};
2015-03-02 21:06:05 +01:00
}
a:hover,
a:focus {
color: {{ site.hover-col | default: "#0085A1" }};
2015-03-02 21:06:05 +01:00
}
blockquote {
color: #808080;
font-style: italic;
}
2016-06-04 11:05:04 +02:00
blockquote p:first-child {
margin-top: 0;
2016-06-04 00:02:21 +02:00
}
2015-03-02 21:06:05 +01:00
hr.small {
max-width: 6.25rem;
margin: 1rem auto;
border-width: 0.25rem;
2015-03-02 21:06:05 +01:00
border-color: inherit;
border-radius: 0.1875rem;
2015-03-02 21:06:05 +01:00
}
/* fix in-page anchors to not be behind fixed header */
2020-08-09 02:13:28 +02:00
:target:before {
content: "";
display: block;
height: 3.125rem; /* navbar height */
margin: -3.125rem 0 0;
}
2015-03-02 21:06:05 +01:00
.main-content {
padding-top: 5rem;
2015-03-02 21:06:05 +01:00
}
@media (min-width: 768px) {
2015-03-02 21:06:05 +01:00
.main-content {
padding-top: 8.125rem;
2015-03-02 21:06:05 +01:00
}
}
.hideme {
display: none;
}
::-moz-selection {
color: white;
text-shadow: none;
background-color: {{ site.hover-col | default: "#0085A1" }};
2015-03-02 21:06:05 +01:00
}
::selection {
color: white;
text-shadow: none;
background-color: {{ site.hover-col | default: "#0085A1" }};
2015-03-02 21:06:05 +01:00
}
img::selection {
color: white;
background: transparent;
}
img::-moz-selection {
color: white;
background: transparent;
}
2015-12-29 22:32:51 +01:00
img {
max-width: 100%;
}
.linked-section {
padding-top: 3.75rem;
margin-top: -1.5625rem;
}
/* Comments */
2015-03-14 02:35:19 +01:00
.disqus-comments {
margin-top: 1.875rem;
2015-03-14 02:35:19 +01:00
}
@media (min-width: 768px) {
2015-03-14 02:35:19 +01:00
.disqus-comments {
margin-top: 2.5rem;
2015-03-14 02:35:19 +01:00
}
}
2015-03-02 21:06:05 +01:00
/* --- Navbar --- */
.navbar-custom {
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
border-bottom: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
2015-03-02 21:06:05 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
{% if site.navbar-img %}
background-image: url({{ site.navbar-img | relative_url }});
background-attachment: fixed;
{% endif %}
-webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
-moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
transition: background .5s ease-in-out,padding .5s ease-in-out;
2015-03-02 21:06:05 +01:00
}
.navbar-custom,
.navbar-custom.top-nav-short,
.navbar-custom.top-nav-short-permanent {
padding-top: 0;
padding-bottom: 0;
2015-03-02 21:06:05 +01:00
}
.navbar-custom .navbar-brand {
line-height: 1.5;
padding-top: 0.625rem;
padding-bottom: 0.625rem;
font-size: 1.125rem;
2015-03-02 21:06:05 +01:00
}
2016-12-15 23:00:36 +01:00
.navbar-custom .navbar-brand-logo {
2016-12-15 23:04:01 +01:00
-webkit-transition: padding .5s ease-in-out;
-moz-transition: padding .5s ease-in-out;
transition: padding .5s ease-in-out;
2016-12-15 23:00:36 +01:00
}
.navbar-custom .navbar-brand-logo,
.navbar-custom.top-nav-short .navbar-brand-logo,
.navbar-custom.top-nav-short-permanent .navbar-brand-logo {
padding-top: 0.3125rem;
padding-bottom: 0.3125rem;
}
2016-12-15 23:00:36 +01:00
.navbar-custom .navbar-brand-logo img {
-webkit-transition: height .5s ease-in-out;
-moz-transition: height .5s ease-in-out;
transition: height .5s ease-in-out;
}
.navbar-custom .navbar-brand-logo img,
.navbar-custom.top-nav-short .navbar-brand-logo img,
.navbar-custom.top-nav-short-permanent .navbar-brand-logo img {
height: 2.5rem;
2016-12-15 23:00:36 +01:00
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link:focus,
.navbar-custom .navbar-nav .dropdown-item:hover,
.navbar-custom .navbar-nav .dropdown-item:focus {
color: {{ site.hover-col | default: "#0085A1" }};
2016-12-15 23:00:36 +01:00
}
.navbar-custom .navbar-nav .nav-item {
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.0625rem;
}
.navbar-custom .navbar-nav .nav-link {
padding-top: 0;
padding-bottom: 0;
line-height: 1.5;
padding-top: 1rem;
padding-bottom: 1rem;
}
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav .nav-link {
font-weight: 800;
color: {{ site.navbar-text-col | default: "#404040" }};
}
.navbar-toggler {
font-size: 1rem;
margin: 0.5rem 0;
}
.navbar-custom .navbar-toggler:focus,
.navbar-custom .navbar-toggler:hover {
background-color: initial;
}
.navbar-custom .navbar-toggler[aria-expanded="true"] {
background-color: rgba(0, 0, 0, 0.2);
}
.dropdown-toggle::after {
border-width: 0.4em;
}
@media (min-width: 768px) {
2015-03-02 21:06:05 +01:00
.navbar-custom {
padding-top: 1.25rem;
padding-bottom: 1.25rem;
}
.navbar-custom .navbar-brand-logo {
padding-top: 0;
padding-bottom: 0;
}
.navbar-custom .navbar-brand-logo img {
height: 3.125rem;
}
.navbar-expand-md .navbar-nav .nav-link {
padding-left: 0.9375rem;
padding-right: 0.9375rem;
}
.navbar-expand-md .navbar-nav .nav-item:not(.dropdown):last-child .nav-link {
padding-right: 0;
}
}
@media (min-width: 768px) {
.navbar-custom .nav-item.dropdown:hover {
background: rgba(0, 0, 0, 0.1);
}
}
.navbar-custom .nav-item.dropdown.show {
background: rgba(0, 0, 0, 0.2);
}
.navbar-custom .nav-item.dropdown .dropdown-menu {
min-width: 0;
margin-top: 0;
font-size: 1em;
border: 0;
padding: 0;
width: 100%;
word-break: break-word;
}
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
white-space: normal;
padding: 0.625rem;
background-color: {{ site.navbar-col | default: "#EAEAEA" }};
text-decoration: none !important;
border-width: 0 1px 1px 1px;
font-weight: normal;
}
@media (min-width: 768px) {
.navbar-custom .nav-item.dropdown .dropdown-menu {
text-align: center;
2015-03-02 21:06:05 +01:00
}
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
padding-left: 0.625rem;
border: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
border-width: 0 1px 1px;
}
}
@media (max-width: 767px) {
.navbar-custom .navbar-collapse {
border-top: 1px solid {{ site.navbar-border-col | default: "#DDDDDD" }};
margin: 0 -1rem;
}
.navbar-custom .navbar-nav {
padding: 0.5rem 0;
}
.navbar-custom .navbar-nav .nav-link {
padding: 0.675rem 0 0.675rem 1rem;
}
.navbar-custom .nav-item.dropdown.show {
background: rgba(0, 0, 0, 0.2);
}
.navbar-custom .nav-item.dropdown .dropdown-menu .dropdown-item {
padding-left: 2rem;
2015-03-02 21:06:05 +01:00
}
}
.navbar-custom .avatar-container {
position: absolute;
left: 50%;
width: 3.125rem;
margin-top: 1.75rem;
transition: opacity 0.5s ease-in-out;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
}
.navbar-custom.top-nav-short .avatar-container {
opacity: 0;
visibility: hidden;
transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
-webkit-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
-moz-transition: visibility linear 0.5s, opacity 0.5s ease-in-out;
2015-03-02 21:06:05 +01:00
}
2019-08-01 07:36:08 +02:00
.navbar-custom .avatar-container .avatar-img-border {
width: 100%;
display: inline-block;
2020-04-24 19:49:23 +02:00
margin-left: -50%;
2020-04-19 08:40:34 +02:00
{% unless site.round-avatar == false %}
border-radius: 50%;
box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
-webkit-box-shadow: 0 0 0.3125rem rgba(0, 0, 0, .8);
-moz-box-shadow: 0 0 0.5rem rgba(0, 0, 0, .8);
2020-04-19 08:40:34 +02:00
{% endunless %}
2015-03-02 21:06:05 +01:00
}
2019-08-01 07:36:08 +02:00
.navbar-custom .avatar-container .avatar-img {
width: 100%;
2020-04-19 08:40:34 +02:00
{% unless site.round-avatar == false %}
border-radius: 50%;
2020-04-19 08:40:34 +02:00
{% endunless %}
2015-03-02 21:06:05 +01:00
display: block;
}
2019-08-01 07:36:08 +02:00
.navbar-custom.top-nav-expanded .avatar-container {
2015-03-02 21:06:05 +01:00
display: none;
}
@media (min-width: 768px) {
.navbar-custom.top-nav-regular .avatar-container {
width: 6.25rem;
2015-03-02 21:06:05 +01:00
}
.navbar-custom.top-nav-regular .avatar-container .avatar-img-border {
2015-03-02 21:06:05 +01:00
width: 100%;
2020-04-19 08:40:34 +02:00
{% unless site.round-avatar == false %}
2015-03-02 21:06:05 +01:00
box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
-webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
-moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, .8);
2020-04-19 08:40:34 +02:00
{% endunless %}
2015-03-02 21:06:05 +01:00
}
.navbar-custom.top-nav-regular .avatar-container .avatar-img {
2015-03-02 21:06:05 +01:00
width: 100%;
}
}
2015-03-02 21:06:05 +01:00
/* --- Footer --- */
footer {
padding: 1.875rem 0;
2015-03-02 21:06:05 +01:00
border-top: 1px #EAEAEA solid;
margin-top: 3.125rem;
font-size: 0.875rem;
background-color: {{ site.footer-col | default: "#EAEAEA" }};
{% if site.footer-img %}
background-image: url({{ site.footer-img | relative_url }});
background-attachment: fixed;
{% endif %}
2015-03-02 21:06:05 +01:00
}
footer p.text-muted {
color: {{ site.footer-text-col | default: "#777777" }} !important;
}
2015-03-02 21:06:05 +01:00
footer a {
color: {{ site.footer-link-col | default: "#404040" }};
2015-03-02 21:06:05 +01:00
}
footer .list-inline {
margin: 0;
padding: 0;
margin-bottom: 1.875rem;
2015-03-02 21:06:05 +01:00
}
footer .copyright {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2015-03-02 21:06:05 +01:00
text-align: center;
margin-bottom: 0;
2020-04-28 23:24:45 +02:00
margin-top: 0;
2015-03-02 21:06:05 +01:00
}
footer .theme-by {
text-align: center;
margin: 0.625rem 0 0;
2015-03-02 21:06:05 +01:00
}
2020-04-28 23:24:45 +02:00
footer .footer-custom-content {
text-align: center;
margin-bottom: 0.9375rem;
2020-04-29 00:43:18 +02:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2020-04-28 23:24:45 +02:00
}
2015-03-02 21:06:05 +01:00
@media (min-width: 768px) {
2015-03-02 21:06:05 +01:00
footer {
padding: 3.125rem 0;
2015-03-02 21:06:05 +01:00
}
footer .footer-links {
font-size: 1.125rem;
2015-03-02 21:06:05 +01:00
}
footer .copyright {
font-size: 1rem;
2015-03-02 21:06:05 +01:00
}
2020-04-28 23:24:45 +02:00
footer .footer-custom-content {
font-size: 1rem;
2020-04-28 23:24:45 +02:00
}
2015-03-02 21:06:05 +01:00
}
/* --- Post preview (feed) --- */
2015-03-02 21:06:05 +01:00
.post-preview {
padding: 1.25rem 0;
2015-03-02 21:06:05 +01:00
border-bottom: 1px solid #eee;
}
@media (min-width: 768px) {
2015-03-02 21:06:05 +01:00
.post-preview {
padding: 2.1875rem 0;
2015-03-02 21:06:05 +01:00
}
}
.post-preview:last-child {
border-bottom: 0;
}
.post-preview a {
text-decoration: none;
2020-08-30 09:25:36 +02:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: {{ site.text-col | default: "#404040" }};
2015-03-02 21:06:05 +01:00
}
.post-preview a:focus,
.post-preview a:hover {
text-decoration: none;
color: {{ site.hover-col | default: "#0085A1" }};
2015-03-02 21:06:05 +01:00
}
.post-preview .post-title {
font-size: 1.875rem;
2015-03-02 21:06:05 +01:00
margin-top: 0;
}
.post-preview .post-subtitle {
margin: 0;
font-weight: 300;
margin-bottom: 0.625rem;
2015-03-02 21:06:05 +01:00
}
.post-preview .post-meta,
.post-heading .post-meta {
color: #808080;
font-size: 1.125rem;
2015-03-02 21:06:05 +01:00
font-style: italic;
margin: 0 0 0.625rem;
2020-08-30 09:25:36 +02:00
font-family: 'Lora', 'Times New Roman', serif;
}
.post-preview .post-entry {
width: 100%;
}
.post-preview .post-image {
float: right;
margin-left: 0.625rem;
height: 12rem;
width: 12rem;
2020-08-30 09:25:36 +02:00
}
.post-preview .post-image {
filter: grayscale(90%);
}
.post-preview .post-image:hover {
filter: grayscale(0%);
}
.post-preview .post-image img {
2020-08-30 09:25:36 +02:00
border-radius: 6rem;
height: 100%;
width: 100%;
}
.post-preview .post-image-short {
2020-08-30 09:25:36 +02:00
margin-top: -2.1875rem;
}
@media (max-width: 767px) {
.post-preview .post-image {
2020-08-30 09:25:36 +02:00
height: 9rem;
width: 9rem;
}
.post-preview .post-image-short {
2020-08-30 09:25:36 +02:00
margin-top: 0;
}
}
.post-preview .post-image-small {
2020-08-30 09:25:36 +02:00
width: 100%;
height: 100%;
text-align: center;
display: none;
}
.post-preview .post-image-small img {
2020-08-30 09:25:36 +02:00
width: 6.25rem;
height: 6.25rem;
}
@media (max-width: 500px) {
.post-preview .post-image {
2020-08-30 09:25:36 +02:00
display: none;
}
.post-preview .post-image-small {
2020-08-30 09:25:36 +02:00
display: block;
}
}
2015-03-02 21:06:05 +01:00
.post-preview .post-read-more {
font-weight: 800;
}
@media (min-width: 768px) {
2015-03-02 21:06:05 +01:00
.post-preview .post-title {
font-size: 2.25rem;
2015-03-02 21:06:05 +01:00
}
}
2016-07-27 22:19:16 +02:00
/* --- Tags --- */
.blog-tags {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #999;
font-size: 0.9375rem;
margin-bottom: 1.875rem;
2016-07-27 22:19:16 +02:00
}
.blog-tags a {
color: {{ site.link-col | default: "#008AFF" }};
2016-07-27 22:19:16 +02:00
text-decoration: none;
padding: 0 0.3125rem;
2016-07-27 22:19:16 +02:00
}
.blog-tags a:hover {
2016-07-28 01:45:49 +02:00
border-radius: 2px;
color: {{ site.hover-col | default: "#0085A1" }};
2018-01-19 07:35:31 +01:00
background-color: #EEE;
2016-07-27 22:19:16 +02:00
}
2016-07-28 01:45:49 +02:00
.post-preview .blog-tags {
margin-top: 0.3125rem;
2016-07-28 01:45:49 +02:00
margin-bottom: 0;
}
@media (min-width: 768px) {
2016-07-28 01:45:49 +02:00
.post-preview .blog-tags {
margin-top: 0.625rem;
2016-07-28 01:45:49 +02:00
}
}
/* Tags page */
.tag-btn {
margin: 0.3125rem;
}
#full-tags-list {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
#full-tags-list .tag-entry {
margin: 0 0 0.9375rem 1.5625rem;
}
#full-tags-list .tag-entry a {
font-size: 1.25rem;
}
#full-tags-list .tag-entry .entry-date {
color: #808080;
font-style: italic;
font-size: 1rem;
}
2016-03-18 12:33:17 +01:00
/* --- Post and page headers --- */
2015-03-02 21:06:05 +01:00
2016-03-18 12:33:17 +01:00
.intro-header {
margin: 5rem 0 1.25rem;
2016-03-18 12:33:17 +01:00
position: relative;
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.intro-header.big-img {
background: no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
margin-top: 3.1875rem; /* The small navbar is 50px tall + 1px border */
margin-bottom: 2.1875rem;
2016-03-18 12:33:17 +01:00
}
nav.top-nav-short-permanent ~ header > .intro-header {
margin-top: 5rem;
}
nav.top-nav-short-permanent ~ header > .intro-header.big-img {
margin-top: 3.1875rem;
}
2019-08-01 07:36:08 +02:00
.intro-header.big-img .big-img-transition {
2016-03-18 12:33:17 +01:00
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
background: no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
-webkit-transition: opacity 1s linear;
-moz-transition: opacity 1s linear;
transition: opacity 1s linear;
}
.intro-header .page-heading {
2015-03-02 21:06:05 +01:00
text-align: center;
}
2016-03-18 12:33:17 +01:00
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
padding: 6.25rem 0;
2016-03-18 12:33:17 +01:00
color: #FFF;
text-shadow: 1px 1px 3px #000;
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.intro-header .page-heading h1 {
margin-top: 0;
font-size: 3.125rem;
2016-03-18 12:33:17 +01:00
}
.intro-header .post-heading h1 {
2015-03-02 21:06:05 +01:00
margin-top: 0;
font-size: 2.1875rem;
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
font-size: 1.6875rem;
2015-03-02 21:06:05 +01:00
line-height: 1.1;
display: block;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
margin: 0.625rem 0 0;
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.intro-header .post-heading .post-subheading {
margin-bottom: 1.25rem;
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
font-weight: 400;
}
.intro-header.big-img .page-heading hr {
box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
-moz-box-shadow: 1px 1px 3px #000;
}
.intro-header.big-img .post-heading .post-meta {
color: #EEE;
}
.intro-header.big-img .img-desc {
background: rgba(30, 30, 30, 0.6);
position: absolute;
padding: 0.3125rem 0.625rem;
font-size: 0.6875rem;
2016-03-18 12:33:17 +01:00
color: #EEE;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
right: 0;
bottom: 0;
display: none;
}
@media (min-width: 768px) {
2016-03-18 12:33:17 +01:00
.intro-header {
margin-top: 8.125rem;
2016-03-18 12:33:17 +01:00
}
.intro-header.big-img {
margin-top: 5.6875rem; /* Full navbar is small navbar + 20px padding on each side when expanded */
}
2016-03-18 12:33:17 +01:00
.intro-header.big-img .page-heading,
2019-08-01 07:36:08 +02:00
.intro-header.big-img .post-heading {
padding: 9.375rem 0;
}
2016-03-18 12:33:17 +01:00
.intro-header .page-heading h1 {
font-size: 5rem;
2016-03-18 12:33:17 +01:00
}
.intro-header .post-heading h1 {
font-size: 3.125rem;
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.intro-header.big-img .img-desc {
font-size: 0.875rem;
2016-03-18 12:33:17 +01:00
}
2015-03-02 21:06:05 +01:00
}
2016-03-18 12:33:17 +01:00
.header-section.has-img .no-img {
margin-top: 0;
background-color: #FCFCFC;
margin: 0 0 2.5rem;
padding: 1.25rem 0;
box-shadow: 0 0 0.3125rem #AAA;
2016-03-18 12:33:17 +01:00
}
/* Many phones are 320 or 360px, so make sure images are a proper aspect ratio in those cases */
.header-section.has-img .intro-header.no-img {
display: none;
}
@media (max-width: 365px) {
2016-03-18 12:33:17 +01:00
.header-section.has-img .intro-header.no-img {
display: block;
}
.intro-header.big-img {
width: 100%;
height: 13.75rem;
2016-03-18 12:33:17 +01:00
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
display: none;
}
.header-section.has-img .big-img {
margin-bottom: 0;
}
}
@media (max-width: 325px) {
2016-03-18 12:33:17 +01:00
.intro-header.big-img {
height: 12.5rem;
2015-03-02 21:06:05 +01:00
}
}
#header-gh-btns {
margin-bottom: 0.9375rem;
}
@media (max-width: 500px) {
#header-gh-btns > iframe {
display: block;
margin-bottom: 0.3125rem;
}
}
2020-04-24 16:25:30 +02:00
.reader-time {
display: inline-block;
}
@media (max-width: 767px) {
.reader-time {
display: block;
}
}
2020-08-09 02:13:28 +02:00
.reader-time .middot {
margin: 0 0.625rem;
2020-04-24 16:25:30 +02:00
}
/* --- Pagination --- */
.pagination {
margin: 0.625rem 0 0;
justify-content: space-between;
}
2015-03-02 21:06:05 +01:00
.pagination.blog-pager {
margin-top: 0;
}
.pagination .page-item.next {
margin-left: auto;
}
@media (min-width: 768px) {
.pagination.blog-pager {
margin-top: 0.625rem;
}
}
.pagination .page-item .page-link {
2015-03-02 21:06:05 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 0.875rem;
2015-03-02 21:06:05 +01:00
font-weight: 800;
letter-spacing: 1px;
padding: 0.625rem 0.3125rem;
background-color: #FFF;
2015-03-02 21:06:05 +01:00
border-radius: 0;
color: {{ site.text-col | default: "#404040" }};
2015-03-02 21:06:05 +01:00
}
@media (min-width: 768px) {
.pagination .page-item .page-link {
padding: 0.9375rem 1.5625rem;
2015-03-02 21:06:05 +01:00
}
}
.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:focus {
2015-03-02 21:06:05 +01:00
color: #FFF;
border: 1px solid {{ site.hover-col | default: "#0085A1" }};
background-color: {{ site.hover-col | default: "#0085A1" }};
2015-03-02 21:06:05 +01:00
}
2015-05-16 01:58:11 +02:00
/* --- Tables --- */
table {
2015-05-16 01:58:11 +02:00
padding: 0;
}
table tr {
2015-05-16 01:58:11 +02:00
border-top: 1px solid #cccccc;
background-color: #ffffff;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
2015-05-16 01:58:11 +02:00
background-color: #f8f8f8;
}
table tr th {
2015-05-16 01:58:11 +02:00
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 0.375rem 0.8125rem;
2015-05-16 01:58:11 +02:00
}
table tr td {
2015-05-16 01:58:11 +02:00
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 0.375rem 0.8125rem;
2015-05-16 01:58:11 +02:00
}
table tr th :first-child,
table tr td :first-child {
2015-05-16 01:58:11 +02:00
margin-top: 0;
}
table tr th :last-child,
table tr td :last-child {
2015-05-16 01:58:11 +02:00
margin-bottom: 0;
}
2016-07-29 03:18:01 +02:00
/* --- Code blocks --- */
2016-07-30 00:10:26 +02:00
code {
padding: 0.125rem 0.25rem;
color: #c7254e;
background-color: #f9f2f4;
border-radius: 0.25rem;
}
pre code {
padding: 0;
background-color: transparent;
border-radius: 0;
}
2016-07-29 03:18:01 +02:00
pre {
font-size: 1rem;
line-height: 1.5;
border-radius: 0.25rem;
padding: 0.59375rem;
}
.highlight pre {
2016-07-30 00:10:26 +02:00
border: none;
background: none;
margin: 0;
2016-07-30 00:10:26 +02:00
}
.highlight > pre {
background-image: linear-gradient(
rgba(0,0,0,0.06), rgba(0,0,0,0.06) 1.5em, rgba(0,0,0,0.03) 1.5em, rgba(0,0,0,0.03) 3em);
background-size: auto 3em;
background-position-y: 0.625rem;
border: 1px solid rgba(0,0,0,0.1);
border-left: 0.4375rem solid #444;
}
.highlight > pre:not([class~="highlight"]) { /* code block with line number */
padding: 0;
}
.highlight table, .highlight tr, .highlight td { /* to be removed after fixing table styles */
border: none;
background: none;
padding: 0;
margin: 0;
}
.highlight pre.lineno {
color: rgba(0,0,0,0.3);
border-radius: 0;
border-right: 2px solid #444;
}
/* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
.lineno {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.lineno::selection, .lineno::-moz-selection {
background: none;
}
/* Fix table border github gist snippets */
.gist, .gist-file table tr {
border: unset;
}
.gist, .gist-file table tr td {
border: unset;
}
/* --- Social media sharing section --- */
#social-share-section {
margin-bottom: 1.875rem;
margin-top: 1.875rem;
2016-12-15 23:00:36 +01:00
}
/* --- Notification boxes --- */
.box-note, .box-warning, .box-error, .box-success {
padding: 0.9375rem 0.9375rem 0.9375rem 0.625rem;
margin: 1.25rem 1.25rem 1.25rem 0.3125rem;
2017-10-19 00:43:28 +02:00
border: 1px solid #eee;
border-left-width: 0.3125rem;
border-radius: 0.3125rem 0.1875rem 0.1875rem 0.3125rem;
2017-10-19 00:43:28 +02:00
}
.box-note {
background-color: #eee;
border-left-color: #2980b9;
}
.box-warning {
background-color: #fdf5d4;
border-left-color: #f1c40f;
}
.box-error {
background-color: #f4dddb;
border-left-color: #c0392b;
}
.box-success {
background-color: #98FB98;
border-left-color: #3CB371;
}
/* --- Misc blog post styles --- */
.blog-post :first-child {
margin-top: 0;
}
.blog-post img {
max-width: 100%;
}
.blog-post .caption {
text-align: center;
font-size: 0.875rem;
padding: 0.625rem;
font-style: italic;
color: #777;
margin: 0;
display: block;
border-bottom-right-radius: 0.3125rem;
border-bottom-left-radius: 0.3125rem;
}
2018-01-19 07:03:42 +01:00
.blog-post hr {
max-width: 25%;
border-width: 0.25rem;
border-radius: 0.1875rem;
border-color: #808080;
2018-01-19 07:03:42 +01:00
}
.blog-post blockquote {
padding: 0.625rem 1.25rem;
margin: 0 0 1.25rem;
font-size: 1.1rem;
border-left: 0.3125rem solid #eee;
2018-01-19 07:03:42 +01:00
}
.blog-post blockquote p:last-child {
margin-bottom: 0;
2018-01-19 07:03:42 +01:00
}
.center {
display: block;
margin: 0 auto;
2018-01-19 07:03:42 +01:00
}