dot-hugo/assets/css/style.css

904 lines
13 KiB
CSS
Raw Normal View History

2019-01-06 10:40:05 +00:00
body {
2019-09-04 11:35:48 +00:00
line-height: 1.5;
font-family: var(--font-family), sans-serif;
2019-01-06 10:40:05 +00:00
-webkit-font-smoothing: antialiased;
2019-09-04 11:35:48 +00:00
font-size: 17px;
2019-01-06 10:40:05 +00:00
color: var(--text-color);
background-color: var(--body-color);
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
P {
2019-01-06 10:40:05 +00:00
color: var(--text-color);
2019-09-04 11:35:48 +00:00
font-size: 15px;
2019-01-06 10:40:05 +00:00
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--text-color-dark);
font-family: var(--font-family), sans-serif;
2019-01-06 10:40:05 +00:00
font-weight: 700;
line-height: 1.2;
}
h1,
.h1 {
font-size: 45px;
}
h2,
.h2 {
font-size: 32px;
}
h3,
.h3 {
font-size: 26px;
}
h4,
.h4 {
font-size: 20px;
}
h5,
.h5 {
font-size: 18px;
}
h6,
.h6 {
font-size: 14px;
}
/* Button style */
.btn {
font-size: 14px;
font-family: var(--font-family), sans-serif;
2019-01-06 10:40:05 +00:00
text-transform: uppercase;
padding: 16px 44px;
border-radius: 0px;
font-weight: 600;
border: 0;
position: relative;
z-index: 1;
transition: .2s ease;
}
.btn:focus {
outline: 0;
box-shadow: none !important;
}
.btn:active {
box-shadow: none;
}
.btn-primary {
background: var(--primary-color);
color: var(--white-color);
}
.btn-primary:active {
background: var(--primary-color);
}
.btn-primary:hover {
background: var(--primary-color);
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
color: var(--white-color);
background-color: var(--primary-color);
border-color: var(--primary-color);
}
2019-09-04 11:35:48 +00:00
.inline-button {
line-height: .8rem !important;
padding: 5px 8px !important;
pointer-events: none;
margin-top: -5px;
}
2020-04-05 06:48:34 +00:00
.overflow-hidden {
overflow: hidden !important;
2019-01-06 10:40:05 +00:00
}
::-moz-selection {
background: var(--primary-color);
color: var(--white-color);
}
::selection {
background: var(--primary-color);
color: var(--white-color);
}
/* preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--white-color);
z-index: 999;
display: flex;
align-items: center;
justify-content: center;
}
ul {
list-style-type: none;
margin: 0px;
2019-09-04 11:35:48 +00:00
padding-left: 0;
2020-07-04 11:23:50 +00:00
font-size: 15px;
2019-09-04 11:35:48 +00:00
}
2020-02-15 11:34:02 +00:00
ol {
2019-09-04 11:35:48 +00:00
padding-left: 20px;
2020-07-04 11:23:50 +00:00
font-size: 15px;
2019-01-06 10:40:05 +00:00
}
img {
vertical-align: middle;
border: 0;
}
a,
a:hover,
a:focus {
text-decoration: none;
2019-09-04 11:35:48 +00:00
color: var(--primary-color);
}
a:hover,
a:focus {
color: var(--primary-color);
2019-01-06 10:40:05 +00:00
}
a,
button,
select {
cursor: pointer;
transition: .2s ease;
}
a:focus,
button:focus,
select:focus {
outline: 0;
}
.slick-slide {
outline: 0;
}
.section {
padding-top: 80px;
padding-bottom: 80px;
2019-01-06 10:40:05 +00:00
}
2020-02-08 04:40:37 +00:00
@media (max-width: 768px) {
2020-02-15 11:34:02 +00:00
.section {
2020-02-08 04:40:37 +00:00
padding-top: 60px;
}
}
2019-01-06 10:40:05 +00:00
.section-sm {
2020-04-15 03:53:46 +00:00
padding-top: 60px;
padding-bottom: 60px;
2019-01-06 10:40:05 +00:00
}
2020-02-08 04:40:37 +00:00
@media (max-width: 768px) {
2020-02-15 11:34:02 +00:00
.section-sm {
2020-02-08 04:40:37 +00:00
padding-top: 40px;
}
}
2019-01-06 10:40:05 +00:00
.section-title {
margin-bottom: 40px;
}
.bg-cover {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.border-primary {
border-color: #f2f2f2 !important;
}
pre {
padding: 20px;
border-radius: 2px;
}
/* overlay */
.overlay {
position: relative;
}
.overlay::before {
position: absolute;
content: '';
height: 100%;
width: 100%;
top: 0;
left: 0;
background: var(--primary-color);
opacity: .8;
}
.outline-0 {
outline: 0 !important;
}
.d-unset {
display: unset !important;
}
.bg-primary {
2019-09-04 11:35:48 +00:00
background: var(--primary-color) !important;
2019-01-06 10:40:05 +00:00
}
.bg-white {
background-color: var(--white-color) !important;
}
.bg-light {
background-color: var(--light-color) !important;
2019-01-06 10:40:05 +00:00
}
.text-primary {
color: var(--primary-color) !important;
}
.text-color {
color: var(--text-color) !important;
2019-01-06 10:40:05 +00:00
}
.text-dark {
color: var(--text-color-dark) !important;
}
.text-white {
color: var(--white-color) !important;
}
2020-07-05 03:21:01 +00:00
.top-50 {
top: 50px;
}
2019-01-06 10:40:05 +00:00
.navbar {
padding: 0;
}
2020-01-27 03:57:24 +00:00
@media (max-width: 768px) {
.navbar {
padding: 10px 0;
}
}
2019-09-04 11:35:48 +00:00
.navbar-brand img {
max-width: 100px;
margin-bottom: 0;
}
2019-01-06 10:40:05 +00:00
.navbar .nav-item .nav-link {
text-transform: uppercase;
2020-01-27 03:57:24 +00:00
padding: 10px 15px !important;
2019-09-04 11:35:48 +00:00
font-size: 15px;
2019-01-06 10:40:05 +00:00
}
.navbar .dropdown:hover .dropdown-menu {
visibility: visible;
opacity: 1;
-webkit-transform: scaleX(1);
transform: scaleX(1);
}
.navbar .dropdown-menu {
box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.12);
2020-07-05 03:21:01 +00:00
padding: 15px 0px;
2019-01-06 10:40:05 +00:00
border: 0;
2020-01-27 03:57:24 +00:00
top: 40px;
2020-07-05 03:21:01 +00:00
left: -35px;
2019-01-06 10:40:05 +00:00
border-radius: 0;
display: block;
visibility: hidden;
transition: .3s ease;
opacity: 0;
-webkit-transform: translateY(20px);
transform: translateY(20px);
background: var(--white-color);
}
2020-01-27 03:57:24 +00:00
@media (max-width: 768px) {
2019-01-06 10:40:05 +00:00
.navbar .dropdown-menu {
display: none;
opacity: 1;
visibility: visible;
-webkit-transform: translateY(0);
transform: translateY(0);
-webkit-transform-origin: unset;
transform-origin: unset;
}
}
.navbar .dropdown-menu.view {
visibility: visible !important;
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
-webkit-transform-origin: top;
transform-origin: top;
}
2020-01-27 03:57:24 +00:00
@media (max-width: 768px) {
2019-01-06 10:40:05 +00:00
.navbar .dropdown-menu.view {
display: block;
}
}
.navbar .dropdown-menu.show {
visibility: hidden;
}
2020-01-27 03:57:24 +00:00
@media (max-width: 768px) {
2019-01-06 10:40:05 +00:00
.navbar .dropdown-menu.show {
visibility: visible;
display: block;
}
}
.navbar .dropdown-item {
position: relative;
color: var(--text-color-dark);
transition: .2s ease;
font-family: var(--font-family), sans-serif;
2019-01-06 10:40:05 +00:00
}
2020-01-27 03:57:24 +00:00
@media (max-width: 768px) {
2019-01-06 10:40:05 +00:00
.navbar .dropdown-item {
text-align: center;
}
}
.navbar .dropdown-item:hover {
color: var(--primary-color);
background: transparent;
}
2020-02-15 11:34:02 +00:00
.lang-list {
2020-06-03 07:08:55 +00:00
background: var(--primary-color);
2020-01-27 03:57:24 +00:00
color: var(--white-color);
}
2020-02-15 11:34:02 +00:00
.lang-list.dark {
2020-01-27 03:57:24 +00:00
color: var(--text-color-dark);
2020-06-10 05:22:59 +00:00
background: var(--white-color);
2020-01-27 03:57:24 +00:00
}
2019-01-06 10:40:05 +00:00
2020-04-05 06:48:34 +00:00
.banner {
overflow: hidden;
}
2019-09-04 11:35:48 +00:00
.banner p {
2019-01-06 10:40:05 +00:00
font-size: 20px;
opacity: .8;
}
2019-09-04 11:35:48 +00:00
.banner .nav-link.text-dark {
2019-01-06 10:40:05 +00:00
color: var(--white-color) !important;
}
2019-09-04 11:35:48 +00:00
.banner .nav-link.text-dark:hover {
2019-01-06 10:40:05 +00:00
color: var(--white-color) !important;
}
2019-09-04 11:35:48 +00:00
.banner .navbar-brand {
2019-01-06 10:40:05 +00:00
color: var(--white-color) !important;
}
/* search */
#project-icon {
float: left;
height: 32px;
width: 32px;
}
#project-description {
margin: 0;
padding: 0;
}
.ui-helper-hidden-accessible {
display: none;
}
.ui-menu {
background: var(--white-color);
2020-04-05 06:48:34 +00:00
padding: 5px 20px 20px;
2019-01-06 10:40:05 +00:00
right: 0 !important;
max-height: 200px;
overflow: hidden;
2020-04-05 06:48:34 +00:00
border-radius: 0 0 25px 25px;
2019-01-06 10:40:05 +00:00
z-index: 9999;
2020-04-05 06:48:34 +00:00
box-shadow: 0px 13px 20px 0px rgba(0, 0, 0, .07)
2019-01-06 10:40:05 +00:00
}
2020-02-15 11:34:02 +00:00
@media (max-width: 575px) {
.ui-menu {
2020-02-15 11:34:02 +00:00
width: calc(100% - 30px) !important;
}
}
2019-01-06 10:40:05 +00:00
@media (min-width: 576px) {
.ui-menu {
max-width: 510px !important;
}
}
@media (min-width: 768px) {
.ui-menu {
max-width: 690px !important;
}
}
@media (min-width: 992px) {
.ui-menu {
2020-04-05 06:48:34 +00:00
max-width: 610px !important;
2019-01-06 10:40:05 +00:00
}
}
@media (min-width: 1200px) {
.ui-menu {
max-width: 730px !important;
}
}
2020-04-05 06:48:34 +00:00
.ui-menu-item a {
color: var(--text-color);
padding: 8px 0;
font-size: 15px;
}
.ui-menu-item a:hover {
2020-04-05 06:48:34 +00:00
color: var(--primary-color);
}
2020-02-15 11:34:02 +00:00
.ui-menu-item:not(:last-child) {
border-bottom: 1px solid #e8e8e8;
}
2020-04-05 06:48:34 +00:00
.ui-menu-item * {
2020-02-15 11:34:02 +00:00
display: none;
}
2020-04-05 06:48:34 +00:00
.ui-menu-item .ui-corner-all {
2020-02-15 11:34:02 +00:00
display: block;
}
2019-01-06 10:40:05 +00:00
/* /navigation */
.form-control {
height: 50px;
2020-04-05 06:48:34 +00:00
border-radius: 25px;
2019-01-06 10:40:05 +00:00
border: 0;
padding: 0 20px;
}
.form-control:focus {
border: 0;
box-shadow: none !important;
}
textarea.form-control {
height: 150px;
padding: 20px;
}
.icon {
font-size: 40px;
}
.shadow {
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07) !important;
transition: .3s ease;
}
2019-09-04 11:35:48 +00:00
.shadow-bottom {
box-shadow: 0 1px 0 rgba(12, 13, 14, 0.1), 0 1px 6px rgba(59, 64, 69, 0.1);
2019-01-06 10:40:05 +00:00
}
.shadow:hover,
.shadow:focus {
box-shadow: 0 14px 25px rgba(0, 0, 0, 0.1) !important;
}
/* single page */
2019-09-04 11:35:48 +00:00
.content * {
margin-bottom: 20px;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.content img {
max-width: 100%;
2019-01-06 10:40:05 +00:00
height: auto;
2019-09-04 11:35:48 +00:00
margin: 0 auto 15px;
display: block;
text-align: center;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.content ul {
2019-01-06 10:40:05 +00:00
padding-left: 0;
margin-bottom: 20px;
}
2019-09-04 11:35:48 +00:00
.content ul li {
padding-left: 20px;
position: relative;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.content ul li::before {
position: absolute;
content: '';
height: 8px;
width: 8px;
border-radius: 50%;
background: var(--primary-color);
opacity: .3;
left: 0;
top: 8px;
2019-01-06 10:40:05 +00:00
}
.list-styled li {
padding-left: 20px;
position: relative;
}
.list-styled li::before {
position: absolute;
content: '';
height: 8px;
width: 8px;
border-radius: 50%;
background: var(--primary-color);
opacity: .3;
left: 0;
top: 17px;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.post-meta {
color: var(--text-color);
font-style: italic;
font-size: 14px;
}
blockquote {
font-size: 20px !important;
color: var(--text-color-dark);
padding: 20px 40px;
border-left: 2px solid var(--primary-color);
margin: 40px 0;
font-weight: bold;
background: var(--light-color);
2019-09-04 11:35:48 +00:00
}
2020-02-15 11:34:02 +00:00
blockquote p {
2019-09-04 11:35:48 +00:00
margin-bottom: 0 !important;
}
2019-01-06 10:40:05 +00:00
.pagination {
justify-content: space-between;
}
.pagination a {
color: var(--primary-color);
}
2019-09-04 11:35:48 +00:00
.pagination i {
font-size: 15px;
line-height: 1.8;
}
#accordion i {
font-size: 14px;
line-height: 2;
}
table {
text-align: left;
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
border: 1px solid #dee2e6;
}
table td,
table th {
padding: .75rem;
vertical-align: top;
border: 1px solid #dee2e6;
margin-bottom: 0;
}
thead {
background: #ececec;
margin-bottom: 0;
}
tbody {
background: #f8f8f8;
margin-bottom: 0;
}
.notices {
margin: 2rem 0;
position: relative;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.notices p {
padding: 10px;
}
.notices p::before {
position: absolute;
top: 2px;
color: #fff;
font-family: "themify";
font-weight: 900;
content: "\e717";
left: 10px;
}
.notices.note p {
border-top: 30px solid #6ab0de;
background: #e7f2fa;
}
.notices.note p::after {
content: 'Note';
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
.notices.tip p {
border-top: 30px solid #78C578;
background: #E6F9E6;
}
.notices.tip p::after {
content: 'Tip';
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
.notices.info p {
border-top: 30px solid #F0B37E;
background: #FFF2DB;
}
.notices.info p::after {
content: 'Info';
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
.notices.warning p {
border-top: 30px solid #E06F6C;
background: #FAE2E2;
}
.notices.warning p::after {
content: 'Warning';
position: absolute;
top: 2px;
color: #fff;
left: 2rem;
}
/* /single page */
/* side list */
2020-07-05 03:49:50 +00:00
.sidebar{
background-color: var(--white-color);
position: sticky;
top: 50px;
margin-bottom: 30px;
padding: 40px 10px 20px 10px;
}
2019-09-04 11:35:48 +00:00
.sidelist {
display: block;
2019-01-06 10:40:05 +00:00
}
2020-02-15 11:34:02 +00:00
li.sidelist>a {
margin-left: 20px;
margin-bottom: 10px;
display: block;
}
2020-02-15 11:34:02 +00:00
li.sidelist li a {
margin: 0;
}
2019-09-04 11:35:48 +00:00
.sidelist li.sidelist {
display: block;
}
.sidelist li.sidelist.active a {
color: var(--primary-color);
}
.sidelist li.sidelist.active::before{
opacity: 1;
}
2019-09-04 11:35:48 +00:00
.page-list li a {
display: none;
}
.page-list li ul a {
display: block;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.sidelist li a {
2019-01-06 10:40:05 +00:00
color: var(--text-color-dark);
2019-09-04 11:35:48 +00:00
display: block;
font-size: 15px;
font-weight: 500;
padding: 10px 0;
line-height: 1.4;
}
p:empty,
p a:empty {
display: none !important;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
#body .nav-tabs {
position: unset;
width: unset;
}
.tab-content>.tab-pane {
2019-01-06 10:40:05 +00:00
display: none;
}
2019-09-04 11:35:48 +00:00
.tab-pane {
padding: 3px 0px;
}
.tab-pane {
padding: 3px 0px;
}
.tab-content>.active {
display: block;
}
.nav-tabs {
color: #0f0f0f;
list-style-type: none;
margin: 0 !important;
padding: 0;
overflow: hidden;
}
.nav-tabs>li {
color: #0f0f0f;
float: left;
padding: 0 !important;
}
2020-02-15 11:34:02 +00:00
.nav-tabs>li::before {
2019-09-04 11:35:48 +00:00
display: none;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.nav-tabs>li>a {
display: block;
padding: 5px 10px;
2019-01-06 10:40:05 +00:00
font-size: 14px;
2019-09-04 11:35:48 +00:00
margin-bottom: 0 !important;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
pre {
display: block;
padding: 9.5px;
margin: 10px 0px 10px;
}
2020-02-15 11:34:02 +00:00
code {
2019-09-04 11:35:48 +00:00
margin-bottom: 0 !important;
font-size: 100%;
}
.code-tabs {
margin: 10px 0px 0px 00px;
}
.nav-tabs>li.active>a,
.nav-tabs>li>a:hover {
color: #000 !important;
background: transparent;
}
.tab-content .nav-tabs {
display: none !important;
}
.nav-tabs {
padding-left: 0 !important;
}
.nav-tabs li {
list-style-type: none;
border: 1px solid rgb(212, 212, 212);
border-radius: 4px 4px 0 0;
border-bottom: 0;
}
2019-01-06 10:40:05 +00:00
2019-09-04 11:35:48 +00:00
.tab-pane {
border: 1px solid rgb(212, 212, 212);
padding: 20px;
background: rgb(253, 253, 253);
}
.back-btn {
position: relative;
2019-01-06 10:40:05 +00:00
}
2019-09-04 11:35:48 +00:00
.back-btn::before {
position: absolute;
font-family: 'themify';
content: "\e6bc";
2019-09-04 11:35:48 +00:00
font-size: 25px;
height: 30px;
2020-07-05 03:49:50 +00:00
width: 40px;
background-color: var(--white-color);
2019-09-04 11:35:48 +00:00
color: inherit;
text-align: right;
2019-09-04 11:35:48 +00:00
z-index: 1;
2020-07-05 03:49:50 +00:00
left: -5px;
2019-09-04 11:35:48 +00:00
top: -3px;
}
2020-04-05 06:48:34 +00:00
.ui-autocomplete-input {
border-bottom: 1px solid rgb(212, 212, 212) !important;
}
.ui-autocomplete-input.active {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.search-icon {
position: absolute;
right: 20px;
top: 18px;
font-size: 14px;
}
i{
transition: .2s ease;
}
a:hover i {
color: var(--primary-color);
2020-04-05 06:48:34 +00:00
}