Files
verta/docs/css/style.css
T
2020-09-04 15:45:59 +04:30

214 lines
2.8 KiB
CSS

* {
box-sizing: border-box;
outline: 0
}
*,
::after,
::before,
:after,
:before {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
article,
footer,
header {
display: block
}
html {
font-size: 100%;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
font-family: 'Markazi Text', sans-serif;
font-size: 15px;
line-height: 27px;
color: #000
}
a:focus {
outline: thin dotted
}
a:active,
a:hover {
outline: 0
}
p {
font-size: 20px;
}
pre {
margin: 1em 0;
font-family: monospace, serif;
font-size: 1em;
white-space: pre-wrap;
word-wrap: break-word;
padding: 10px;
direction: ltr;
text-align: left;
color: #090910;;
background: #fbfbfd;
}
ul {
padding: 0;
font-size: 20px;
margin: 1em 0;
list-style: none;
list-style-image: none
}
a,
a:visited {
color: #666;
text-decoration: none
}
h1 {
font-size: 30px;
text-transform: uppercase;
text-align: center;
margin-bottom: 25px;
position: relative;
padding: 0 0 20px 0
}
h2 {
font-size: 26px;
margin-bottom: 20px
}
h3 {
font-size: 24px
}
header#header {
background: #fbfbfd;
text-align: center;
line-height: 60px;
padding: 50px 30px;
margin: 0 0 30px 0;
border-bottom: 2px solid #ff6f6f;
}
header#header h1 {
color: #ff6f6f;
font-family: sans;
font-weight: 700;
font-size: 70px;
line-height: 90px;
}
header#header h1::after {
background: white;
}
header#header h2 {
color: lightgray;
}
.sidebar {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.sticky {
position: -webkit-sticky;
position: sticky;
top: 10px;
padding: 0 15px;
}
footer#footer {
background: #ddd;
color: #888;
padding: 30px 0;
margin-top: 30px
}
@media (max-width:480px) {
header#header {
padding: 30px 15px
}
header#header h1 {
font-size: 44px;
line-height: 70px;
padding-bottom: 15px;
margin-bottom: 15px
}
header#header h2 {
font-size: 20px
}
}
.container {
width: 100%;
padding-left: 15px;
padding-right: 15px;
margin-left: auto;
margin-right: auto;
}
@media (min-width: 576px) {
.container {
max-width: 540px;
}
}
@media (min-width: 768px) {
.container {
max-width: 720px;
}
}
@media (min-width: 992px) {
.container {
max-width: 960px;
}
}
@media (min-width: 1200px) {
.container {
max-width: 1140px;
}
}
.row {
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-left: -15px;
margin-right: -15px;
}
.col-sm-3, .col-sm-6 {
position: relative;
width: 100%;
padding-left: 15px;
padding-right: 15px;
}
@media (min-width: 576px) {
.col-sm-3 {
-ms-flex: 0 0 25%;
flex: 0 0 25%;
max-width: 25%;
}
.col-sm-9 {
-ms-flex: 0 0 75%;
flex: 0 0 75%;
max-width: 75%;
}
}