| | |
| | | @charset "UTF-8"; |
| | | /* @charset "UTF-8"; |
| | | |
| | | :root { |
| | | --bg-color: #fff; |
| | |
| | | --sidebar-max-width: calc(var(--body-max-width) - var(--content-max-width)); |
| | | --content-width: calc(var(--content-ratio) * 100%); |
| | | --sidebar-width: calc(var(--sidebar-ratio) * 100%); |
| | | /* prettier-ignore */ |
| | | --content-ratio: {{ .Site.Params.contentratio | default 0.6 }} |
| | | } |
| | | |
| | |
| | | width: 100%; |
| | | margin: 0 auto; |
| | | background-color: var(--bg-color); |
| | | } |
| | | } |
| | | |
| | | p { |
| | | line-height: 1.9em; |
| | |
| | | color: var(--blockquote-text-color); |
| | | } |
| | | |
| | | |
| | | .category { |
| | | padding: 4px 6px; |
| | | border-radius: 3px; |
| | |
| | | margin: 5px 8px 5px 0; |
| | | } |
| | | |
| | | |
| | | pre { |
| | | background-color: var(--pre-bg-color); |
| | | padding: 5px; |
| | |
| | | overflow-x: auto; |
| | | } |
| | | |
| | | |
| | | .info i { |
| | | opacity: 0.5; |
| | | margin-right: 5px; |
| | | } |
| | | |
| | | |
| | | a:link, |
| | | a:visited { |
| | | opacity: 1; |
| | |
| | | a:active { |
| | | color: var(--link-color); |
| | | } |
| | | */ |
| | | |
| | | /*basic styles ends*/ |
| | | /*animation starts*/ |
| | | |
| | | .animated { |
| | | /* .animated { |
| | | transition: top 0.8s linear; |
| | | -webkit-animation-duration: 1s; |
| | | -moz-animation-duration: 1s; |
| | |
| | | -ms-animation-duration: 1s; |
| | | -o-animation-duration: 1s; |
| | | animation-duration: 1s; |
| | | } |
| | | } |
| | | |
| | | @-webkit-keyframes fadeInDown { |
| | | 0% { |
| | |
| | | -o-animation-name: fadeInDown; |
| | | animation-name: fadeInDown; |
| | | } |
| | | */ |
| | | |
| | | /*animation ends*/ |
| | | .nav__list { |
| | | /* .nav__list { |
| | | margin: 0; |
| | | } |
| | | } */ |
| | | |
| | | main { |
| | | width: var(--content-width); |
| | | } |
| | | |
| | | /* |
| | | .content { |
| | | height: auto; |
| | | margin-top: 80px; |
| | |
| | | padding-bottom: 22px; |
| | | border-bottom: 1px solid var(--nav-text-color); |
| | | } |
| | | */ |
| | | |
| | | .theme-switch { |
| | | margin-top: -5px; |
| | |
| | | font-size: 1.75rem; |
| | | } |
| | | |
| | | /* |
| | | header .information { |
| | | float: right; |
| | | padding-top: 12px; |
| | |
| | | display: initial; |
| | | padding-right: 40px; |
| | | } |
| | | |
| | | */ |
| | | aside { |
| | | width: var(--sidebar-width); |
| | | } |
| | |
| | | } |
| | | |
| | | @media screen and (min-width: 961px), print { |
| | | header { |
| | | /* header { |
| | | border-bottom: 1px solid var(--border-color); |
| | | } |
| | | } */ |
| | | |
| | | .nav__links li:not(:last-of-type) { |
| | | /* .nav__links li:not(:last-of-type) { |
| | | padding-right: 20px; |
| | | } |
| | | } */ |
| | | |
| | | .sidebar { |
| | | height: 100vh; |
| | |
| | | justify-content: space-between; |
| | | } |
| | | |
| | | .nav__list { |
| | | /* .nav__list { |
| | | display: flex; |
| | | flex: 1; |
| | | justify-content: space-between; |
| | | align-items: center; |
| | | min-height: 0; |
| | | } |
| | | } |
| | | |
| | | .wrapper { |
| | | display: flex; |
| | | } |
| | | */ |
| | | |
| | | .footer--base { |
| | | display: none; |
| | |
| | | font-size: 2.2rem; |
| | | } |
| | | |
| | | header { |
| | | /* header { |
| | | width: 100%; |
| | | } |
| | | } */ |
| | | |
| | | .post-title h3 { |
| | | line-height: 1.6; |
| | |
| | | display: grid; |
| | | } |
| | | |
| | | nav { |
| | | /* nav { |
| | | display: none; |
| | | } |
| | | } */ |
| | | |
| | | header .nav__list { |
| | | /* header .nav__list { |
| | | background-color: var(--secondary-bg-color); |
| | | box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1); |
| | | padding: 0.5rem 0; |
| | |
| | | |
| | | header .nav__list a.current { |
| | | border-bottom: none; |
| | | } |
| | | } */ |
| | | |
| | | .navbar-burger { |
| | | cursor: pointer; |
| | |
| | | cursor: zoom-out; |
| | | will-change: transform; |
| | | } |
| | | |
| | | /* |
| | | @media print { |
| | | header { |
| | | display: none; |
| | | } |
| | | } |
| | | } */ |
| | | |
| | | @media (min-width: 1921px) { |
| | | .sidebar { |
| | |
| | | .content { |
| | | padding-right: 20%; |
| | | } |
| | | header { |
| | | /* header { |
| | | position: fixed; |
| | | width: var(--content-width); |
| | | } |
| | | } */ |
| | | } |
| | | /* (CONTACT) FORM */ |
| | | |