mirror of
https://github.com/linuxserver/odin.git
synced 2026-02-05 11:24:29 +08:00
274 lines
5.0 KiB
CSS
274 lines
5.0 KiB
CSS
.post-header .social-share {
|
|
margin-top: 1em;
|
|
}
|
|
.main-header-content .blog-logo {
|
|
float: none;
|
|
margin-top: 10px;
|
|
}
|
|
.main-header-content .blog-logo img {
|
|
width: 13rem;
|
|
height: auto;
|
|
display: inline;
|
|
border-radius: 50%;
|
|
padding: 0;
|
|
border: 3px solid rgb(255, 255, 255);
|
|
}
|
|
.post-template .post-header {
|
|
text-align: center;
|
|
}
|
|
.back-button {
|
|
float: left;
|
|
height: 38px;
|
|
padding: 0 15px 0 10px;
|
|
border: transparent 1px solid;
|
|
color: #9EABB3;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
line-height: 35px;
|
|
border-radius: 3px;
|
|
transition: all ease 0.3s;
|
|
background: white;
|
|
position: static;
|
|
}
|
|
.back-button:before {
|
|
position: relative;
|
|
bottom: -2px;
|
|
font-size: 13px;
|
|
line-height: 0;
|
|
margin-right: 8px;
|
|
}
|
|
.subscribe-button {
|
|
float: right;
|
|
height: 38px;
|
|
padding: 0 20px;
|
|
border: transparent 1px solid;
|
|
color: #9EABB3 !important;
|
|
text-align: center;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
line-height: 35px;
|
|
white-space: nowrap;
|
|
border-radius: 3px;
|
|
transition: all ease 0.3s;
|
|
position: static;
|
|
background: white;
|
|
}
|
|
.subscribe-button:before {
|
|
font-size: 9px;
|
|
margin-right: 6px;
|
|
}
|
|
|
|
/* Add a border to the buttons on hover */
|
|
|
|
.back-button:hover, .subscribe-button:hover {
|
|
border-color: rgba(0, 0, 0, 0.8);
|
|
color: rgb(0, 0, 0) !important;
|
|
}
|
|
.post-footer .author {
|
|
text-align: center;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* social link */
|
|
|
|
.main-header .social_link {
|
|
padding: 0;
|
|
list-style-type: none;
|
|
}
|
|
.main-header .social_link li {
|
|
display: inline;
|
|
font-size: 2.5rem;
|
|
}
|
|
.main-header .social_link li a {
|
|
display: inline-block;
|
|
padding: 10px;
|
|
transition: all 0.1s ease-in-out;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
.main-header .social_link li a {
|
|
display: inline-block;
|
|
padding: 10px;
|
|
transition: all 0.1s ease-in-out;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
}
|
|
.main-header.no-cover .social_link li a {
|
|
color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
.main-header .social_link li a:hover {
|
|
transform: scale(1.3);
|
|
}
|
|
|
|
/* Menu */
|
|
|
|
.menu {
|
|
margin-top: 1.2em;
|
|
}
|
|
.menu ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.menu ul li {
|
|
display: inline-block;
|
|
;
|
|
margin: 5px;
|
|
}
|
|
.menu ul li a {
|
|
border: rgba(255, 255, 255, 0.8) 1.5px solid;
|
|
font-weight: 400;
|
|
color: #9EABB3;
|
|
text-align: center;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
padding: 5px 18px;
|
|
text-decoration: none;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
transition: all 0.1s ease-in-out;
|
|
}
|
|
.no-cover .menu ul li a {
|
|
color: rgba(0, 0, 0, 0.55);
|
|
border: rgba(0, 0, 0, 0.55) 1.5px solid;
|
|
}
|
|
.menu ul li a:hover {
|
|
border-color: white;
|
|
color: white;
|
|
}
|
|
.menu ul li.nav-current a {
|
|
border-color: white;
|
|
color: white;
|
|
}
|
|
.no-cover .menu ul li a:hover {
|
|
color: black;
|
|
border-color: black;
|
|
}
|
|
.no-cover .menu ul li.nav-current a {
|
|
color: black;
|
|
border-color: black;
|
|
}
|
|
|
|
/*
|
|
Changes by linuxserver (c) 2016
|
|
===============================
|
|
*/
|
|
|
|
body {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
header.main-header {
|
|
max-height: 450px;
|
|
}
|
|
|
|
header.main-header.post-header {
|
|
max-height: 350px;
|
|
}
|
|
|
|
/*header.post-header section.post-meta a {
|
|
font-size: 12px;
|
|
color: #fff;
|
|
padding: 1px 6px;
|
|
border-radius: 5px;
|
|
background-color: #9EABB3;
|
|
}*/
|
|
|
|
header div.search form div.search-fields {
|
|
position: relative;
|
|
}
|
|
|
|
header div.search form div.search-fields i {
|
|
position: absolute;
|
|
right: 13px;
|
|
top: 11px;
|
|
cursor: pointer;
|
|
display: none;
|
|
}
|
|
|
|
header div.search form input {
|
|
width: 100%;
|
|
border: 0;
|
|
}
|
|
|
|
header div.search form div.search-fields {
|
|
opacity: 0.8;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
transition: all 0.2s ease-in-out;
|
|
background-color: #FFF;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
header div.search form div.search-fields:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
header div.search form div.search-fields:focus,
|
|
header div.search form input:focus {
|
|
opacity: 1;
|
|
outline: none;
|
|
}
|
|
|
|
.home-template .main-header:after {
|
|
display: none;
|
|
}
|
|
|
|
blockquote {
|
|
padding: 0 1em 0 1.75em;
|
|
font-size: 20px;
|
|
font-family: monospace;
|
|
}
|
|
|
|
blockquote p {
|
|
font-style: normal;
|
|
}
|
|
|
|
.menu ul li a {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.main-header {
|
|
overflow: visible;
|
|
}
|
|
|
|
section#results {
|
|
background-color: #fff;
|
|
border-radius: 3px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
text-align: left;
|
|
width: 100%;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
section#results div.single-result {
|
|
border-bottom: 1px solid #e5e6e9;
|
|
font-family: "Open Sans";
|
|
border: 1px solid;
|
|
border-color: #e5e6e9 #dfe0e4 #d0d1d5;
|
|
margin-bottom: 1px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
section#results div.single-result a {
|
|
text-decoration: none;
|
|
display: block;
|
|
padding: 10px;
|
|
}
|
|
|
|
section#results div.single-result a:hover {
|
|
background-color: #efefef;
|
|
}
|
|
|
|
ul.rrssb-buttons {
|
|
width: 180px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.post-header.social-share {
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
pre, pre[class*="language-"] {
|
|
margin: 0.5em 0 2em 0;
|
|
}
|