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

76 lines
1.3 KiB
SCSS
Raw Normal View History

2018-11-08 12:33:20 +01:00
@import 'variables';
.wrapper {
display: flex;
flex-wrap: wrap;
2018-11-08 12:33:20 +01:00
}
.sidebar {
margin-top: $spacer / 2;
margin-bottom: $spacer / 2;
top: $spacer;
order: 2;
2018-11-08 12:33:20 +01:00
@media (min-width: $break-point--medium) {
width: 27%;
margin-bottom: 0;
margin-top: 0;
order: 1;
2018-11-15 15:45:07 +01:00
+ .main {
width: 73%;
2018-11-10 01:08:20 +01:00
}
}
2018-11-10 01:08:20 +01:00
}
.main {
width: 100%;
background: $brand-white;
padding: 0 $spacer / 2;
border: 1px solid $brand-grey-lighter;
border-top: 0;
order: 1;
2018-11-23 12:56:12 +01:00
@media (min-width: $break-point--small) {
padding-left: $spacer;
padding-right: $spacer;
}
2018-11-10 01:08:20 +01:00
@media (min-width: $break-point--medium) {
padding-left: $spacer * 2;
padding-right: $spacer * 2;
order: 2;
}
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 {
composes: main;
max-width: 73%;
margin: auto;
2018-11-08 22:52:42 +01:00
}
.version {
color: $brand-grey-light;
font-size: $font-size-base;
font-family: $font-family-monospace;
a {
font-size: $font-size-mini;
font-family: $font-family-base;
font-weight: $font-weight-base;
display: inline-block;
margin-left: 0.5rem;
}
}
2019-02-23 19:00:46 +01:00
.pathName {
font-size: $font-size-h3;
border-bottom: 1px solid $brand-grey-lighter;
padding-bottom: $spacer / 2;
margin-top: $spacer * 2;
margin-bottom: $spacer / $line-height;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
2019-02-23 19:00:46 +01:00
}