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

98 lines
1.4 KiB
SCSS
Raw Normal View History

2021-08-30 10:09:12 +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;
background-color: #F8F8F8;
2023-04-09 06:25:48 +00:00
letter-spacing: 1px;
2021-08-30 10:09:12 +00:00
}
a:link,
a:visited {
2023-04-09 06:25:48 +00:00
color: $theme-color-second;
2021-08-30 10:09:12 +00:00
}
a:hover,
a:focus {
2023-04-09 06:25:48 +00:00
color: #7d0000;
2021-08-30 10:09:12 +00:00
text-decoration: revert;
}
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 {
color: $theme-white;
2023-04-09 06:25:48 +00:00
border-color: $theme-color-second;
background-color: $theme-color-second;
2021-08-30 10:09:12 +00:00
font-size: 0.8125rem;
&:hover {
2023-04-09 06:25:48 +00:00
background-color: #7d0000;
border-color: #7d0000;
opacity: .7;
letter-spacing: 3px;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
2021-08-30 10:09:12 +00:00
}
}
// 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;
}
}