blog/themes/beautifulhugo/static/css/main.css

818 lines
17 KiB
CSS
Raw Normal View History

2022-06-25 08:56:31 +01:00
/* --- General --- */
body {
2022-08-21 12:31:55 +01:00
font-family: 'Lora', 'Times New Roman', serif;
font-size: 18px;
color: #404040;
position: relative;
background: #FFF;
display: flex;
flex-flow: column;
height: 100vh;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
.container[role=main] {
2022-08-21 12:31:55 +01:00
margin-bottom:50px;
flex: 1 0 auto;
2022-06-25 08:56:31 +01:00
}
@media only screen and (max-width: 767px) {
2022-08-21 12:31:55 +01:00
.container[role=main] {
margin-left: 0;
margin-right: 0;
}
2022-06-25 08:56:31 +01:00
}
p {
2022-08-21 12:31:55 +01:00
line-height: 1.5;
margin: 6px 0;
2022-06-25 08:56:31 +01:00
}
p + p {
margin: 24px 0 6px 0;
}
p a {
2022-08-21 12:31:55 +01:00
/* text-decoration: underline */
color: #008AFF;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
h1,h2,h3,h4,h5,h6 {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
2022-06-25 08:56:31 +01:00
}
a {
2022-08-21 12:31:55 +01:00
color: #008AFF;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
a:hover,
a:focus {
2022-08-21 12:31:55 +01:00
color: #0085a1;
2022-06-25 08:56:31 +01:00
}
blockquote {
2022-08-21 12:31:55 +01:00
color: #808080;
font-style: italic;
2022-06-25 08:56:31 +01:00
}
blockquote p:first-child {
2022-08-21 12:31:55 +01:00
margin-top: 0;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
hr.small {
2022-08-21 12:31:55 +01:00
max-width: 100px;
margin: 15px auto;
border-width: 4px;
border-color: inherit;
border-radius: 3px;
2022-06-25 08:56:31 +01:00
}
.main-content {
2022-08-21 12:31:55 +01:00
padding-top: 80px;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.main-content {
padding-top: 130px;
}
2022-06-25 08:56:31 +01:00
}
.main-explain-area {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
padding: 15px inherit;
2022-06-25 08:56:31 +01:00
}
.hideme {
2022-08-21 12:31:55 +01:00
display: none;
2022-06-25 08:56:31 +01:00
}
div.panel-body a.list-group-item {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 800;
border-radius: 0;
border: none;
font-size: 16px;
2022-06-25 08:56:31 +01:00
}
div.panel-group .panel {
border-radius: 0;
}
div.panel-group .panel+.panel {
margin-top: 0;
}
div.panel-body a.list-group-item.view-all {
2022-08-21 12:31:55 +01:00
font-weight: 600;
2022-06-25 08:56:31 +01:00
}
2022-08-21 10:48:00 +01:00
::-moz-selection, ::selection {
2022-08-21 12:31:55 +01:00
color: white;
text-shadow: none;
background: #0085a1;
2022-06-25 08:56:31 +01:00
}
2022-08-21 10:48:00 +01:00
img::selection, img::-moz-selection {
2022-08-21 12:31:55 +01:00
color: white;
background: transparent;
2022-06-25 08:56:31 +01:00
}
2022-08-21 10:48:00 +01:00
2022-06-25 08:56:31 +01:00
img {
2022-08-21 12:31:55 +01:00
display: block;
margin: auto;
max-width: 100%;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
.img-title {
2022-08-21 12:31:55 +01:00
width: 100%;
2022-06-25 08:56:31 +01:00
}
.disqus-comments {
2022-08-21 12:31:55 +01:00
margin-top: 30px;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.disqus-comments {
margin-top: 40px;
}
2022-06-25 08:56:31 +01:00
}
/* --- Navbar --- */
.navbar-custom {
2022-08-21 12:31:55 +01:00
background: #F5F5F5;
border-bottom: 1px solid #EAEAEA;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
.navbar-custom .nav li a {
2022-08-21 12:31:55 +01:00
text-transform: uppercase;
font-size: 12px;
letter-spacing: 1px;
2022-06-25 08:56:31 +01:00
}
.navbar-custom .navbar-brand,
.navbar-custom .nav li a {
2022-08-21 12:31:55 +01:00
font-weight: 800;
color: #404040;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
2022-08-21 12:31:55 +01:00
color: #0085a1;
2022-06-25 08:56:31 +01:00
}
2022-08-21 10:48:00 +01:00
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus ,
.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
}
2022-06-25 08:56:31 +01:00
.navbar-custom .navbar-brand-logo {
2022-08-21 12:31:55 +01:00
padding-top: 0;
-webkit-transition: padding .5s ease-in-out;
-moz-transition: padding .5s ease-in-out;
transition: padding .5s ease-in-out;
2022-06-25 08:56:31 +01:00
}
.navbar-custom .navbar-brand-logo img {
2022-08-21 12:31:55 +01:00
height: 50px;
-webkit-transition: height .5s ease-in-out;
-moz-transition: height .5s ease-in-out;
transition: height .5s ease-in-out;
2022-06-25 08:56:31 +01:00
}
.navbar-custom.top-nav-short .navbar-brand-logo {
2022-08-21 12:31:55 +01:00
padding-top: 5px;
2022-06-25 08:56:31 +01:00
}
.navbar-custom.top-nav-short .navbar-brand-logo img {
2022-08-21 12:31:55 +01:00
height: 40px;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.navbar-custom {
padding: 20px 0;
-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;
}
2022-06-25 08:56:31 +01:00
2022-08-21 12:31:55 +01:00
.navbar-custom.top-nav-short {
padding: 0;
}
2022-06-25 08:56:31 +01:00
}
.navbar-custom .avatar-container {
2022-08-21 12:31:55 +01:00
opacity: 1;
visibility: visible;
position: absolute;
-webkit-transition: visibility 0.5s, opacity 0.5s ease-in-out;
-moz-transition: visibility 0.5s, opacity 0.5s ease-in-out;
transition: visibility 0.5s, opacity 0.5s ease-in-out;
left: 50%;
width: 50px;
margin-top: -25px;
2022-06-25 08:56:31 +01:00
}
.navbar-custom .avatar-container .avatar-img-border {
2022-08-21 12:31:55 +01:00
width: 100%;
border-radius: 50%;
margin-left: -50%;
display: inline-block;
box-shadow: 0 0 8px rgba(0, 0, 0, .8);
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .8);
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
2022-06-25 08:56:31 +01:00
}
.navbar-custom .avatar-container .avatar-img {
2022-08-21 12:31:55 +01:00
width: 100%;
border-radius: 50%;
display: block;
2022-06-25 08:56:31 +01:00
}
.navbar-custom.top-nav-short .avatar-container{
2022-08-21 12:31:55 +01:00
opacity: 0;
visibility: hidden;
2022-06-25 08:56:31 +01:00
}
.navbar-custom.top-nav-expanded .avatar-container {
2022-08-21 12:31:55 +01:00
display: none;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.navbar-custom .avatar-container {
width: 100px;
margin-top: -50px;
}
2022-06-25 08:56:31 +01:00
2022-08-21 12:31:55 +01:00
.navbar-custom .avatar-container .avatar-img-border {
width: 100%;
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);
}
2022-06-25 08:56:31 +01:00
2022-08-21 12:31:55 +01:00
.navbar-custom .avatar-container .avatar-img {
width: 100%;
}
2022-06-25 08:56:31 +01:00
}
/* Multi-level navigation links */
.navbar-custom .nav .navlinks-container {
2022-08-21 12:31:55 +01:00
position: relative;
2022-06-25 08:56:31 +01:00
}
.navbar-custom .nav .navlinks-parent:after {
2022-08-21 12:31:55 +01:00
content: " \25BC";
2022-06-25 08:56:31 +01:00
}
.navbar-custom .nav .navlinks-children {
2022-08-21 12:31:55 +01:00
width: 100%;
display: none;
word-break: break-word;
2022-06-25 08:56:31 +01:00
}
.navbar-custom .nav .navlinks-container .navlinks-children a {
2022-08-21 12:31:55 +01:00
display: block;
padding: 10px;
padding-left: 30px;
background: #f5f5f5;
text-decoration: none !important;
border-width: 0 1px 1px 1px;
font-weight: normal;
2022-06-25 08:56:31 +01:00
}
@media only screen and (max-width: 767px) {
2022-08-21 12:31:55 +01:00
.navbar-custom .nav .navlinks-container.show-children {
background: #eee;
}
.navbar-custom .nav .navlinks-container.show-children .navlinks-children {
display: block;
}
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.navbar-custom .nav .navlinks-container {
text-align: center;
}
.navbar-custom .nav .navlinks-container:hover {
background: #eee;
}
.navbar-custom .nav .navlinks-container:hover .navlinks-children {
display: block;
}
.navbar-custom .nav .navlinks-children {
position: absolute;
}
.navbar-custom .nav .navlinks-container .navlinks-children a {
padding-left: 10px;
border: 1px solid #eaeaea;
border-width: 0 1px 1px;
}
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
/* --- Footer --- */
footer {
2022-08-21 12:31:55 +01:00
padding: 30px 0;
background: #F5F5F5;
border-top: 1px #EAEAEA solid;
margin-top: auto;
font-size: 14px;
2022-06-25 08:56:31 +01:00
}
footer a {
2022-08-21 12:31:55 +01:00
color: #404040;
2022-08-21 10:48:00 +01:00
2022-06-25 08:56:31 +01:00
}
footer .list-inline {
2022-08-21 12:31:55 +01:00
margin: 0;
padding: 0;
2022-06-25 08:56:31 +01:00
}
footer .copyright {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-align: center;
margin-bottom: 0;
2022-06-25 08:56:31 +01:00
}
footer .theme-by {
2022-08-21 12:31:55 +01:00
text-align: center;
margin: 10px 0 0;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
footer {
padding: 50px 0;
}
footer .footer-links {
font-size: 18px;
}
footer .copyright {
font-size: 16px;
}
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
/* --- Post preview --- */
.post-preview {
2022-08-21 12:31:55 +01:00
padding: 20px 0;
border-bottom: 1px solid #eee;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.post-preview {
padding: 35px 0;
}
2022-06-25 08:56:31 +01:00
}
.post-preview:last-child {
2022-08-21 12:31:55 +01:00
border-bottom: 0;
2022-06-25 08:56:31 +01:00
}
.post-preview a {
2022-08-21 12:31:55 +01:00
text-decoration: none;
color: #404040;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
.post-preview a:focus,
.post-preview a:hover {
2022-08-21 12:31:55 +01:00
text-decoration: none;
color: #0085a1;
2022-06-25 08:56:31 +01:00
}
.post-preview .post-title {
2022-08-21 12:31:55 +01:00
font-size: 30px;
margin-top: 0;
2022-06-25 08:56:31 +01:00
}
.post-preview .post-subtitle {
2022-08-21 12:31:55 +01:00
margin: 0;
font-weight: 300;
margin-bottom: 10px;
2022-06-25 08:56:31 +01:00
}
.post-preview .post-meta,
.post-heading .post-meta,
.page-meta {
2022-08-21 12:31:55 +01:00
color: #808080;
font-size: 18px;
font-style: italic;
margin: 0 0 10px;
2022-06-25 08:56:31 +01:00
}
.page-meta {
2022-08-21 12:31:55 +01:00
align-self: center;
2022-06-25 08:56:31 +01:00
}
.post-preview .post-meta a,
.post-heading .post-meta a,
.page-meta a {
2022-08-21 12:31:55 +01:00
color: #404040;
text-decoration: none;
2022-06-25 08:56:31 +01:00
}
.post-preview .post-entry {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
2022-06-25 08:56:31 +01:00
}
.post-entry-container {
2022-08-21 12:31:55 +01:00
display: inline-block;
width: 100%;
2022-06-25 08:56:31 +01:00
}
.post-entry {
2022-08-21 12:31:55 +01:00
width: 100%;
margin-top: 10px;
2022-06-25 08:56:31 +01:00
}
.post-image {
2022-08-21 12:31:55 +01:00
float: right;
height: 192px;
width: 192px;
margin-top: -35px;
filter: grayscale(90%);
2022-06-25 08:56:31 +01:00
}
.post-image:hover {
2022-08-21 12:31:55 +01:00
filter: grayscale(0%);
2022-06-25 08:56:31 +01:00
}
.post-image img {
2022-08-21 12:31:55 +01:00
border-radius: 100px;
height: 192px;
width: 192px;
2022-06-25 08:56:31 +01:00
}
.post-preview .post-read-more {
2022-08-21 12:31:55 +01:00
font-weight: 800;
float: right;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.post-preview .post-title {
font-size: 36px;
}
2022-06-25 08:56:31 +01:00
}
/* --- Tags --- */
.blog-tags {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #999;
font-size: 15px;
margin-bottom: 30px;
2022-06-25 08:56:31 +01:00
}
.blog-tags:before {
2022-08-21 12:31:55 +01:00
content: "Tags: ";
2022-06-25 08:56:31 +01:00
}
.blog-tags a {
2022-08-21 12:31:55 +01:00
color: #008AFF;
text-decoration: none;
padding: 0px 5px;
2022-06-25 08:56:31 +01:00
}
.blog-tags a:before {
2022-08-21 12:31:55 +01:00
content: "#";
2022-06-25 08:56:31 +01:00
}
.blog-tags a:hover {
2022-08-21 12:31:55 +01:00
border-radius: 2px;
color: #008AFF;
background-color: #CCC;
2022-06-25 08:56:31 +01:00
}
.post-preview .blog-tags {
2022-08-21 12:31:55 +01:00
margin-top: 5px;
margin-bottom: 0;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.post-preview .blog-tags {
margin-top: 10px;
}
2022-06-25 08:56:31 +01:00
}
@media only screen and (max-width: 500px) {
2022-08-21 12:31:55 +01:00
.post-image, .post-image img {
height: 100px;
width: 100px;
}
.post-image {
width: 100%;
text-align: center;
margin-top: 0;
float: left;
}
2022-06-25 08:56:31 +01:00
}
/* --- Post and page headers --- */
.intro-header {
2022-08-21 12:31:55 +01:00
margin: 80px 0 20px;
position: relative;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img {
2022-08-21 12:31:55 +01:00
background: no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
margin-top: 51px; /* The small navbar is 50px tall + 1px border */
margin-bottom: 35px;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img .big-img-transition {
2022-08-21 12:31:55 +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;
2022-06-25 08:56:31 +01:00
}
.intro-header .page-heading,
.intro-header .tags-heading,
.intro-header .categories-heading {
2022-08-21 12:31:55 +01:00
text-align: center;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
2022-08-21 12:31:55 +01:00
padding: 100px 0;
color: #FFF;
text-shadow: 1px 1px 3px #000;
2022-06-25 08:56:31 +01:00
}
.intro-header .page-heading h1,
.intro-header .tags-heading h1,
.intro-header .categories-heading h1 {
2022-08-21 12:31:55 +01:00
margin-top: 0;
font-size: 50px;
2022-06-25 08:56:31 +01:00
}
.intro-header .post-heading h1 {
2022-08-21 12:31:55 +01:00
margin-top: 0;
font-size: 35px;
2022-06-25 08:56:31 +01:00
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
2022-08-21 12:31:55 +01:00
font-size: 27px;
line-height: 1.1;
display: block;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 300;
margin: 10px 0 0;
2022-06-25 08:56:31 +01:00
}
.intro-header .post-heading .post-subheading {
2022-08-21 12:31:55 +01:00
margin-bottom: 20px;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
2022-08-21 12:31:55 +01:00
font-weight: 400;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img .page-heading hr {
2022-08-21 12:31:55 +01:00
box-shadow: 1px 1px 3px #000;
-webkit-box-shadow: 1px 1px 3px #000;
-moz-box-shadow: 1px 1px 3px #000;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img .post-heading .post-meta {
2022-08-21 12:31:55 +01:00
color: #EEE;
2022-06-25 08:56:31 +01:00
}
.intro-header.big-img .img-desc {
2022-08-21 12:31:55 +01:00
background: rgba(30, 30, 30, 0.6);
position: absolute;
padding: 5px 10px;
font-size: 11px;
color: #EEE;
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
right: 0;
bottom: 0;
display: none;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.intro-header {
margin-top: 130px;
}
.intro-header.big-img {
margin-top: 91px; /* Full navbar is small navbar + 20px padding on each side when expanded */
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
padding: 150px 0;
}
.intro-header .page-heading h1,
.intro-header .tags-heading h1,
.intro-header .categories-heading h1 {
font-size: 80px;
}
.intro-header .post-heading h1 {
font-size: 50px;
}
.intro-header.big-img .img-desc {
font-size: 14px;
}
2022-06-25 08:56:31 +01:00
}
.header-section.has-img .no-img {
2022-08-21 12:31:55 +01:00
margin-top: 0;
background: #FCFCFC;
margin: 0 0 40px;
padding: 20px 0;
box-shadow: 0 0 5px #AAA;
2022-06-25 08:56:31 +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 {
2022-08-21 12:31:55 +01:00
display: none;
2022-06-25 08:56:31 +01:00
}
@media only screen and (max-width: 365px) {
2022-08-21 12:31:55 +01:00
.header-section.has-img .intro-header.no-img {
display: block;
}
.intro-header.big-img {
width: 100%;
height: 220px;
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
display: none;
}
.header-section.has-img .big-img {
margin-bottom: 0;
}
2022-06-25 08:56:31 +01:00
}
@media only screen and (max-width: 325px) {
2022-08-21 12:31:55 +01:00
.intro-header.big-img {
height: 200px;
}
2022-06-25 08:56:31 +01:00
}
.caption {
2022-08-21 12:31:55 +01:00
text-align: center;
font-size: 14px;
padding: 10px;
font-style: italic;
margin: 0;
display: block;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
2022-06-25 08:56:31 +01:00
}
/* --- Pager --- */
.pager li a {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 14px;
font-weight: 800;
letter-spacing: 1px;
padding: 10px 5px;
background: #FFF;
border-radius: 0;
color: #404040;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.pager li a {
padding: 15px 25px;
}
2022-06-25 08:56:31 +01:00
}
.pager li a:hover,
.pager li a:focus {
2022-08-21 12:31:55 +01:00
color: #FFF;
background: #0085a1;
border: 1px solid #0085a1;
2022-06-25 08:56:31 +01:00
}
2022-08-21 10:48:00 +01:00
2022-06-25 08:56:31 +01:00
.pager {
2022-08-21 12:31:55 +01:00
margin: 10px 0 0;
2022-06-25 08:56:31 +01:00
}
.pager.blog-pager {
2022-08-21 12:31:55 +01:00
margin-top:10px;
2022-06-25 08:56:31 +01:00
}
h4.panel-title > span.badge {
float: right;
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.pager.blog-pager {
margin-top: 40px;
}
2022-06-25 08:56:31 +01:00
}
/* --- Tables --- */
table {
2022-08-21 12:31:55 +01:00
padding: 0;
2022-06-25 08:56:31 +01:00
}
2022-08-21 10:48:00 +01:00
table tr {
2022-08-21 12:31:55 +01:00
border-top: 1px solid #cccccc;
background-color: #ffffff;
margin: 0;
padding: 0;
2022-08-21 10:48:00 +01:00
}
table tr:nth-child(2n) {
2022-08-21 12:31:55 +01:00
background-color: #f8f8f8;
2022-08-21 10:48:00 +01:00
}
2022-06-25 08:56:31 +01:00
table tr th {
2022-08-21 12:31:55 +01:00
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
2022-06-25 08:56:31 +01:00
}
table tr td {
2022-08-21 12:31:55 +01:00
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
2022-06-25 08:56:31 +01:00
}
table tr th :first-child,
table tr td :first-child {
2022-08-21 12:31:55 +01:00
margin-top: 0;
2022-06-25 08:56:31 +01:00
}
table tr th :last-child,
table tr td :last-child {
2022-08-21 12:31:55 +01:00
margin-bottom: 0;
2022-06-25 08:56:31 +01:00
}
/* --- Social media sharing section --- */
#social-share-section {
2022-08-21 12:31:55 +01:00
margin-bottom: 30px;
2022-06-25 08:56:31 +01:00
}
/* --- Google Custom Search Engine Popup --- */
#modalSearch table tr, #modalSearch table tr td, #modalSearch table tr th {
2022-08-21 12:31:55 +01:00
border:none;
2022-06-25 08:56:31 +01:00
}
.reset-box-sizing, .reset-box-sizing *, .reset-box-sizing *:before, .reset-box-sizing *:after, .gsc-inline-block {
2022-08-21 12:31:55 +01:00
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
2022-06-25 08:56:31 +01:00
}
input.gsc-input, .gsc-input-box, .gsc-input-box-hover, .gsc-input-box-focus, .gsc-search-button {
2022-08-21 12:31:55 +01:00
box-sizing: content-box;
line-height: normal;
2022-06-25 08:56:31 +01:00
}
/* IPython split style */
div.splitbox {width:100%; overflow:auto;}
div.splitbox div.left {
2022-08-21 12:31:55 +01:00
width:48%;
float:left;}
2022-06-25 08:56:31 +01:00
div.splitbox div.right {
2022-08-21 12:31:55 +01:00
width:48%;
float:right;}
2022-06-25 08:56:31 +01:00
@media only screen and (max-width: 600px) {
2022-08-21 12:31:55 +01:00
div.splitbox div.left {
width:100%;
float:left;}
div.splitbox div.right {
width:100%;
float:left;}
2022-06-25 08:56:31 +01:00
}
/* Delayed Disqus */
.disqus-comments button {
2022-08-21 12:31:55 +01:00
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-transform: uppercase;
font-size: 14px;
font-weight: 800;
letter-spacing: 1px;
padding: 10px 5px;
background: #FFF;
border-radius: 0;
color: #404040;
2022-06-25 08:56:31 +01:00
}
@media only screen and (min-width: 768px) {
2022-08-21 12:31:55 +01:00
.disqus-comments button {
padding: 15px 25px;
}
2022-06-25 08:56:31 +01:00
}
2022-08-21 12:31:55 +01:00
.disqus-comments button:hover,
2022-06-25 08:56:31 +01:00
.disqus-comments button:focus {
2022-08-21 12:31:55 +01:00
color: #FFF;
background: #0085a1;
border: 1px solid #0085a1;
2022-06-25 08:56:31 +01:00
}
/* Related posts */
h4.see-also {
2022-08-21 12:31:55 +01:00
margin-top: 20px;
2022-06-25 08:56:31 +01:00
}
/* Sharing */
2022-08-21 12:31:55 +01:00
ul.share {
display: flex;
flex-direction: row;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
}
ul.share li {
display: inline-flex;
margin-right: 5px;
}
ul.share li:last-of-type {
margin-right: 0;
}
ul.share li .fab {
display: block;
width: 30px;
height: 30px;
line-height: 30px;
font-size: 16px;
text-align: center;
transition: all 150ms ease-in-out;
color: #fff;
2022-08-21 10:48:00 +01:00
}
2022-08-21 12:31:55 +01:00
ul.share li a {
background-color: #b5c6ce;
display: block;
border-radius: 50%;
text-decoration: none !important;
margin: 0;
}
ul.share li:hover .fab {
transform: scale(1.4)
}