AsiaV5/assets/stylesheets/template/base/_global.scss

117 lines
1.9 KiB
SCSS
Raw Normal View History

2021-04-19 03:12:49 +00:00
@charset "utf-8";
@import "../initial";
@import "variables";
html {
font-size: 100%;
}
body {
font-family: $sub-font;
font-size: inherit;
margin-top: 40px;
color: #3b3b3b;
background-color: #e9e9e9;
}
a:link,
a:visited {
color: $theme-color-five;
}
a:hover,
a:focus {
color: lighten($theme-color-five, 5%);
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
.admin-edit {
clear: both;
}
// override bootsrap settings
th,
td {
padding: 8px .5rem;
}
.borderless > tbody > tr > td,
.borderless > tbody > tr > th,
.borderless > tfoot > tr > td,
.borderless > tfoot > tr > th,
.borderless > thead > tr > td,
.borderless > thead > tr > th {
border: none !important;
}
a.btn-primary {
color: $theme-white;
border-color: $theme-color-five;
background-color: $theme-color-five;
font-size: 0.8125rem;
&:hover {
background-color: darken($theme-color-five, 10%);
border-color: darken($theme-color-five, 10%);
}
}
// title class
#main-content h3.i-annc__page-title,
#main-content h1.page-module-title,
#main-content h1.page-module-title,
#main-content h1.page-module-title,
#main-content table caption h3,
h3.i-archive__page-title,
#main-content h3.index-title,
#main-content h3.i-member__status-title,
.main-content h3.s-annc__show-title,
.show-gallery .show-title,
.page-home h3.w-annc__widget-title,
.page-home h3{
margin-top: 0;
margin-bottom: 10px;
color: #2988bd;
font-size: 20px;
line-height: 1.5;
font-family: $main-font;
padding-bottom: 3px;
border-bottom: 1px solid #d2d2d2;
}
// Page heading
.page-module-title {
@extend .unity-title;
margin-bottom: 18px;
}
.view-count {
font-size: 0.75rem;
}
.view_count {
> i {
font-size: 0.75rem;
&:before {
margin-right: 8px;
}
}
}
// Take care of exceeding content
@media (max-width: $screen-md){
body[data-module="page_content"],
body[data-module="announcement"] {
.layout-content {
overflow-x: auto;
}
}
}