Files
skb-kit/src/assets/styles/global.scss
T

110 lines
1.5 KiB
SCSS

@import "./theme.scss";
@import "./fonts.scss";
@import "./wp-disable.scss";
input {
border: none;
}
.hopeui_style-breadcrumb {
display: none !important;
}
body {
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body,
input,
textarea,
button {
font-family: Montserrat;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
a {
text-decoration: none;
}
.btn {
display: block;
width: fit-content;
padding: 16px 24px;
margin: 0 auto;
border-radius: 8px;
border: none;
font-size: $main-font-size;
font-weight: 600;
line-height: 24px;
color: $btn-primary-text;
background: $btn-primary-bg;
background-size: 200%;
transition: .5s;
cursor: pointer;
}
.btn:hover {
background-position: 100%;
}
.btn[disabled] {
background: gray;
}
.list {
margin-top: 0.5em;
}
.image {
max-width: 100%;
border-radius: 8px;
}
p, ul, ol {
// TODO: заменить переменной
@media (max-width: 768px) {
font-size: 16px;
}
font-size: $main-font-size;
font-weight: $main-font-weight;
line-height: $main-line-height;
}
ul, ol {
margin-top: -0.75em;
}
header h1 {
font-size: 36px;
font-weight: 600;
line-height: 44px;
margin-top: 0;
@media (max-width: 768px) {
font-size: 24px;
}
}
#root {
display: flex;
min-height: 100vh;
flex-direction: column;
justify-content: flex-start;
#react-page {
margin-bottom: 2em;
}
#footer {
margin-top: auto;
}
}