You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
devdocs/assets/stylesheets/pages/_haskell.scss

111 lines
1.6 KiB

._icon-haskell:before {
background-image: image-url('/icons/docs/haskell/16.png');
background-size: cover;
background-repeat: no-repeat;
}
.empty-table .empty {
display: none;
}
.arguments td.src {
background: #faf9e2;
width: 30%;
}
th.src,
td.src {
font-family: $monoFont;
font-weight: normal;
font-style: normal;
background: #f8f8f8;
}
caption {
font-weight: bold;
text-align: left;
font-style: italic;
font-size: 1.1em;
}
// remove margin in descript listing
dd > pre {
@extend %pre;
margin: 0;
background: #faf9e2;
border-color: #dddaaa #dddaaa #d7d7a9;
}
// warnings are red
.warning {
@extend %note;
@extend %note-red;
}
// complexity classes are blue boxes
.with-complexity {
display: flex;
justify-content: space-between;
align-items: flex-start;
align-content: stretch;
flex-direction: row;
}
.complexity {
@extend %note;
@extend %note-blue;
margin: 0;
margin-left: 1em;
margin-bottom: 0.75em;
font-style: italic;
white-space: nowrap;
flex-shrink: 0;
order:2;
}
.complexity + span {
order: 1;
}
// add box type to "since: ..."
.added {
@extend %note;
@extend %note-gold;
}
.added-cell {
@extend %note-gold;
}
.fields h3 {
display: none;
}
// separate types more
.src {
margin-top: 2.5em;
}
h1 + .top .src,
h2 + .top .src,
h3 + .top .src,
.caption + .top .src {
margin-top: 0;
}
// but not for first type
h1 + .top,
h2 + .top,
h3 + .top,
h4 + .top {
margin-top: 0;
}
// change color of example code
.example {
border: 1px solid;
background: #faf9e2;
border-color: #dddaaa #dddaaa #d7d7a9;
}