You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

401 lines
6.6 KiB

html {
margin: 0;
padding: 0;
overflow-x: hidden;
background: url(/static/background.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
height: 100%;
min-height: 100%;
}
body {
min-height: 100%;
overflow-x: hidden;
margin: 0;
padding: 0;
position: absolute;
width: 100%;
top: 0;
border: none;
color: white;
height: 100%;
font-family: "Montserrat", sans-serif;
}
a {
color: white;
text-decoration: none;
}
header {
background: rgba(0, 0, 0, 0.7);
height: 80px;
position: relative;
bottom: 17px;
}
header h2 {
position: relative;
float: left;
display: inline-block;
top: 5px;
margin-left: 30px;
-webkit-transition: padding 1s linear, border 0.5s linear;
-webkit-transition-timing-function: linear;
transition: padding 0.3s linear, border 0.3s linear;
transition-timing-function: linear;
}
header h2:hover {
border-bottom: 5px solid #ff7607;
padding-left: 5px;
padding-right: 5px;
}
.pc-links {
padding-right: 40px;
padding-top: 20px;
}
.pc-links li {
display: inline-block;
float: right;
padding-left: 15px;
padding-right: 15px;
padding-top: 10px;
-webkit-transition: padding 1s linear, border 0.5s linear;
-webkit-transition-timing-function: linear;
transition: padding 0.3s linear, border 0.3s linear;
transition-timing-function: linear;
}
.pc-links li:hover {
border-bottom: 5px solid #ff7607;
padding-left: 17px;
padding-right: 17px;
}
.container {
min-height: calc( 100% - 300px );
height: calc( 100% - 200px );
width: 100%;
overflow: hidden;
position: relative;
bottom: 20px;
display: table;
border-collapse: separate;
border-spacing: 40px;
}
.left-bar {
position: relative;
padding: 15px;
background: rgba(0, 0, 0, 0.7);
width: 150px;
display: table-cell;
vertical-align: top;
}
.left-bar ul {
list-style: none;
padding-left: 10px;
}
.left-bar ul li {
padding: 3px;
-webkit-transition: background 0.3s linear;
-webkit-transition-timing-function: linear;
transition: background 0.3s linear;
transition-timing-function: linear;
}
.left-bar ul li:hover {
background: rgba(0, 0, 0, 0.8);
}
.expand-links li {
-webkit-transition: padding 0.3s linear, background 0.3s linear;
-webkit-transition-timing-function: linear;
transition: padding 0.3s linear, background 0.3s linear;
transition-timing-function: linear;
}
.expand-links li:hover {
padding: 5px;
background: rgba(0, 0, 0, 0.8);
}
.recent-post li {
padding-bottom: 10px !important;
}
.main {
position: relative;
padding: 15px;
padding-left: 25px;
padding-right: 25px;
background: rgba(0, 0, 0, 0.7);
word-wrap: break-word;
height: 100%;
display: table-cell;
vertical-align: top;
word-wrap: break-word;
}
.main a {
color: #99ffff;
text-decoration: none;
}
.main a:hover {
color: #0091c9;
text-decoration: underline;
}
.main img {
max-width: 100%;
}
.paginate {
width: calc(100% - 22px);
text-align: center;
position: absolute;
bottom: 0;
}
.paginate ul {
padding: 0;
}
.paginate ul a li {
display: inline-block;
padding-left: 4px;
padding-right: 4px;
}
footer {
width: calc( 100% - 110px );
margin-right: 40px;
margin-left: 40px;
padding: 15px;
padding-top: 20px;
background: rgba(0, 0, 0, 0.7);
height: 80px;
text-align: center;
}
footer p {
color: grey;
font-size: 0.9em;
}
footer a {
color: #99ffff;
text-decoration: none;
}
footer a:hover {
color: #0091c9;
text-decoration: underline;
}
.active {
border-bottom: 3px solid #ff760799;
}
.nav-toggle {
display: none;
}
.links {
display: none;
}
.main-links ul {
list-style: none;
}
pre::-webkit-scrollbar-color {
background-color: red;
outline: 1px solid red;
}
.list-post-title {
margin-top: 5px;
margin-bottom: 2px;
}
.datetime {
margin-top: 0;
margin-bottom: 5px;
}
.post-title {
padding: 10px;
text-align: center;
}
.post-icon {
max-width: 200px !important;
}
.icon-div {
text-align: center;
}
.index-recent-posts li
{
list-style: none;
-webkit-transition: background 0.3s linear;
-webkit-transition-timing-function: linear;
transition: background 0.3s linear;
transition-timing-function: linear;
padding: 10px;
margin-bottom: 10px;
background: rgba(0, 0, 0, 0.65);
}
.index-recent-posts li:hover {
background: rgba(0, 0, 0, 0.9);
}
.index-recent-posts-title {
font-size: 1.3em;
}
.datetimebox {
display: inline-block;
float: right;
font-size: 0.9em;
}
@media all and (max-width : 950px) {
.container {
border-spacing: 20px;
max-width: 100%;
}
pre {
overflow: scroll !important;
}
footer {
width: calc( 100% - 70px );
margin-right: 20px;
margin-left: 20px;
}
.left-bar {
display: none;
}
header h2 {
top: 15px;
}
.pc-links {
display: none;
}
.nav-toggle {
display: inline-block;
}
.links {
display: block;
position: absolute;
top: 80px;
right: -230px;
z-index: 1;
background: rgba(0, 0, 0, 0.8);
padding-top: 20px;
padding-bottom: 20px;
padding-left: 35px;
padding-right: 35px;
transition: 1s;
}
.links.expanded {
right: 0px;
transition: 1s;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 35px;
padding-right: 35px;
}
.links ul {
list-style: none;
padding: 0;
}
.links ul li {
padding-top: 6px;
padding-bottom: 6px;
}
.nav-toggle {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
cursor: pointer;
height: 2rem;
position: relative;
float: right;
right: 2rem;
top: 2.0rem;
width: 3.0rem;
z-index: 2;
}
.nav-toggle:hover { opacity: 0.8; }
.nav-toggle .nav-toggle-bar, .nav-toggle .nav-toggle-bar::after, .nav-toggle .nav-toggle-bar::before {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
background: white;
content: '';
height: 0.4rem;
width: 100%;
}
.nav-toggle .nav-toggle-bar { margin-top: 0; }
.nav-toggle .nav-toggle-bar::after { margin-top: 0.8rem; }
.nav-toggle .nav-toggle-bar::before { margin-top: -0.8rem; }
.nav-toggle.expanded .nav-toggle-bar { background: transparent; }
.nav-toggle.expanded .nav-toggle-bar::after, .nav-toggle.expanded .nav-toggle-bar::before {
background: white;
margin-top: 0;
}
.nav-toggle.expanded .nav-toggle-bar::after {
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.nav-toggle.expanded .nav-toggle-bar::before {
-ms-transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
}