blob: 529e95078d437a1060466dbf26e4b9b3aee27163 [file] [log] [blame]
/*
Nothing defined here. The Hugo project that uses this theme can override Bootstrap by adding a file to:
assets/scss/_styles_project.scss
*/
@import "custom_slider.scss";
@import "custom_docs.scss";
@import "custom_downloads.scss";
//common
html, body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-size: 16px;
color: #2c3e50;
width: 100%;
min-width: 300px;
}
h2 {
font-size: 1.65rem;
border-bottom: 1px solid #eaecef;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: 1.5;
padding-top: 1.1rem;
}
img {
max-width: 100%;
}
@media (min-width: 990px) {
img {
max-width: 920px;
}
}
.container {
padding-right: 0px;
padding-left: 0px;
}
.td-main {
img {
&:hover {
cursor: pointer;
}
}
}
.td-downloads {
pre {
line-height: 1.4;
padding: 1.25rem 1.5rem;
margin: 0.85rem 0;
background-color: #f8f9fa;
border-radius: 6px;
overflow: auto;
border: 1px solid rgba(0, 0, 0, .125);
border-radius: .25rem;
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
//color: #fff;
padding: 0;
background-color: transparent;
border-radius: 0;
margin: 0;
font-size: 0.85em;
}
}
}
/*lightbox*/
#popup {
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
display: none;
z-index: 99999;
.mask {
background-color: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
position: relative;
}
img {
max-height: 95%;
max-width: 95%;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
background-color: #fff;
}
}
//common end
table {
border-collapse: collapse;
margin: 1rem 0;
tr {
border-top: 1px solid #dfe2e5;
}
th, td {
border: 1px solid #dfe2e5;
padding: 0.6em 1em;
}
tr:nth-child(2n) {
background-color: #f6f8fa;
}
}
// home page
.td-home {
h2.section-head {
font-family: Lato, sans-serif;
text-shadow: 4px 6px 0 rgba(0, 0, 0, .07);
font-weight: 600;
line-height: 1.25;
border: none;
&:before {
content: "";
display: block;
width: 50px;
height: 3px;
background-color: #0091ff;
margin: 0 auto 8px;
}
}
.home-card-feature-td {
padding: 20px 0 20px 40px;
position: relative;
text-align: left;
}
.home-card-feature-img {
position: absolute;
left: 10px;
height: 20px;
margin-right: 10px;
vertical-align: text-top;
}
p {
margin: 10px 0;
line-height: 1.7;
}
/*Events & News*/
.home-card-news-item {
padding: 10px;
width: 50%;
box-sizing: border-box;
float: left;
text-align: left;
word-break: break-all;
}
.home-card-news-item:before {
content: "";
width: 7px;
height: 7px;
margin-right: 15px;
margin-top: 7px;
display: block;
float: left;
background-color: #0091ff;
}
.home-card-news-item > div, .home-card-news-item > h4 {
display: inline;
margin-right: 10px;
}
.mb10 {
margin-bottom: 10px;
}
.mt0 {
margin-top: 0;
}
.sm {
font-size: 13px;
}
.clear:after {
display: table;
content: "";
clear: both;
}
#overview.bg-box {
background-color: #f7f7f9;
}
.sky-row{
margin-right: -15px;
margin-left: -15px;
}
}
//home
.feature {
height: 440px;
h2 {
padding-bottom: 2em;
padding-top: 1.3em;
}
}
.flex-wrapper {
display: flex;
word-break: break-word;
}
.home-li {
width: 18.2%;
height: 240px;
transition: all 0.2s;
background-color: #f7f7f9;
padding: 1em 1em 20px;
margin-right: 0.8%;
border: 1px solid #f6f8fa;
border-top: 3px solid #2c3e50;
overflow: hidden;
.pic {
//display: block;
width: 60px;
margin: 1em auto;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
}
.line {
display: block;
font-size: 0;
width: 25%;
margin: 28px auto 10px;
height: 1px;
border-top: 1px solid #2c3e50;
transition: all 0.3s;
}
.box {
opacity: 0;
padding-left: 0.5em;
text-align: left;
p {
font-size: 1em !important;
margin: 0 0 10px;
line-height: 1.2;
&:before {
content: '•';
color: #0091ff;
font-weight: 600;
margin-right: 5px;
}
&:last-child {
margin: 0;
}
}
}
&:hover {
text-align: left;
border-bottom: 1px solid #0091ff;
border-top: 4px solid #0091ff;
width: 26%;
height: auto;
margin-top: -2em;
box-shadow: 0 0 8px #ffffffcf;
.line {
width: 80%;
margin: 18px 0 10px;
}
.pic {
filter: grayscale(0%);
filter: none;
margin: 0;
}
.box {
opacity: 1;
transition: opacity 1.5s;
}
}
}
.event {
.flex-wrapper {
flex-wrap: wrap;
}
.time {
color: rgb(153, 153, 153);
font-size: 13px !important;
}
.home-event-li {
padding: 1em;
text-align: left;
width: 48%;
margin: 2% 2% 0 0;
background-color: #fff;
border: 1px solid #f6f8fa;
border-left: 4px solid #0091ff;
}
}
@media (max-width: 768px) {
.feature {
height: auto;
h2 {
padding-bottom: 0;
padding-top: 0;
}
}
.flex-wrapper {
flex-wrap: wrap;
}
.home-li {
width: 49.2%;
height: auto;
&:hover {
width: 49.2%;
margin: 0em auto;
.box{
text-align: left;
}
}
.line {
width: 40%;
margin: 18px auto 10px;
}
.pic {
filter: grayscale(0%);
filter: none;
margin: 1em auto;
}
.box {
text-align: center;
//display: block;
opacity: 1;
transition: opacity 1.5s;
}
}
//event
.event{
.home-event-li {
padding: 1em;
text-align: left;
width: 100%;
margin: 10px 0 0 ;
background-color: #fff;
border: 1px solid #f6f8fa;
border-left: 4px solid #0091ff;
}
}
}
@media (max-width: 450px) {
table {
width: 100%;
table-layout: fixed;
overflow-wrap: break-word;
}
li {
overflow-x: scroll;
}
}
@media (max-width: 419px) {
h1 {
font-size: 2rem !important;
}
}
@media (max-width: 1238px) {
.search-input-box {
display: none !important;
}
.td-navbar .dropdown-menu {
left: -200px;
}
}