1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/src/templates/Doc.module.scss

57 lines
937 B
SCSS
Raw Normal View History

2018-11-08 12:33:20 +01:00
@import 'variables';
.wrapper {
2018-11-08 13:21:39 +01:00
@media (min-width: $break-point--medium) {
2018-11-08 12:33:20 +01:00
display: flex;
}
}
.sidebar {
2018-11-08 22:52:42 +01:00
flex: 0 0 30%;
padding-right: $spacer * 2;
2018-11-08 12:33:20 +01:00
2018-11-08 17:33:56 +01:00
+ .main {
flex: 0 0 70%;
2018-11-08 22:52:42 +01:00
max-width: $break-point--small;
2018-11-08 17:33:56 +01:00
}
2018-11-08 12:33:20 +01:00
}
2018-11-08 13:21:39 +01:00
2018-11-08 22:52:42 +01:00
.mainSingle {
max-width: $break-point--small;
margin: auto;
}
2018-11-08 13:21:39 +01:00
.header {
margin-top: $spacer;
margin-bottom: $spacer * $line-height;
}
.title {
font-size: $font-size-h1;
margin-top: 0;
margin-bottom: $spacer / $line-height;
}
.lead {
font-size: $font-size-large;
}
.docContent {
2018-11-08 22:52:42 +01:00
// handling long text, like URLs
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
2018-11-08 13:21:39 +01:00
figcaption {
font-size: $font-size-small;
text-align: center;
color: $brand-grey-light;
margin-top: $spacer / 2;
}
2018-11-08 22:52:42 +01:00
h1, h2 {
margin-top: $spacer;
margin-bottom: $spacer;
}
2018-11-08 13:21:39 +01:00
}