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

102 lines
1.7 KiB
SCSS
Raw Normal View History

2021-04-19 03:11:28 +00:00
@charset "utf-8";
@import "../initial";
@import "variables";
html {
font-size: 100%;
}
body {
font-family: $sub-font;
font-size: inherit;
margin-top: 40px;
}
a:link,
a:visited {
color: $theme-link-color;
}
a:hover,
a:focus {
color: lighten($theme-link-color, 10%);
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-main;
background-color: $theme-color-main;
font-size: 0.8125rem;
&:hover {
background-color: darken($theme-color-main, 10%);
border-color: darken($theme-color-main, 10%);
}
}
#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,.show-gallery .show-title{
color: $theme-color-second;
2021-06-28 11:05:06 +00:00
font-size: 1.5em;
2021-04-19 03:11:28 +00:00
line-height: 1.4;
}
.main-content h3.s-annc__show-title{
color: #222;
2021-06-28 11:05:06 +00:00
font-size: 1.5em;
2021-04-19 03:11:28 +00:00
line-height: 1.4;
}
// 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
body[data-module="page_content"],
body[data-module="announcement"] {
.layout-content {
overflow-x: auto;
}
}