Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Adjust width of votes column
body { } table.ranking { width: 100%; } table.ranking td { padding: 0 0.25em; } table.ranking td.ranking-rank { text-align: center; width: 3em; } table.ranking td.ranking-name { text-align: left; } table.ranking td.ranking-votes { text-align: ...
body { } table.ranking { width: 100%; } table.ranking td { padding: 0 0.25em; } table.ranking td.ranking-rank { text-align: center; width: 3em; } table.ranking td.ranking-name { text-align: left; } table.ranking td.ranking-votes { text-align: ...
Tweak colour of code blocks
pre { background: #ffffcc; padding-left: 5px; } div.body { min-height: 600px; } div.header, div.footer { color: #666666; font-size: 9pt; }
pre { background: #ffeeee; padding-left: 5px; } div.body { min-height: 600px; } div.header, div.footer { color: #666666; font-size: 9pt; }
Remove unnecessary margin from the char component
.character { margin-bottom: 25px; } .character .character-image { width: 250px; height: 250px; } .character .character-name { font-size: 20px; font-weight: bold; } .character .character-description a { padding: 0 5px 0 5px; }
.character .character-image { width: 250px; height: 250px; } .character .character-name { font-size: 20px; font-weight: bold; } .character .character-description a { padding: 0 5px 0 5px; }
Undo change to example css
/** * Comments! */ * { -moz-box-sizing: border-box; box-sizing: border-box; } body { font-size: 18px; } p { color: purple !important; } @media screen and (min-width: 600px) { body { background: green; font-size: 21px; } } @media screen and (min-width: 600px) { div { margin: 0 auto; ...
/** * Comments! */ * { -moz-box-sizing: border-box; box-sizing: border-box; } body { background: red; font-size: 18px; } p { color: purple !important; } @media screen and (min-width: 600px) { body { background: green; font-size: 21px; } } @media screen and (min-width: 600px) { div { m...
Change raw font to monospace.
@import url(http://fonts.googleapis.com/css?family=Open+Sans); * { padding: 0; margin: 0; } body { font-family: "Open Sans", sans-serif; text-align: center; } textarea { resize: none; width: 800px; height: 400px; } input[type='submit'] { border: none; background-color: #2980b9; padding: 10px; bo...
@import url(http://fonts.googleapis.com/css?family=Open+Sans); * { padding: 0; margin: 0; } body { font-family: "Open Sans", sans-serif; text-align: center; } textarea { resize: none; width: 800px; height: 400px; } input[type='submit'] { border: none; background-color: #2980b9; padding: 10px; bo...
Apply Google Font to headers and text.
/*typography*/ h1, h2, h3, h4, h5, h6 { font-family: 'Roboto Slab', serif; } body { font-family: 'Open Sans', sans-serif; }
Add a sensible margin to footer__list-social
@import "./_container"; @import "./_copyright"; @import "./_side"; @import "./_list-social"; .footer { padding-top: 20px; padding-bottom: 20px; background: #efefef; } .footer__list-social { text-align: center; }
@import "./_container"; @import "./_copyright"; @import "./_side"; @import "./_list-social"; .footer { padding-top: 20px; padding-bottom: 20px; background: #efefef; } .footer__list-social { text-align: center; margin-bottom: 20px; }
Add an element to block
/* Advertisement blocker for Twitter */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("twitter.com") { .promoted-tweet { display: none !important; } }
/* Advertisement blocker for Twitter */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("twitter.com") { .promoted-tweet, .dismissible-container { display: none !important; } }
Disable the form margin when it is in a modal
/** Form CSS */ .displayedValue { padding-top: 5px; }
/** Form CSS */ .displayedValue { padding-top: 5px; } .modal form { margin-bottom: 0px; }
Add margins to both side of table examples in docs
div#tree-diagram { font-size: 14px; line-height: 1.2; color: #404040; background: #fff; border: solid 1px #e1e4e5; padding: 0.5em; margin: 1em 0; font-family: Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono"...
div#tree-diagram { font-size: 14px; line-height: 1.2; color: #404040; background: #fff; border: solid 1px #e1e4e5; padding: 0.5em; margin: 1em 0; font-family: Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono"...
Add media queries and styles for hire.Fixed link underline with border bottom.
/* Common Styling */ body{ background: #fff; color:#222; font-family: 'Roboto',Verdana,Helevetica; font-size: 18px; font-weight: 300; line-height: 1.6; } /* Layout */ main{ max-width: 500px; margin: 10em auto 1em; padding: 1em; } li{ display: inline-block; margin: 0 auto...
/* Common Styling */ body{ background: #fff; color:#222; font-family: 'Roboto',Verdana,Helevetica; font-size: 18px; font-weight: 300; line-height: 1.6; } /* Layout */ main{ max-width: 500px; margin: 6em auto 0.8em; padding: 1em; } ul{ padding: 0; } li{ display: inline-b...
Put footer at the bottom of the page
html, body { font-family: sans-serif; padding:0; margin:0; } .header, .footer { background:black; color:white; } a { color: white; } h1 { font-size:16px; padding:4px; margin:0; }
html, body { font-family: sans-serif; padding:0; margin:0; } .header, .footer { background:black; color:white; padding:4px; } a { color: white; } h1 { font-size:16px; padding:0; margin:0; } .footer { position:absolute; bottom:0; width:100%; }
Add stylesheet to restore old visual style
/* Restore colors as they were before adding Boostwatch support * https://github.com/nairobilug/pelican-alchemy/pull/79 * * Add THEME_CSS_OVERRIDES = ['theme/css/oldstyle.css'] * to your pelicanconf.py to enable this stylesheet */ ::selection { background: #0085a1; color: #fff; } body { background-color: #f...
Add word wrapping to theme
.wy-nav-content { max-width: 1200px !important; }
body { word-wrap: break-word; } .wy-nav-content { max-width: 1200px !important; }
Make navigation title font thin uppercase
@import 'app/styles/variables.css'; .container { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 15px; } .header { display: inline; } .navigator { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; } @media (--small-viewport) { .container { ...
@import 'app/styles/variables.css'; .container { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 15px; } .header { display: inline; font-weight: 400; text-transform: uppercase; } .navigator { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center...
Add support for likes on posts you're tagged in
/* Notification flyout list notifications */ li[data-gt*='"notif_type":"like"'] { display: none; }
/* Matches flyout list (top right globe button), notifications page (when you * click "See All" at the bottom of the flyout), and notifications beeper * (ephemeral popups at bottom left) at time of new notification */ li[data-gt*='"notif_type":"like"'] ,li[data-gt*='"notif_type":"like_tagged"'] { display: none; }...
Add styling for editable start time
.bestest_timer_button { height: 24px; background-color: white; border: 0px; border-radius: 3px; } .bestest_timer_dialog .ui-dialog-titlebar-close { display: none; } .bestest_timer_activities { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; } .bestest_timer_activities...
.bestest_timer_button { height: 24px; background-color: white; border: 0px; border-radius: 3px; } .bestest_timer_dialog .ui-dialog-titlebar-close { display: none; } .bestest_timer_activities { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; } .bestest_timer_activities...
Update doc CSS a bit.
a, a:visited { color: #258; } a tt, a:visited tt, a:active tt { color: #258; } .banana { float: right; max-width: 45%; } .banana img { width: 100%; } pre { font-size: 0.95rem; line-height: 1.25; } span.pre { background: #eee; font-size: 1rem; padding: 0.1rem 0.2rem; } li a.internal span.pre { background: inherit...
a, a:visited { color: #258; } a tt, a:visited tt, a:active tt { color: #258; } .banana { float: right; max-width: 45%; } .banana img { width: 100%; } pre { font-size: 0.9rem; line-height: 1.25; } span.pre { background: #eee; font-size: 0.95rem; padding: 0.1rem 0.2rem; } a.internal span.pre { background: inherit;...
Fix vertical alignment of subscription button
.disabled { pointer-events: all !important; } .table > tbody > tr.messageShort > td { padding: 0px; } /* override 8px */ .table > tbody > tr.messageShort > td > a { display: block; color: black; padding: 6px 8px; } .table > tbody > tr.messageShort:hover > td { background-color: #5cb85c; } .table > tbody > tr.message...
.disabled { pointer-events: all !important; } .table > tbody > tr.messageShort > td { padding: 0px; } /* override 8px */ .table > tbody > tr.messageShort > td > a { display: block; color: black; padding: 6px 8px; } .table > tbody > tr.messageShort:hover > td { background-color: #5cb85c; } .table > tbody > tr.message...
Add padding top on tab-content
/* TODO: Document and add JavaScript for non-ember apps <div> <ul class="nav nav-tabs"> <li><a href="#home" class="active">Home</a></li> <li><a href="#profile">Profile</a></li> <li><a href="#messages">Messages</a></li> <li><a href="#settings">Settings</a></li> </ul> <div class="tab-content"> ...
/* TODO: Document and add JavaScript for non-ember apps <div> <ul class="nav nav-tabs"> <li><a href="#home" class="active">Home</a></li> <li><a href="#profile">Profile</a></li> <li><a href="#messages">Messages</a></li> <li><a href="#settings">Settings</a></li> </ul> <div class="tab-content"> ...
Fix : decrease of the z-index for the set goal button
.goal-action-container { position:relative; } .badgeos-achievements-grid-item .goal-action { position:absolute; top: 0; right:10px; z-index: 10; } .badgeos-achievements-list-item .goal-action { float: left; } .goal-action img { cursor:pointer; }
.goal-action-container { position:relative; } .badgeos-achievements-grid-item .goal-action { position:absolute; top: 0; right:10px; z-index: 5; } .badgeos-achievements-list-item .goal-action { float: left; } .goal-action img { cursor:pointer; }
Fix the font size for the colorpicker
/** * This file is part of the SimpleBootstrap Bundle. * * @author aRn0D (Arnaud Langlade) <arn0d.dev@gmail.com> * @author Julien Janvier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** Flashes messages */ #flashesMessage ul ...
/** * This file is part of the SimpleBootstrap Bundle. * * @author aRn0D (Arnaud Langlade) <arn0d.dev@gmail.com> * @author Julien Janvier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** Flashes messages */ #flashesMessage ul ...
Set max-width of the text in the examples
body { font-family: sans-serif; font-size: 16px; margin: 50px; }
body { font-family: sans-serif; font-size: 16px; margin: 50px; max-width: 800px; }
Indent the line containing the fork.
/* placeholder */ .repohead-details-container .public:after { display: block; visibility: hidden; content: "."; font-size: 12px; line-height: 12px; } /* remove placeholder */ .repohead-details-container .has-lovely-forks.public:after { display: none; } /* smoother integration */ .lovely-forks...
/* placeholder */ .repohead-details-container .public:after { display: block; visibility: hidden; content: "."; font-size: 12px; line-height: 12px; } /* remove placeholder */ .repohead-details-container .has-lovely-forks.public:after { display: none; } /* smoother integration, show hierarchy ...
Update codemirror ux to new version
body { margin: 0; padding: 3em 6em; color: black; max-width: 50em; } h1 { font-size: 22pt; } .underline { border-bottom: 3px solid #C44; } h2 { font-size: 14pt; } p.rel { padding-left: 2em; text-indent: -2em; } div.border { border: 1px solid black; padding: 3px; } code { font-family: couri...
body { margin: 0; padding: 3em 6em; color: black; max-width: 50em; } h1 { font-size: 22pt; } .underline { border-bottom: 3px solid #C44; } h2 { font-size: 14pt; } h3 { font-size: 12pt; } p.rel { padding-left: 2em; text-indent: -2em; } div.border { border: 1px solid black; padding: 3px; } ...
Fix font size on retina
.parrot { padding: 10px; } .img { text-align: center; background-color: black; text-align: center; padding:; padding: 20px; overflow: hidden; } .img-text { text-align: center; background-color: black; color: white; font-family: Lucida Console; } .img-status-code { font-size: 3em; } .img-status-...
.parrot { padding: 10px; } .img { text-align: center; background-color: black; text-align: center; padding:; padding: 20px; overflow: hidden; } .img-text { text-align: center; background-color: black; color: white; font-family: Lucida Console; } .img-status-code { font-size: 3em; } .img-status-...
Use fixed positioning for Punter logo.
#logo { width: 280px; position: absolute; bottom: 1em; right: 0; }
#logo { width: 280px; position: fixed; bottom: 1em; right: 0; z-index: 99; }
Remove font setting from font size
p { font-size:48px; } h1 { font-size:96px; } h2 { font-size:72px; } h3 { font-size:60px; } em { font-style: normal; }
p { font-size:48px; } h1 { font-size:96px; } h2 { font-size:72px; } h3 { font-size:60px; }
Hide main menu button text.
/** * Custom styles. * Keep these separate from the HTML5 Boilerplate main.css */ html, body { width: 100%; background-color: #ffffff; color: #000000; } .sidebar { box-sizing: border-box; width: 30%; height: 100%; padding-left: 5%; float: left; } .main { box-sizing: border-box; width: 70%; h...
/** * Custom styles. * Keep these separate from the HTML5 Boilerplate main.css */ html, body { width: 100%; background-color: #ffffff; color: #000000; } .sidebar { box-sizing: border-box; width: 30%; height: 100%; padding-left: 5%; float: left; } .main { box-sizing: border-box; width: 70%; h...
Fix important and hljs confict
.hljs-string, .hljs-keyword, .hljs-attribute { color: #52a2df; }
.hljs-string, .hljs-keyword, .hljs-attribute { color: #52a2df; } .slide mark.important { .hljs-string, .hljs-keyword, .hljs-attribute { color: white; } }
Add transitions to key block
/* setting full-screen responsive background image to page */ html { background-image: url('./images/drum-background.jpeg'); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; background-position: center; } /* setting font of the whole body text */ body { font-f...
/* setting full-screen responsive background image to page */ html { background-image: url('./images/drum-background.jpeg'); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; background-position: center; } /* setting font of the whole body text */ body { font-f...
Set user-select: none on the root element
html, body { font: 13px Helvetica Neue, Lucida Grande, sans-serif; height: 100%; margin: 0; background: rgb(236, 236, 236); } /* MARK: - Editor */ .editor { display: -webkit-flex; -webkit-flex-direction: row; height: 100%; } .layers-panel { position: relative; border-right: 1px solid rgb(184, 184,...
html, body { font: 13px Helvetica Neue, Lucida Grande, sans-serif; height: 100%; margin: 0; background: rgb(236, 236, 236); -webkit-user-select: none; } /* MARK: - Editor */ .editor { display: -webkit-flex; -webkit-flex-direction: row; height: 100%; } .layers-panel { position: relative; border-r...
Use the correct color instead of a calculated alpha variant
:root { --button-border-radius: calc(0 * var(--unit)); --button-height: calc(3.6 * var(--unit)); --button-toggle-font-size: calc(2 * var(--unit)); --button-primary-color: var(--color-primary); --button-primary-color-hover: color(var(--color-primary-dark)); --button-primary-color-contrast: var(--color-primar...
:root { --button-border-radius: calc(0 * var(--unit)); --button-height: calc(3.6 * var(--unit)); --button-toggle-font-size: calc(2 * var(--unit)); --button-primary-color: var(--color-primary); --button-primary-color-hover: color(var(--color-primary-dark)); --button-primary-color-contrast: var(--color-primar...
Tweak test CSS to make it easy to read on any page.
html, body { margin: 0; padding: 0; font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; } a { color: #00b7ff; } .controls { padding: 20px; border: 1px solid red; } .requires { text-decoration: italic; margin: 5px; font-size: 10px; } .videoInstance { width: 40%; float: left; margin: 10px; ...
html, body { margin: 0; padding: 0; font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; } a { color: #00b7ff; } .controls { padding: 20px; border: 1px solid red; } .requires { text-decoration: italic; margin: 5px; font-size: 10px; } .videoInstance { width: 40%; float: left; margin: 10px; ...
Use h1 font size for metadata section headers.
.sc-collection-editor { } .sc-collection-editor .se-heading { display: flex; justify-content: space-between; max-width: 800px; margin: 30px 0px; border-radius: 4px; font-size: 20px; } .sc-collection-editor .se-heading .se-add-value { display: none; font-size: 12px; background: #fff; padding: 2px ...
.sc-collection-editor { } .sc-collection-editor .se-heading { display: flex; justify-content: space-between; max-width: 800px; margin: 30px 0px; border-radius: 4px; font-size: var(--h1-font-size); } .sc-collection-editor .se-heading .se-add-value { display: none; font-size: 12px; background: #fff; ...
Fix alignment of timestamps in diff annotation tooltips
@import 'part:@sanity/base/theme/variables-style'; .root { padding: var(--extra-small-padding) var(--extra-small-padding) var(--small-padding) var(--small-padding); font-size: var(--font-size-base); font-weight: normal; font-style: normal; color: var(--text-color); } .annotation { padding: var(--extra-sma...
@import 'part:@sanity/base/theme/variables-style'; .root { padding: var(--extra-small-padding) var(--extra-small-padding) var(--small-padding) var(--small-padding); font-size: var(--font-size-base); font-weight: normal; font-style: normal; color: var(--text-color); } .annotation { padding: var(--extra-sma...
Add Chinese font for characters
/* Copyright Geoff Wilson 2012 */ body { text-rendering: optimizeLegibility; font-size: 14px; font-family: Helvetica, Arial, Verdana, sans-serif; color: #333; background-color: white; } li.word { list-style: none; margin-top: 0.4em; margin-bottom: 0.6em; } span.zi { font-size: 24p...
/* Copyright Geoff Wilson 2012 */ body { text-rendering: optimizeLegibility; font-size: 14px; font-family: Helvetica, Arial, Verdana, sans-serif; color: #333; background-color: white; } li.word { list-style: none; margin-top: 0.4em; margin-bottom: 0.6em; } span.zi { font-family: "...
Add comments in the example theme
@import url("../../../assets/css/app.css"); @font-face { font-family: Inconsolata; src: url(../fonts/Inconsolata-Regular.ttf); } body { margin-left: 300px; padding-left: 10px; border-left: 5px solid #000; font-family: 'Inconsolata', sans-serif; }
/* Basic example theme */ /* Import the original stylesheet if you want, it's up to you... */ @import url("../../../assets/css/app.css"); @font-face { font-family: Inconsolata; src: url(../fonts/Inconsolata-Regular.ttf); } body { margin: 0; max-width: 90%; margin-left: 100px; padding-left: 1...
Fix printing on windows, but revert last commit
html { background-color: #F4F5F8; color: #333333; font-family: 'Space Mono', monospace; -webkit-user-select: none; -webkit-touch-callout: none; user-select: none; counter-reset: act; overflow-x: hidden; } body { margin: 0; width: 100vw; height: 100vh; } div[data-reactroot] { height: 100%; } #...
html { background-color: #F4F5F8; color: #333333; font-family: 'Space Mono', monospace; -webkit-user-select: none; -webkit-touch-callout: none; user-select: none; counter-reset: act; } body { margin: 0; width: 100%; height: 100vh; } div[data-reactroot] { height: 100%; } #root { width: 100%; ...
Update formatting for tests page.
.danger-well { background: rgb(217, 84, 80); color: white; font-size: large; } .warning-well { background: rgb(255, 193, 7); color: white; font-size: large; } .passing-well { background: rgb(92, 184, 92); color: white; font-size: large; } a:hover{ text-decoration: none; } .da...
.danger-well { background: rgb(217, 84, 80); color: white; font-size: large; } .warning-well { background: rgb(255, 193, 7); color: white; font-size: large; } .passing-well { background: rgb(92, 184, 92); color: white; font-size: large; } .panel-heading.panel-danger { backgrou...
Increase the height of the activity group boxes so not as much scrolling is required.
.container { width: 500px; margin-left: 100px; } #amount { width: 600px; display: inline; } #amount-box { width: 50px; } #vcs-box { position: relative; margin-top: 3%; } .multi { margin: 10px; width: 300px; border-radius: 4px; } .center-form { display: table-cell; vertical-align...
.container { width: 500px; margin-left: 100px; } #amount { width: 600px; display: inline; } #amount-box { width: 50px; } #vcs-box { position: relative; margin-top: 3%; } .multi { margin: 10px; width: 300px; height: 500px; border-radius: 4px; } .center-form { display: table-cell;...
Change margin on nav bar
body { background-image: url("blog-background-image.jpg"); } .background { margin-top: 30px; margin-right: 85px; margin-left: 75px; position: fixed; height: 100%; background-color: white; border: 2px solid #d3d3d3; border-radius: 20px; border-bottom: -50px; padding-top: 20px; padding-left: 30px...
body { background-image: url("blog-background-image.jpg"); } .background { margin-top: 30px; margin-right: 85px; margin-left: 75px; position: fixed; height: 100%; background-color: white; border: 2px solid #d3d3d3; border-radius: 20px; border-bottom: -50px; padding-top: 20px; padding-left: 30px...
Make the default grid cursor a crosshair.
.app { width: calc(100% - 16px); height: calc(100% - 16px); margin: 8px; background-color: darkgrey; overflow: hidden; position: relative; } .toolbox { position: absolute; max-width: calc(100% - 8px); top: 4px; left: 4px; max-height: calc(100% - 8px); z-index: 4; background-co...
.app { width: calc(100% - 16px); height: calc(100% - 16px); margin: 8px; background-color: darkgrey; overflow: hidden; position: relative; } .toolbox { position: absolute; max-width: calc(100% - 8px); top: 4px; left: 4px; max-height: calc(100% - 8px); z-index: 4; background-co...
Add style for task table view
@import "effect.css"; @import "form.css"; @import "media.css"; @import "paragraph.css"; @import "table.css"; * { font-family: Arial, Helvetica, sans-serif; } // Selector for all elements except logo header and body :not(nav) { background-color: white; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-r...
@import "effect.css"; @import "form.css"; @import "media.css"; @import "paragraph.css"; @import "table.css"; * { font-family: Arial, Helvetica, sans-serif; } .taskTableView { width: 500px; } // Selector for all elements except logo header and body :not(nav) { background-color: white; -webkit-border-radius: 5px; ...
Change stats z-index so it won't block spare pieces
.stats-container div { float: left; position: absolute; cursor: default; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; } .anymove { text-align: center; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; } .stats-container div { float: left; position: absolute; z-index: -1; } .anymove { text-align: center; }
Fix UI for non-readonly fields on change view
#content-main .changelink, #content-main .submit-row, #content-main p, #historicalreimbursement_form p, #recent-actions-module { display: none } td.field-value { white-space: nowrap }
#content-main .changelink, #content-main .submit-row, #content-main p, #historicalreimbursement_form p, #recent-actions-module { display: none } td.field-value { white-space: nowrap } .required label, label.required { color: #666; font-weight: normal; }
Fix race condition in safari displaying panels
/* dna.js ~~ MIT License */ .dna-template, .dna-panels >*, [data-placeholder], .dna-hide { display: none; } .dna-menu .menu-item, [data-click], [data-href] { cursor: pointer; } [data-format-currency], [data-format-currency100], [data-format-percent], [data-format-number] { text-align: right; }
/* dna.js ~~ MIT License */ .dna-template, .dna-panels >*:not(.displayed), [data-placeholder], .dna-hide { display: none; } .dna-menu .menu-item, [data-click], [data-href] { cursor: pointer; } [data-format-currency], [data-format-currency100], [data-format-percent], [data-format-number] { text-align: right; }
Fix second in blog index
#second_from_top { display: block; position: relative; top: 800px; left: 100px; } #third_from_top { display: block; position: relative; top: 810px; left: 100px; } #fourth_from_top { display: block; position: relative; top: 820px; left: 100px; } #fifth_from_top { display: block; position: relative; top: 830px; left...
#second_from_top { display: block; position: relative; top: 810px; left: 100px; } #third_from_top { display: block; position: relative; top: 820px; left: 100px; } #fourth_from_top { display: block; position: relative; top: 830px; left: 100px; } #fifth_from_top { display: block; position: relative; top: 840px; left...
Add a z-index to the overlay
div.hallotoolbar { border: 1px solid #babdb6; padding: 2px; background-color: #eeeeec; border-radius: 6px; font-size: 12pt; line-height: 1.1em; width: 260px; }
div.hallotoolbar { border: 1px solid #babdb6; padding: 2px; background-color: #eeeeec; border-radius: 6px; font-size: 12pt; line-height: 1.1em; width: 260px; z-index: 500; }
Add test file for theme coloring
@charset "UTF-8"; /* syntax coloring */ Keyword font-family Command @font-face Type !important Attribute [foo=bar] Variable #variable Value transparent Number 360deg String "string" Character format() Comment /* comment */ /* web font */ @font-face { font-family: 'HuiFont'; src: loc...
Update link colours to SparkCC colour scheme.
/* Add SparkCC official fonts */ @font-face { font-family: Antipasto; src: url('../fonts/Antipasto.ttf'); } @font-face { font-family: Yorkville; src: url('../fonts/Yorkville.ttf'); ...
/* Add SparkCC official fonts */ @font-face { font-family: Antipasto; src: url('../fonts/Antipasto.ttf'); } @font-face { font-family: Yorkville; src: url('../fonts/Yorkville.ttf'); ...
Fix emojis getting cut off in ChatThreadList div.lastMessage
div.container { position: absolute; width: 400px; top: 0; bottom: 0; overflow-y: auto; background-color: white; border-right: 2px solid #E4E4E4; } a.thread { display: block; padding: 5px 15px; cursor: pointer; } a.thread:hover { background-color: #EEEEEE; } a.activeThread { background-color: #E...
div.container { position: absolute; width: 400px; top: 0; bottom: 0; overflow-y: auto; background-color: white; border-right: 2px solid #E4E4E4; } a.thread { display: block; padding: 5px 15px; cursor: pointer; } a.thread:hover { background-color: #EEEEEE; } a.activeThread { background-color: #E...
Fix per year / trip styling to not push down option content
.Options { overflow: hidden; } .Options .pull-right { background-repeat: no-repeat; margin-top: 10; float: right; height: 28px; border-radius: var(--border-radius); margin-bottom: 10px; padding-left: 5px; padding-right: 5px; } .Options .separator { color: var(--darkest); padding-left: 5px; font-size: 14...
.Options { overflow: hidden; } .Options .separator { color: var(--darkest); padding-left: 5px; font-size: 14px; font-weight: bold; } .Options .annual-day-trigger { color: var(--darkest); background-repeat: no-repeat; font-size: 14px; line-height: 15px; } .Options .annual-day-trigger:hover, .Options .annua...
Remove remnant attempt of using BS carousel-caption
.hidden { display: none; } img.adventure-icon { image-rendering: crisp-edges; } /* make sure carousels can be 640px when appropriate to avoid scaling */ @media (min-width: 992px) { #screenshotPanel { min-width: 650px; } } /* give carousel icons more contrast */ .carousel-icon-wrapper { ba...
.hidden { display: none; } img.adventure-icon { image-rendering: crisp-edges; } /* make sure carousels can be 640px when appropriate to avoid scaling */ @media (min-width: 992px) { #screenshotPanel { min-width: 650px; } } /* give carousel icons more contrast */ .carousel-icon-wrapper { ba...
Reduce the size of the nav bar
.navbar { font-size: 11pt; font-weight: 500; } .navbar-brand img { height: 100%; margin: 0px 10px; } .navbar-brand { font-size: 16pt; height: 60px; /*padding: 12px 0px 12px 15px;*/ } .navbar-nav > li a { padding-top:18px; padding-bottom:19px; } .navbar-right { padding-top:8px; }...
.navbar { font-size: 11pt; font-weight: 500; } .navbar-brand img { height: 120%; margin: 0px 10px; } .navbar-brand { padding-top: 8px; } blockquote { font-size: 15px; } .navbar .navbar-version { font-size: 9pt; color: #919191; padding-top: 2px; } .alert { font-size: 11pt; fo...
Make custom max-width on row conform to Boostrap convention
/* * Style tweaks * -------------------------------------------------- */ body { padding-top: 70px; } footer { padding-left: 15px; padding-right: 15px; } /* * Off Canvas * -------------------------------------------------- */ @media screen and (max-width: 768px) { .row-offcanvas { position: relative;...
/* * Style tweaks * -------------------------------------------------- */ body { padding-top: 70px; } footer { padding-left: 15px; padding-right: 15px; } /* * Off Canvas * -------------------------------------------------- */ @media screen and (max-width: 767px) { .row-offcanvas { position: relative;...
Change menu item hover style
/* DEFAULTS */ body { font-family: georgia, serif; } .navbar { margin-bottom: 0; border-radius: 0; } .bg-range .dropdown-menu { border-radius: 0; background-color: rgba(255,255,255,0.87); } .bg-range { background-image: url(../img/dummy.jpg); -webkit-background-size: cover; backgrou...
/* DEFAULTS */ body { font-family: georgia, serif; } .navbar { margin-bottom: 0; border-radius: 0; } .bg-range .dropdown-menu { border-radius: 0; background-color: rgba(255,255,255,0.87); } .bg-range .dropdown-menu a:hover { background-image: linear-gradient(#6b8bd3, #495fa8); color: wh...
Make font load over HTTPS or HTTP depending. Fixes error where the font wouldn't load over https
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGMw1o1eFRj7wYC6JbISqOjY.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pr...
@font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(//fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGMw1o1eFRj7wYC6JbISqOjY.ttf) format('truetype'); } @font-face { font-family: 'Source Sans Pro'; ...
Fix angular material 0.11.4er bug for tab font color
body { height: 100%; } iframe { border: 0; } .fill-height { height: 100%; } .menu-item { width: 100%; display: block; max-height: 40px; line-height: 40px; padding: 0px 28px; } .menu-parent-item { color: #888; border-top: 1px solid rgba(0, 0, 0, 0.12); } .menu-sub-item { ...
body { height: 100%; } iframe { border: 0; } .fill-height { height: 100%; } .menu-item { width: 100%; display: block; max-height: 40px; line-height: 40px; padding: 0px 28px; } .menu-parent-item { color: #888; border-top: 1px solid rgba(0, 0, 0, 0.12); } .menu-sub-item { ...
Set image in body background
body { background-color: #e5e5ef; overflow-x: hidden; }
body { overflow-x: hidden; height:100%; background:center no-repeat fixed url('/assets/img/about/bg_suburb.jpg'); background-size: cover; }
Update fonts, font size, etc, for readability
.highlight { background-color: #f8f8f8 }
.highlight { background-color: #f8f8f8; } body { font-family: 'Lora', 'Times New Roman', 'serif'; font-size: 18px; line-height: 1.42857143; }
Add css to style quote highlighter.
.highlight-red { background-color: red; } .highlight-green { background-color: green; } span { -webkit-transition: 0.5s linear all; transition: 0.5s linear all; background-color: clear; }
Fix overflow on data preview.
header:after { content: ""; display: table; clear: both; } header #logo { float: left; margin: 0; } header #searchbox { float: right; margin: 0; } .twocol main { float: left; width: 75%; } .twocol aside { display: block; font-size: 83.33333%; margin-left: 80%; col...
header:after { content: ""; display: table; clear: both; } header #logo { float: left; margin: 0; } header #searchbox { float: right; margin: 0; } .twocol main { float: left; width: 75%; overflow: auto; } .twocol aside { display: block; font-size: 83.33333%; margi...
Test 20 did not work.
h1 { text-align: center; color:red; } h2 { text-align: center; color:red; } h4 { text-align: center; color:blue; } body { background-color:black; } p { color:white; } a { color:white; text-align: right; } h3 { color:white; text-align: right; }
h1 { text-align: center; color:red; } h2 { text-align: center; color:red; } h4 { text-align: center; color:black; } body { background-color:blue; } p { color:white; } a { color:white; text-align: right; } h3 { color:white; text-align: right; }
Make attribute names look a bit different form the values
fieldset { padding: 0px; } fieldset legend { cursor: pointer; cursor: hand; } fieldset legend:hover { background: #eee; } #addattributesb { margin-right: .2em; } table.attributes { width: 100%; margin: 0px; border: 0px; border-collapse: collapse; } table.attributes td.attrname { text-align: right; } table.at...
fieldset { padding: 0px; } fieldset legend { cursor: pointer; cursor: hand; } fieldset legend:hover { background: #eee; } #addattributesb { margin-right: .2em; } table.attributes { width: 100%; margin: 0px; border: 0px; border-collapse: collapse; } table.attributes td.attrname { text-align: right; } table.at...
Make timestamp anchors stand out less
/* CSS almost completely taken from T-M at www.moronic-works.co.uk with same adaptions and additions*/ tr:nth-child(odd) { background: #EEE; } tr:nth-child(even) { background: #DDD; } td { max-width: 900px; } .log { border-collapse: collapse; font-family: monospace; font-size: 14px; } .user { font-weight: bold;...
/* CSS almost completely taken from T-M at www.moronic-works.co.uk with same adaptions and additions*/ tr:nth-child(odd) { background: #EEE; } tr:nth-child(even) { background: #DDD; } td { max-width: 900px; } .log { border-collapse: collapse; font-family: monospace; font-size: 14px; } .user { font-weight: bold;...
Fix some awkward spacing when SwatDisclosure widgets were closed - other minor visual tweaks
.swat-disclosure-control { } .swat-disclosure-anchor { position: relative; top: 0.7em; display: inline; margin: 0 10px; padding: 0 6px; color: #666; background: #FFF; } .swat-disclosure-control-closed { margin-bottom: 1em; } .swat-disclosure-control-opened .swat-disclosure-container { display: block; bor...
.swat-disclosure-control { } .swat-disclosure-anchor { position: relative; top: 0.7em; display: inline; margin: 0 10px 0 5px; padding: 0 5px 0 2px; color: #666; background: #FFF; } .swat-disclosure-control-closed { margin-bottom: 1.7em; } .swat-disclosure-control-opened .swat-disclosure-container { display...
Remove .content and apply margin to .icon
@import '../layout.css'; @import '../variables.css'; .loader { text-align: center; } .icon { position: relative; margin: 0 auto; width: 1.5em; height: 1.5em; } .top { -webkit-animation: fadein 2s -0.5s infinite ease-in-out; animation: fadein 2s -0.5s infinite ease-in-out; } .middle { -webkit...
@import '../layout.css'; @import '../variables.css'; .loader { text-align: center; } .icon { position: relative; margin: 0 auto 1em auto; width: 1.5em; height: 1.5em; } .top { -webkit-animation: fadein 2s -0.5s infinite ease-in-out; animation: fadein 2s -0.5s infinite ease-in-out; } .middle { ...
Change z index of octicon
.title .github-avatar { position: absolute; left: 0; top: 6px; border-radius: 4px; width: 32px; height: 32px; } /* overriding github */ .news .alert.avatar-ready .simple > .octicon { left: 27px !important; z-index: 100; top: 27px; text-shadow: #FFF -1px -1px 0px; }
.title .github-avatar { position: absolute; left: 0; top: 6px; border-radius: 4px; width: 32px; height: 32px; } /* overriding github */ .news .alert.avatar-ready .simple > .octicon { left: 27px !important; z-index: 10; top: 27px; text-shadow: #FFF -1px -1px 0px; }
Add styles for priority and edit buttons
#todo-list li .priority-btn { display: none; height: auto; position: absolute; top: 0; bottom: 0; left: 34px; padding: 0 4px; background-color: #fcfcfc; /*color: #d00;*/ z-index: 10; /* Mobile Safari */ border: none; -webkit-appearance: none; -ms-appearance: none; -o-appearance: none; appearance: none; ...
Disable mouse pointer events for js tree marker line to fix bug with drag and drop not working if user cursor overlaps the marker line.
.jstree a { width: 95%; width: calc(100% - 20px); overflow-x: hidden; text-overflow: ellipsis; margin-bottom: -5px; } .jstree a:hover { width: auto; overflow-x: visible; }
.jstree a { width: 95%; width: calc(100% - 20px); overflow-x: hidden; text-overflow: ellipsis; margin-bottom: -5px; } .jstree a:hover { width: auto; overflow-x: visible; } #jstree-marker-line { pointer-events: none; }
Add pointer cursor for data points on weight graph, IDS ticket 7294
.x-form-invalid, textarea.x-form-invalid { background-image: url("../ext-3.4.1/resources/images/default/grid/invalid_line.gif"); background-repeat: repeat-x; background-position: bottom; }
.x-form-invalid, textarea.x-form-invalid { background-image: url("../ext-3.4.1/resources/images/default/grid/invalid_line.gif"); background-repeat: repeat-x; background-position: bottom; } a.point:hover { cursor: pointer; }
Make mouse behave same way over next page form <div> as with next page link <div>.
.content { position: relative; } nav{ min-height: 70px; background-color: gray; } #logout{ display: none; } .auth-box{ border: 1px solid gray; width: 260px; height: 200px; text-align: center; margin: 120px auto; } #login { background-color: rgba(246, 196, 25,0.7); margin: 20px auto 40px auto; ...
.content { position: relative; } nav{ min-height: 70px; background-color: gray; } #logout{ display: none; } .auth-box{ border: 1px solid gray; width: 260px; height: 200px; text-align: center; margin: 120px auto; } #login { background-color: rgba(246, 196, 25,0.7); margin: 20px auto 40px auto; ...
Use monospace font for form text boxes.
body { padding-top: 72px; padding-bottom: 32px; } .form-control[disabled], .form-control[readonly] { cursor: auto; } .dropdown-menu-two-column { -moz-column-count: 2; -webkit-column-count: 2; column-count:2; width: 360px; padding: 7px 0px; }
body { padding-top: 72px; padding-bottom: 32px; } .form-control { font-family: monospace; } .form-control[disabled], .form-control[readonly] { cursor: auto; } .dropdown-menu-two-column { -moz-column-count: 2; -webkit-column-count: 2; column-count:2; width: 360px; padding: 7px 0px; }
Remove slack specific css styles
@-moz-document url-prefix(about:blank), url-prefix(about:newtab) { html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay { background: #FDF6E3 !important; } } @-moz-document url-prefix(https://app.slack.com) { body, .p-client, .p-message_pane, .c-scrollbar__hider, ....
@-moz-document url-prefix(about:blank), url-prefix(about:newtab) { html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay { background: #FDF6E3 !important; } }
Fix rendering of logo on small resolutions
@import url(http://fonts.googleapis.com/css?family=Titillium+Web); table { width:100%; } th:nth-child(1), td:nth-child(1) { width: 35%; word-break: break-all; } td:nth-child(2), td:nth-child(2) { width: 20%; word-break: break-word; } td, th { padding: 6px 13px; border: 1px solid #ddd; } tr:nth-child(2...
@import url(http://fonts.googleapis.com/css?family=Titillium+Web); table { width:100%; } th:nth-child(1), td:nth-child(1) { width: 35%; word-break: break-all; } td:nth-child(2), td:nth-child(2) { width: 20%; word-break: break-word; } td, th { padding: 6px 13px; border: 1px solid #ddd; } tr:nth-child(2...
Use `--font-monospace` for code sample
.wrapper { line-height: 1.5; overflow-wrap: break-word; > :first-child { margin-top: 0; } > :last-child { margin-bottom: 0; } img { max-width: 100%; } pre { overflow-x: auto; } p { code { background-color: #fff; ...
.wrapper { line-height: 1.5; overflow-wrap: break-word; > :first-child { margin-top: 0; } > :last-child { margin-bottom: 0; } img { max-width: 100%; } pre { overflow-x: auto; } p { code { background-color: #fff; ...
Add github link in footer, Remove search button from search bar
/* Foundation hacks */ .row{ max-width:inherit;/* Expand to full browser width instead of 960px */ } .top-bar input{ /* Issue filed at github */ height:auto; padding-top:.35rem; padding-bottom:.35rem; } nav.top-bar .has-dropdown .button{ /* Needs testing */ top:0; } /* End Foundation hacks */ #search-bar{ } #sea...
/* Foundation hacks */ .row{ max-width:inherit;/* Expand to full browser width instead of 960px */ } .top-bar input{ /* Issue filed at github */ height:auto; padding-top:.35rem; padding-bottom:.35rem; } nav.top-bar .has-dropdown .button{ /* Needs testing */ top:0; } /* End Foundation hacks */ /* Card block */ li...
Fix some spacing in exchanges and wallets
/*! Place your custom styles here */ .exchanges .row div { min-height: 75px; } .vertical-align { display: flex; align-items: center; }
/*! Place your custom styles here */ .exchanges .row div.col-sm-4 { min-height: 75px; } .wallets .row div.col-sm-6 { min-height: 100px; } .vertical-align { display: flex; align-items: center; }
Remove element name from selector in CSS
h1 { text-transform: capitalize; } h2 { text-transform: capitalize; } h3 { text-transform: capitalize; } h4 { text-transform: capitalize; } div.tip { margin-left : 5%; margin-right : 5%; padding-left: 2%; padding-right: 2%; background-color: Silver; color:Black; border: ridge; } #bannerLeft i...
h1 { text-transform: capitalize; } h2 { text-transform: capitalize; } h3 { text-transform: capitalize; } h4 { text-transform: capitalize; } .tip { margin-left : 5%; margin-right : 5%; padding-left: 2%; padding-right: 2%; background-color: Silver; color:Black; border: ridge; } #bannerLeft img ...
Change macOS font anti-aliased behavior.
html { font-family: 'Avenir Next', 'Segoe UI', sans-serif; } pre, code, kbd, var, samp { font-family: 'Menlo', Consolas, Courier, monospace; } .serif { font-family: 'Times New Roman', serif; } .alert, .pagination, .breadcrumbs, .decolink, .button, .uifont { font-family: '-apple-system', 'BlinkMacSyst...
html { font-family: 'Avenir Next', 'Segoe UI', sans-serif; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } pre, code, kbd, var, samp { font-family: 'Menlo', Consolas, Courier, monospace; } .serif { font-family: 'Times New Roman', serif; } .alert, .pagination, .breadcrum...
Change position blocks week stylesheet
#top { display:block; display: absolute; background-color:; top: 170px; } #second_from_top { display: block; }
#top { display:block; position: absolute; background-color:; top: 170px; } #second_from_top { display: block; position: relative; }
Add responsive breakpoints for background image
@import "tailwindcss/base"; @import "tailwindcss/components"; @import "tailwindcss/utilities"; @import "tailwindcss/screens"; html { height: 100%; } body { height: 100%; background-color: #4299e1; } #__next { height: 100%; } .bg-img { background-image: url("/images/bg.jpg"); background-size: cover; }
@import "tailwindcss/base"; @import "tailwindcss/components"; @import "tailwindcss/utilities"; @import "tailwindcss/screens"; html { height: 100%; } body { height: 100%; background-color: #4299e1; } #__next { height: 100%; } .bg-img { background-image: url("/images/bg_720.jpg"); background-size: cover; ...
Add style for player class.
.mini-map { position: absolute; border: 1px solid black; } .tile { position: absolute; }
.mini-map { position: absolute; border: 1px solid black; } .tile { position: absolute; } .player { background: blue; }
Fix header positioning on mobile
@font-face { font-family: "LemonMilk"; src: url("../assets/LemonMilk.otf"); } body { background-color: #332A4D; } #applyPage { text-align: center; } #applyPage > svg { height: 75vh; } #applyGroup { cursor: pointer; } h1, h2, h3, h4, h5, h6 { font-family: "LemonMilk"; color: white; }
@font-face { font-family: "LemonMilk"; src: url("../assets/LemonMilk.otf"); } body { margin: 0; background-color: #332A4D; text-align: center; } #applyPage > svg { height: 75vh; max-width: 100vw; } #applyGroup { cursor: pointer; } h1, h2, h3, h4, h5, h6 { font-family: "LemonMilk"; color: white; }
Scale table padding to root font-size
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid #E1E1E1; } th:first-child, td:first-child { padding-left: 0; } th:last-child, td:last-child { padding-right: 0; }
table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #E1E1E1; } th:first-child, td:first-child { padding-left: 0; } th:last-child, td:last-child { padding-right: 0; }
Remove legacy left rule from main-fields
/* TODO: some of these may be moved up to common */ div.row div.label { width: 9em; } div.row div.value, div.row div.extra { margin-left: 11em; } div.row div.extra { padding-top: 0.3em; } .main-fields { float: left; width: 30em; border-left: 1px solid #999; margin-bottom: 0.5em; } .ctc-detail...
/* TODO: some of these may be moved up to common */ div.row div.label { width: 9em; } div.row div.value, div.row div.extra { margin-left: 11em; } div.row div.extra { padding-top: 0.3em; } .main-fields { float: left; width: 30em; margin-bottom: 0.5em; } .ctc-details { padding-right: 1.2em; ...
Set hard value on popover class's text indent
body { font-size: 16px; line-height: 1.5; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: 300; margin: auto; width: 800px; padding-left: 30px; padding-right: 30px; margin-top: 20px; } ul { ...
body { font-size: 16px; line-height: 1.5; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: 300; margin: auto; width: 800px; padding-left: 30px; padding-right: 30px; margin-top: 20px; } ul { ...
Add unit literal in CSS
.timeline.schedule .graph line { stroke: gray; stroke-linecap: round; stroke-width: 8; } .timeline.schedule .graph text { fill: gray; font-family: Courier; font-size: 14px; } .timeline.schedule .graph text.link { cursor: pointer; fill: blue; }
.timeline.schedule .graph line { stroke: gray; stroke-linecap: round; stroke-width: 8px; } .timeline.schedule .graph text { fill: gray; font-family: Courier; font-size: 14px; } .timeline.schedule .graph text.link { cursor: pointer; fill: blue; }
Fix URL for ethnocentric font
@font-face{ font-family:'ethnocentric'; src:url('assets/fonts/ethnocentric/ethnocentric_rg.ttf'); src:url('assets/fonts/ethnocentric/ethnocentric_rg.ttf') format('truetype'); src:url('assets/fonts/ethnocentric/ethnocentric_rg-webfont.woff') format('woff'); } h2{ font-size:38px; font-family:'ethnocentric'; } .ht...
@font-face{ font-family:'ethnocentric'; src:url('https://www.pcrepairutah.com/assets/fonts/ethnocentric/ethnocentric_rg.ttf'); src:url('https://www.pcrepairutah.com/assets/fonts/ethnocentric/ethnocentric_rg.ttf') format('truetype'); src:url('https://www.pcrepairutah.com/assets/fonts/ethnocentric/ethnocentric_rg-web...
Add basic styling for racetrack div and player divs
#racetrack { border: 1px solid black; height: 150px; } .player { height: 50px; width: 50px; background-color: blue; border: 1px solid black; margin: 10px 0 10px 10px; }
Update text editing font to match code.
.LessonText { height: 100%; } .LessonText .ReactCodeMirror, .LessonText .CodeMirror { height: 100%; } .LessonText .markdown-body { padding: .5em; }
.LessonText { height: 100%; } .LessonText .ReactCodeMirror, .LessonText .CodeMirror { height: 100%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 14px; } .LessonText .markdown-body { padding: .5em; }
Increase width of docstring tooltip
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-Tooltip { background: var(--jp-layout-color1); bor...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-Tooltip { background: var(--jp-layout-color1); bor...
Set the initial curtain display to none
/* I recommend you don't change the curtain but I won't stop you if you're gonna */ .CurtainBlock { background-color: black; position: fixed; top: 0px; left: 0px; width: 100%; height: 100% } /* You can totally change this to suit your needs though! */ .CurtainBlockAlert { background-color: rgb(255,255,255); w...
/* I recommend you don't change the curtain but I won't stop you if you're gonna */ .CurtainBlock { background-color: black; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; display: none; } /* You can totally change this to suit your needs though! */ .CurtainBlockAlert { background-color: rg...
Set min and max height on item listings (instead of fixed.)
h1, h2, h3, h4, h5, h6, p, body { font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif; } h1, h2, h3, h4, h5, h6 { font-weight: 300; } .page-header { margin-bottom: 0px; } .input-group-addon a { cursor: pointer; } .section-header { border-bottom: 1px solid #919191; } .item-listing { width: ...
h1, h2, h3, h4, h5, h6, p, body { font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif; } h1, h2, h3, h4, h5, h6 { font-weight: 300; } .page-header { margin-bottom: 0px; } .input-group-addon a { cursor: pointer; } .section-header { border-bottom: 1px solid #919191; } .item-listing { width: ...
Add padding at bottom of page.
body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } .docstring { margin-bottom: 10px; } .signature { font-size: 18px; border: none; color: #333; } .signature.highlight{ background-color: transparent; } .method { padding: 5px 10px; background-color: #eee; bord...
body { padding: 60px 0; /* 60px to make the container go all the way to the bottom of the topbar */ } .docstring { margin-bottom: 10px; } .signature { font-size: 18px; border: none; color: #333; } .signature.highlight{ background-color: transparent; } .method { padding: 5px 10px; background-color: #eee; border...
Fix vertical alignment of VmDetail properties
.vm-properties { font-size: large; } dt { clear: left; float: left; width: 200px; min-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #888; font-weight: normal; text-align: left; } dd { margin-left: 110px; min-height: 26px; m...
.vm-properties { font-size: large; } dt { clear: left; float: left; width: 200px; min-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #888; font-weight: normal; text-align: left; } dd { margin-left: 110px; min-height: 26px; m...
Add rule selection and more responsive
body, html { margin: 0; padding: 0; } body { max-width: 50%; margin: auto; font-family: 'Open Sans', sans-serif; } .title { border-bottom: 2px solid #ed706c; } .title h1 { font-weight: 300; } .rules { padding: 0; list-style-type: none; } .rules li { height: 55px; line-height: 55px; } .rules li spa...
body, html { margin: 0; padding: 5px; } body { max-width: 750px; margin: auto; font-family: 'Open Sans', sans-serif; } .title { border-bottom: 2px solid #ed706c; } .title h1 { font-weight: 300; margin: 0; } .rules { padding: 0; list-style-type: none; } .rules li { position: relative; min-height:...
Compress header more on mobile
/* https://github.com/poole/hyde/pull/90/files */ .sidebar a { padding: 5px 0; } /* Stop sidebar on mobile being so god damn massive */ .sidebar-about p.lead { display: none; } .sidebar-nav-item { display: inline; } @media (min-width: 48em) { .sidebar-about p.lead { display: block; } .sidebar .sideb...
/* https://github.com/poole/hyde/pull/90/files */ .sidebar a { padding: 5px 0; } /* Stop sidebar on mobile being so god damn massive */ .sidebar { padding 0.5rem 1rem; } .sidebar-about p.lead { display: none; } .sidebar .sidebar-nav-item { display: inline; } .sidebar-nav { margin-bottom: 0px; } @media (mi...
Fix table formatting for schema property details
div.schema_title { font-size: 1.5em; font-weight: bold; } div.property_description { font-side: 1em; } div.schema_property_name { font-size: 1.5em; font-weight: bold; } table { width: 20%; } td.schema_property_required { font-style: italic; } .asdf_ref { font-size: 1.5em; font-w...
div.schema_title { font-size: 1.5em; font-weight: bold; } div.property_description { font-side: 1em; } div.schema_property_name { font-size: 1.5em; font-weight: bold; } table { width: 30%; } td.schema_property_required { font-style: italic; } .asdf_ref { font-size: 1.5em; font-w...