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

65 lines
1.1 KiB
SCSS
Raw Normal View History

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