asia-moma/assets/stylesheets/template/base/_global.scss

98 lines
1.4 KiB
SCSS
Raw Normal View History

2021-08-30 10:13:48 +00:00
@charset "utf-8";
@import "../initial";
@import "variables";
html {
font-size: 100%;
}
body {
font-family: $sub-font;
font-size: inherit;
margin-top: 2.5em;
overflow: hidden scroll;
}
a:link,
a:visited {
color: $theme-color-main;
}
a:hover,
a:focus {
color: #0032b2;
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
}
.admin-edit {
clear: both;
}
// override bootsrap settings
th,
td {
padding: 0.5em .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 {
font-size: 0.8125rem;
color: #666;
text-shadow: 1px 1px 0px #ffffff;
background: #00000026;
border: 0;
border-bottom: 2px solid #0a000033;
border-radius: 5px 0 5px 0;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
cursor: pointer;
&:hover {
background-color: #2841b4;
border-color: #2841b4;
text-shadow: 1px 1px 2px #000000e6;
}
}
// Page heading
.page-module-title {
@extend .unity-title;
margin-bottom: 1.125em;
}
.view-count {
font-size: 0.75rem;
}
.view_count {
> i {
font-size: 0.75rem;
&:before {
margin-right: 0.5em;
}
}
}
// Take care of exceeding content
body[data-module="page_content"],
body[data-module="announcement"] {
.layout-content {
overflow-x: auto;
}
}