pxt-core-own
Version:
Microsoft MakeCode, also known as Programming Experience Toolkit (PXT), provides Blocks / JavaScript tools and editors
135 lines (129 loc) • 3.46 kB
text/less
/*******************************
Print only
*******************************/
@media only print {
*,
*:before,
*:after,
*:first-letter,
p:first-line,
div:first-line,
blockquote:first-line,
li:first-line {
background: transparent ;
color: #000 ;
box-shadow: none ;
text-shadow: none ;
overflow: visible ;
}
.injectionDiv {
overflow: hidden ;
}
#docs {
.ui.segment, .ui.centered.card, .ui.content, iframe, .nobreak, pre, code, blockquote {
page-break-inside: avoid;
}
h1, h2, h3, h4, h5, h6, img {
page-break-inside: avoid;
page-break-after: avoid;
}
ul, ol, dl {
page-break-before: avoid ;
}
/* bigger fonts */
body {
color: #000 ; /* explicit colors */
background: #fff ;
font-size: 12pt;
line-height: 1.3;
}
/* hide videos */
div.ui.embed.mdvid {
display: none ;
}
/* links */
a:link, a:visited {
color: #000;
font-weight: bolder;
text-decoration: none;
}
a:after {
content:" (" attr(href) ") ";
font-size:0.8em;
font-weight:normal;
}
/* page breaks */
img, h2, h3 {
page-break-inside: avoid;
}
/* headers, footers */
/* messages */
.ui.message {
background: none ;
color: black ;
box-shadow: none ;
}
/* images */
.ui.image {
max-width: 60%;
}
.mainbody .ui.segment, pre {
background: none ;
}
/* inline blocks*/
span.docs.inlineblock {
background: none ;
border: black 2px solid ;
}
/* avatar */
.avatar .avatar-image, .avatar .ui.compact.message::after {
display: none ;
}
.avatar .ui.compact.message {
border: black 2px solid ;
}
}
/* page margins */
@page {
margin-top: 2cm;
margin-left: 2.5cm;
margin-right: 2.5cm;
margin-bottom: 2cm;
}
/** blockly **/
.blocklyPath {
stroke-width: 3px ;
stroke: black ;
fill: white ;
}
.blocklyBlockBackground, .blocklyLedOff {
stroke-width: 2px ;
stroke: black ;
fill: white ;
}
.blocklyText, .blocklyDropdownText {
fill: black ;
}
.blocklyLedOn {
stroke-width: 2px ;
stroke: black ;
fill: black ;
}
/* comments */
.blocklyCommentRect {
fill: white ;
stroke: black ;
}
.blocklyCommentTextarea {
overflow: hidden ;
}
.blocklyCommentTarget, .blocklyCommentHandleTarget, .blocklyResizeSE {
display: none ;
}
.blocklyToggleRect {
fill: white ;
}
.blocklyText.blocklyToggleText {
fill: black ;
}
}