Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Use checkerboard pattern for testing container background
#ember-testing-container { position: relative; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 98; border: 1px solid #ccc; margin: 0 auto; /* Prevent leaking position fixed elements outside the testing container */ transform: translateZ(0); } #embe...
#ember-testing-container { position: relative; background-color: #fff; background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee); background-position: 0 0, 10px 10px; backgro...
Update colors to hex codes
html { background: black; } #out { color: white; }
html { background: #323232; } #out { color: #ffffff; }
Set font-family of FontAwesome to Pro version
/* Remove radio buttons */ .starrating > input { display: none; } .starrating > label:before { content: "\f005"; /* Star */ margin: 2px; font-size: 2.5rem; font-family: 'Font Awesome 5 Free'; font-weight: 200; display: inline-block; } /* Set yellow color when star checked */ .starrating > ...
/* Remove radio buttons */ .starrating > input { display: none; } .starrating > label:before { content: "\f005"; /* Star */ margin: 2px; font-size: 2.5rem; font-family: 'Font Awesome 5 Pro'; font-weight: 200; display: inline-block; } /* Set yellow color when star checked */ .starrating > i...
Make sound disclaimer border visible in inverted section
.soundDisclaimer { text-align: center; border: 1px solid white; border-radius: 4px; cursor: pointer; font-size: inherit; } .soundDisclaimer:hover { background: rgba(255, 255, 255, 0.25); }
.soundDisclaimer { text-align: center; border: 1px solid currentColor; border-radius: 4px; cursor: pointer; font-size: inherit; } .soundDisclaimer:hover { background: rgba(255, 255, 255, 0.25); }
Make gradient work on all browsers
body { font: 13px sans-serif } #chart > svg { width: 800px; height: 300px; font-size: 9px; background-image: -webkit-linear-gradient(top, rgb(255,255,255) 0, rgb(242,241,211) 75%) } #chart > svg > rect { fill: #474739 } #ping { font-size: 60px }
body { font: 13px sans-serif; color: #474739 } #chart > svg { width: 800px; height: 300px; font-size: 9px; background-image: linear-gradient(#fff 0, #F2F1D3 100%); background-image: -webkit-linear-gradient(#fff 0, #F2F1D3 100%); background-image: -moz-linear-gradient(#fff 0, #F2F1D3 100%) } #chart > svg > ...
Change ionic material background to match with native theme
h1 { color: #fff; text-shadow: 0 1px 0px #000; font-size: 42px; } .list { overflow: auto; height: 100vh; } .item-avatar { padding-left: 75px; } .card { margin: 0px; display: block; } .card .item { min-height: auto !important; padding: 16px; } .item.card-item { padding-le...
h1 { color: #fff; text-shadow: 0 1px 0px #000; font-size: 42px; } .list { overflow: auto; height: 100vh; background-color: #ECEFF1; } .item-avatar { padding-left: 75px; } .card { margin: 0px; display: block; } .card .item { min-height: auto !important; padding: 16px; } ....
Add list to links div
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,700,100,300); body { background-color: #D06D35; font-family: 'Roboto Slab', serif; color: #fff; } #intro { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) } #name { position: absolute; left: 50%; top: 60%...
@import url(https://fonts.googleapis.com/css?family=Roboto+Slab:400,700,100,300); body { background-color: #D06D35; font-family: 'Roboto Slab', serif; color: #fff; } #intro { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) } #name { position: absolute; left: 50%; top: 60%...
Change color of circle packing layout so it's easier on the eyes.
/** * DataTables */ .dataTables_wrapper { max-width: 100%; margin: 0.8em; } /** * D3js */ /* Circle Packing */ .node circle { fill: rgb(31, 119, 180); fill-opacity: .25; stroke: rgb(31, 119, 180); stroke-width: 1px; } .node.leaf circle { fill: #ff7f0e; fill-opacity: 1; } .node ...
/** * DataTables */ .dataTables_wrapper { max-width: 100%; margin: 0.8em; } /** * D3js */ /* Circle Packing */ .node circle { fill: rgb(31, 119, 180); fill-opacity: .25; stroke: rgb(31, 119, 180); stroke-width: 1px; } .node.leaf circle { fill: #FDF59A; fill-opacity: 1; } .node te...
Add extra breakpoint to Showcase
.root { justify-content: center; padding: 1rem; } .title { color: #dd3a0a; font-size: 26px; font-weight: normal; line-height: 32px; text-align: center; } .items { align-items: center; display: flex; flex-wrap: wrap; justify-content: center; margin: 1.5rem auto 0; } .item { align-items: cent...
.root { justify-content: center; padding: 1rem; } .title { color: #dd3a0a; font-size: 26px; font-weight: normal; line-height: 32px; text-align: center; } .items { margin: 1.5rem auto 0; } .item { display: block; align-items: center; display: flex; justify-content: center; margin: 1rem; } ....
Fix icon animation for ff
html { position: relative; min-height: 100%; } /* Put your CSS here */ .ember-application { margin: 20px; } .glyphicon-refresh-animate { -animation: spin .7s infinite linear; -webkit-animation: spin2 .7s infinite linear; } @-webkit-keyframes spin2 { from { -webkit-transform: rotate(0deg);} to...
html { position: relative; min-height: 100%; } /* Put your CSS here */ .ember-application { margin: 20px; } .glyphicon-refresh-animate { -moz-animation: spin-moz .7s infinite linear; -webkit-animation: spin-webkit .7s infinite linear; animation: spin .7s infinite linear; } @-moz-keyframes spin-m...
Make font sizes adapt to smaller screen sizes
#logo { padding-left: 5%; } .message { font-family: myriad_appletext; } .font-big { font-size: 110%; } .font-large { font-size: 150%; } .font-larger { font-size: 6em; } html, body { overflow-x: hidden; } @font-face { font-family: 'myriad_appletext'; ...
#logo { padding-left: 5%; } .message { font-family: myriad_appletext; } .font-big { font-size: 110%; } .font-large { font-size: 150%; } .font-larger { font-size: 6em; } html, body { overflow-x: hidden; } @media only screen and (max-width: 647px) { .font-larg...
Fix CSS whoopsie with img size
html { background-color: #000000; color: #42f80a; } header { font-family: Orbitron; } h1 { font-family: Orbitron; color: #42f80a; } body { background-color: #000000; font-family: Monda; } a { color: #42f80a; } a:hover { font-weight: bold; text-decoration: none; color: #ffffff; } .alpha { /*position: fixed;*...
html { background-color: #000000; color: #42f80a; } header { font-family: Orbitron; } h1 { font-family: Orbitron; color: #42f80a; } body { background-color: #000000; font-family: Monda; } a { color: #42f80a; } a:hover { font-weight: bold; text-decoration: none; color: #ffffff; } .alpha { /*position: fixed;*...
Remove padding on the side
html, body, #root { height: 100%; } #app-container { height: 100%; } #content-container { padding: 1em 2em; text-align: center; }
html, body, #root { height: 100%; } #app-container { height: 100%; } #content-container { padding: 1em 0; text-align: center; }
Fix broken active state on password reset button
/* Sign in /* ---------------------------------------------------------- */ .gh-signin { position: relative; margin: 30px auto; padding: 40px; max-width: 400px; width: 100%; border: #dae1e3 1px solid; background: #f8fbfd; border-radius: 5px; text-align: left; } .gh-signin .form-gro...
/* Sign in /* ---------------------------------------------------------- */ .gh-signin { position: relative; margin: 30px auto; padding: 40px; max-width: 400px; width: 100%; border: #dae1e3 1px solid; background: #f8fbfd; border-radius: 5px; text-align: left; } .gh-signin .form-gro...
Update styling to make it blend in
body { display: none; margin: 2.4em; } h1 { text-align: center; font-size: 1.5em; color: #1da1f2; text-shadow: 0 0 9px rgb(0 0 0 / 30%); } input[type="text"] { width: 11em; height: 1.8em; } ul { padding-left: 0; list-style-type: none; } li { font-size: 1.1em; } li:before...
body { display: none; margin: 2.4em; background-color: #1c2938; } h1 { text-align: center; font-size: 1.5em; color: #1da1f2; } input[type="text"] { width: 11em; height: 1.8em; background-color: #10171e; border: none; color: #fff; } input:focus{ outline: #1a85c7; } ul ...
Adjust top margin on announcement.
body { line-height: 1.5; background: #fdfdfd; color: #222; } [data-icon]:before { font-family: 'Pictos Custom'; content: attr(data-icon); -webkit-font-smoothing: antialiased; } .ann { font-family: "jubilat", serif; font-weight: 400; font-size: 1.25em; line-height: 1.25; mar...
body { line-height: 1.5; background: #fdfdfd; color: #222; } [data-icon]:before { font-family: 'Pictos Custom'; content: attr(data-icon); -webkit-font-smoothing: antialiased; } .ann { font-family: "jubilat", serif; font-weight: 400; font-size: 1.25em; line-height: 1.25; mar...
Fix opacity and remove commented-out css
.konsole-container { position: fixed; z-index: 1000; bottom: 0.5em; box-shadow: 0 0 1em gray; filter: opacity(90%); -webkit-filter: opacity(90%); padding: 0.2em; border: 1px solid gray; /*border-radius: 0.4em;*/ background: whitesmoke; color: navy; font-size: 120%; } .konsole-control { margin...
.konsole-container { position: fixed; z-index: 1000; bottom: 0.5em; box-shadow: 0 0 1em gray; opacity: 0.9; padding: 0.2em; border: 1px solid gray; background: whitesmoke; color: navy; font-size: 120%; } .konsole-control { margin: 0; padding: 0 0.4em 0 0.4em; color: blue; } .konsole-control:...
Fix property order for Stylelint conformance
.u-posAbsolute { position: absolute !important; } /** * Pins to all corners by default. But when a width and/or height are * provided, the element will be centered in its nearest relatively-positioned * ancestor. */ .u-posAbsoluteCenter { bottom: 0 !important; left: 0 !important; margin: auto !important; ...
.u-posAbsolute { position: absolute !important; } /** * Pins to all corners by default. But when a width and/or height are * provided, the element will be centered in its nearest relatively-positioned * ancestor. */ .u-posAbsoluteCenter { bottom: 0 !important; left: 0 !important; margin: auto !important; ...
Remove image viewer toolbar-lookalike css.
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-ImageViewer { overflow: auto; } .jp-ImageViewer > ...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-ImageViewer { overflow: auto; } .jp-ImageViewer > ...
Fix navbar left position fixed
html { height: 100%; } body { margin: auto; min-height: 100%; } .navbarLeft{ width: 250px; height: 100%; background-color: #4285f4; position: absolute; top: 0; left: -250px; /*transform: translate(-250px, 0);*/ } .navbarLeft ul{ list-style-type: none; margin: 0; pa...
html { height: 100%; } body { margin: auto; min-height: 100%; } .navbarLeft{ width: 250px; height: 100%; background-color: #4285f4; position: fixed; top: 0; left: -250px; /*transform: translate(-250px, 0);*/ } .navbarLeft ul{ list-style-type: none; margin: 0; paddi...
Hide focus outline on tab panels
@import 'part:@sanity/base/theme/variables-style'; .root { outline: none; @nest &:focus { outline: 2px solid var(--focus-color); outline-offset: -2px; } }
@import 'part:@sanity/base/theme/variables-style'; .root { outline: none; /* TODO: find out if we should render some kind of focus indicator. */ /* @nest &:focus { outline: 2px solid var(--focus-color); outline-offset: -2px; } */ }
Fix typo in class name
.speciesIcon { background-image: url(./speciesSprite.png); margin: 1.25rem auto 0 auto; width: 82px; height: 91px; } @media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) { .speciesIcon { ...
.speciesIcon { background-image: url(./speciesSprite.png); margin: 1.25rem auto 0 auto; width: 82px; height: 91px; } @media (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) { .speciesIcon { ...
Add style for site branding
body { font-family: 'Inconsolata', monospace; font-size: 14px; } a { color: #337ab7; text-decoration: none; } a:hover { text-decoration: underline; } .layout-container { max-width: 600px; margin: 0 auto; } @media (max-width: 700px) { .layout-container { padding-left: 50px; padding-right: 50p...
body { font-family: 'Inconsolata', monospace; font-size: 14px; } a { color: #337ab7; text-decoration: none; } a:hover { text-decoration: underline; } .layout-container { max-width: 600px; margin: 0 auto; } @media (max-width: 700px) { .layout-container { padding-left: 50px; padding-right: 50p...
Remove iOS 11 workaround (hopefully no longer needed)
.container { background-color: var(--panel-bg-color); border-radius: var(--border-radius); margin: 10px 0; overflow: hidden; /* fixes panel disappearing in iOS 11 due to overflow: scroll on parent container and -webkit-overflow-scrolling: touch on parent */ -webkit-transform: translate3d(0, 0, 0); } .ti...
.container { background-color: var(--panel-bg-color); border-radius: var(--border-radius); margin: 10px 0; overflow: hidden; } .title { margin: 0; font: var(--panel-title-font); padding: var(--panel-title-padding); background-color: var(--panel-title-bg-color); } .content { padding: var(--container-...
Add position to background in pc
#contenant { font-family: Roboto Slab; padding: 0; margin: 0; color: white; position: center; background: url('../img/lion-image_01582298_22.jpg'); background-repeat: no-repeat; background-size: cover; background-position: center; height: 120vh; }
Add style changes for input form
fieldset{ border: none; } fieldset#server_form, #user{ display: none; } .glyph_table { border-collapse: collapse; line-height: 4px; } #glyph_div { border:1px solid #333; background:#daffff; padding:1px 1px; color:#333; font:14px Helvetica; width:34px; } label { display:inline; position:re...
fieldset{ border: none; } fieldset#server_form, #user{ display: none; } #register_email { margin-bottom: 0.5em; } .glyph_table { border-collapse: collapse; line-height: 4px; } #glyph_div { border:1px solid #333; background:#daffff; padding:1px 1px; color:#333; font:14px Helvetica; width:34px...
Move background color and border to `.label` element
.row { background-color: #fff; display: block; position: relative; border: 1px solid #d5d3cb; } .label { padding: 20px 30px; width: 100%; display: block; text-align: left; font-weight: bold; cursor: pointer; position: relative; z-index: 2; transition: color 200ms eas...
.row { display: block; } .label { background-color: #fff; border: 1px solid #d5d3cb; padding: 20px 30px; width: 100%; display: block; text-align: left; font-weight: bold; cursor: pointer; position: relative; z-index: 2; transition: color 200ms ease-in; overflow: hidd...
Revert "Background colour for debugging."
body { font-family: Arial; font-size: 10pt;} .pageHeader { font-family: Arial; font-size: 16pt; font-weight: bold; } .pageFooter { font-size: 8pt; } .selectAllOrNonePlaceholder { display: block; width: 24px; height: 24px; background-color: #ff0000; }
body { font-family: Arial; font-size: 10pt;} .pageHeader { font-family: Arial; font-size: 16pt; font-weight: bold; } .pageFooter { font-size: 8pt; } .selectAllOrNonePlaceholder { display: block; width: 24px; height: 24px; }
Add padding to preview buttons
.preview-box { & .buttons { @mixin flex-row-center; margin-bottom: 0.5rem; } & .preview-box__container { @mixin flex-row-center; background-color: $color-back-frames; padding: 0.8em 0 0.8em 0; margin: 0.8em 0; align-items: center; } .play { @mixin button gray; @mixin icon...
.preview-box { & .buttons { @mixin flex-row-center; margin-bottom: 0.5rem; div { padding-left: 0.2em; } } & .preview-box__container { @mixin flex-row-center; background-color: $color-back-frames; padding: 0.8em 0 0.8em 0; margin: 0.8em 0; align-items: center; } .pla...
Make default be a darker theme
/* Artfully masterminded by ZURB */ /* -------------------------------------------------- Table of Contents ----------------------------------------------------- :: Shared Styles :: Page Name 1 :: Page Name 2 */ /* ----------------------------------------- Shared Styles --------------------------------------...
/* Artfully masterminded by ZURB */ /* -------------------------------------------------- Table of Contents ----------------------------------------------------- :: Shared Styles :: Page Name 1 :: Page Name 2 */ /* ----------------------------------------- Shared Styles --------------------------------------...
Fix a bug with core-input sizes
/* add simple classes to buttons for green and grey */ body /deep/ paper-button { background: #009688; /* teal 500 */ color: white; } body /deep/ paper-button[disabled] { background: #4DB6AC; /* teal 300 */ color: white; } body /deep/ paper-button.grey { background: #DDDDDD; color: #707070; } /* all pa...
/* add simple classes to buttons for green and grey */ body /deep/ paper-button { background: #009688; /* teal 500 */ color: white; } body /deep/ paper-button[disabled] { background: #4DB6AC; /* teal 300 */ color: white; } body /deep/ paper-button.grey { background: #DDDDDD; color: #707070; } /* all pa...
Add default center alignment and allow word wrap in file tree
body { min-height: 100px; padding-top: 70px; } .footer { width: 100%; height: 60px; background-color: #f5f5f5; } .footer > .container { height: 60px; padding-top: 20px; padding-right: 15px; padding-left: 15px; } .warning { color: darkRed; }
body { min-height: 100px; padding-top: 70px; } .footer { width: 100%; height: 60px; background-color: #f5f5f5; } .footer > .container { height: 60px; padding-top: 20px; padding-right: 15px; padding-left: 15px; } .warning { color: darkRed; } .center { text-align: center; } #q-doc-...
Change BG, add rounded corners
html { font-size: 1em; font-family: Helvetica; background-image: url('small_steps.png'); } .appContainer { position: relative; left: 25%; background-color: white; max-width: 500px; height: 95vh; text-align: left; padding: 10px; } .appContainer h1 { text-align: center; } .appContainer ul { l...
html { font-size: 1em; font-family: Helvetica; background-image: url('escheresque_ste.png'); } .appContainer { position: relative; left: 25%; background-color: white; max-width: 500px; height: 95vh; text-align: left; padding: 10px; border-radius: 6px; } .appContainer h1 { color: black; t...
Remove box-shadow from input area. Unsuccessfully attempt to keep vim bar from being hidden by Quick Open.
#vimderbar { padding: 1px; padding-left: 0.7em; background: #000; color: #fff; } #confirm { color: #d62d47; } #command { color: #fff; border: none; background: transparent; padding: 0; margin: 0; display: none; } #command:focus { border: none !important; /* doesn't w...
#vimderbar { padding: 1px; padding-left: 0.7em; background: #000; color: #fff; display: block; width: 100%; overflow: hidden; } #confirm { color: #d62d47; } #command { color: #fff; border: none; background: transparent; padding: 0; margin: 0; margin-top: -3px; ...
Use less of an eye-bleed color and better positioning for historical message
@import 'perl.css'; /* We can't include the rules below inside perl.css, because it's used by other sites, and we can't specify more than one stylesheet to the podhtml.pl program. So... import */ html { padding-top: 100px; } html:before { content: "Note: these documents may be out of date. For Perl 6 docum...
@import 'perl.css'; /* We can't include the rules below inside perl.css, because it's used by other sites, and we can't specify more than one stylesheet to the podhtml.pl program. So... import */ html { padding-top: 100px; } html:before { content: "Note: these documents may be out of date. For Perl 6 docum...
Change input color when in night mode
body { background-color: white; color: #212121; padding: 1rem 2rem; } body.night { background-color: #181818; color: white; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; -moz-appearance: none; appearance: none...
body { background-color: white; color: #212121; padding: 1rem 2rem; } body.night { background-color: #181818; color: white; } body.night input { color: black; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; -moz-...
Update userchrome for better tab behavior
/* hides the native tabs */ #TabsToolbar { visibility: collapse; } #sidebar-header { visibility: collapse !important; }
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar > .toolbar-items { opacity: 0; pointer-events: none; } #main-window:not([tabsintitlebar="true"]) #TabsToolbar { visibility: collapse !important; }
Make drop-shadow for support pages be browser-specific
#supportcontent { margin:5em auto; width:600px; padding:30px 50px 60px 50px; color:#444; background:white; box-shadow:rgba(0,0,0,0.5) 0 0 25px; }
#supportcontent { margin:5em auto; width:600px; padding:30px 50px 60px 50px; color:#444; background:white; -vendor-box-shadow:rgba(0,0,0,0.5) 0 0 25px; }
Add styling to the Widget
@import '@teamleader/ui-colors'; .widget { background-color: var(--color-neutral-lightest); box-shadow: 0 0 0 1px var(--color-neutral); border-radius: 4px; > *:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; } > *:last-child { border-bottom-left-radius: 4px; borde...
Add code comment explaining why the CSS transform is there
#ember-testing-container { position: relative; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 98; border: 1px solid #ccc; margin: 0 auto; transform: translateZ(0); } #ember-testing-container.full-screen { width: 100%; height: 100%; overflow: au...
#ember-testing-container { position: relative; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 98; border: 1px solid #ccc; margin: 0 auto; /* Prevent leaking position fixed elements outside the testing container */ transform: translateZ(0); } #embe...
Move selector to its own line
.post .content-subhead, .post h3 { margin-bottom: 0; } .post-meta { color: #999; font-size: 90%; } .post-list li { margin: 1em 0; }
.post .content-subhead, .post h3 { margin-bottom: 0; } .post-meta { color: #999; font-size: 90%; } .post-list li { margin: 1em 0; }
Change column header font size
.wrap { width: 100%; & header { position: relative;; display: flex; justify-content: center; align-items: center; height: 50px; z-index: 200; text-align: center; color: #e1e8ed; background: #292f33; width: 100%; & a { cursor: pointer; } } } .base { position: absolute; top: 0; bottom:...
.wrap { width: 100%; & header { position: relative;; display: flex; justify-content: center; align-items: center; height: 50px; z-index: 200; text-align: center; color: #e1e8ed; background: #292f33; width: 100%; & a { cursor: pointer; } } } .base { position: absolute; top: 0; bottom:...
Add support for bigger resolutions
.CodeMirror { height: 564px; } .code-mirrors-container div.form-control { height: 580px; } .code-mirrors-container { margin-top: 11px; } .alert { margin-top: 4px; margin-bottom: 0; font-family: monospace; font-size: 15px; white-space: pre; overflow: hidden; } select.form-control...
.CodeMirror { height: 564px; } .code-mirrors-container div.form-control { height: 580px; } .code-mirrors-container { margin-top: 11px; } .alert { margin-top: 4px; margin-bottom: 0; font-family: monospace; font-size: 15px; white-space: pre; overflow: hidden; } select.form-control...
Disable CSS animations and transitions
notification[value="plugin-hidden"] { display: none !important; }
notification[value="plugin-hidden"] { display: none !important; } * { -moz-animation: none !important; animation: none !important; -moz-transition: none !important; transition: none !important; }
Increase the line spacing with a paragraph
hr { page-break-after: always; } h2 { text-align: center; }
p { line-height: 130% } hr { page-break-after: always; } h2 { text-align: center; }
Change block positioning blog index
#second_from_top { display: block; position: relative; top: 790px; left: 100px; } #third_from_top { display: block; position: relative; top: 800px; left: 100px; } #fourth_from_top { display: block; position: relative; top: 900px; left: 100px; } #fifth_from_top { display: block; position: relative; top: 1200px; le...
#second_from_top { display: block; position: relative; top: 790px; left: 100px; } #third_from_top { display: block; position: relative; top: 800px; left: 100px; } #fourth_from_top { display: block; position: relative; top: 810px; left: 100px; } #fifth_from_top { display: block; position: relative; top: 820px; left...
Add some marking between the divs.
html { height: 100%; max-height: 100%; font-size: 25px; } body { /* to cover entire space, always */ margin: 0; min-height: 100%; /* grid setup */ display: grid; grid-template: auto / 1fr [content]minmax(600px,3fr) 1fr; grid-row-gap: 15px; align-content: space-between; /* colors, text, extra */...
html { height: 100%; max-height: 100%; font-size: 25px; } body { /* to cover entire space, always */ margin: 0; min-height: 100%; /* grid setup */ display: grid; grid-template: auto / 1fr [content]minmax(600px,3fr) 1fr; grid-row-gap: 15px; align-content: space-between; /* colors, text, extra */...
Set both panes to half width
div.page { display: table; clear: both; } div.mainpane { float: left; width: 25%; } div.subpane { float: right; width: 75%; }
div.page { display: table; clear: both; } div.mainpane { float: left; width: 50%; } div.subpane { float: right; width: 50%; }
Fix line-height in data ref paragraphs
:root { --title-color: #606E7B; --subtitle-color: #AAB7C3; --muted-color: #DEEAF1; --blue-color: #2D86D4; --icon-width: calc(48px + 1rem); } :local(.detail) { composes: flex align-center from "style"; composes: relative from "style"; margin-left: var(--icon-width); } :local(.detailBody...
:root { --title-color: #606E7B; --subtitle-color: #AAB7C3; --muted-color: #DEEAF1; --blue-color: #2D86D4; --icon-width: calc(48px + 1rem); } :local(.detail) { composes: flex align-center from "style"; composes: relative from "style"; margin-left: var(--icon-width); } :local(.detailBody...
Update hotlink url to eLife css
/* Ideally use import as below, but currently encounters build issues, */ /* and inability to install as NPM package due to missing package version number. */ /* @import 'eLife-pattern-library/assets/sass/build.scss'; */ /* due to the above issues we import and inline the built CSS file from the web */ @import 'https:/...
/* Ideally use import as below, but currently encounters build issues, */ /* and inability to install as NPM package due to missing package version number. */ /* @import 'eLife-pattern-library/assets/sass/build.scss'; */ /* due to the above issues we import and inline the built CSS file from the web */ @import 'https:/...
Change header font to Proxima Nova
html { font-family: "source-sans-pro", "Helvetica Neue", Helvetica, Arial, sans-serif; } @media (min-width: 38em) { html { font-size: 19px; } } h1, h2, h3, h4, h5, h6 { font-weight: 500; } code, pre { font-family: "source-code-pro", Menlo, Monaco, "Courier New", monospace; } code { font-size: 0.8rem;...
html { font-family: "source-sans-pro", "Helvetica Neue", Helvetica, Arial, sans-serif; } @media (min-width: 38em) { html { font-size: 19px; } } h1, h2, h3, h4, h5, h6 { font-weight: 500; font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; } code, pre { font-family: "source-cod...
Update login / register / forgot images
/* Add your application specific styles here */
/* Add your application specific styles here */ .bg-login-image { background-image: url('https://source.unsplash.com/4rDCa5hBlCs/600x800'); } .bg-password-image { background-image: url('https://source.unsplash.com/4rDCa5hBlCs/600x800'); } .bg-register-image { background-image: url('https://source.unsplash.com/4rD...
Add more spacing last p
/* Reset some styling */ .related { border-top: none; } .post { margin-bottom: 3em; } /* Follow on twitter button */ .like-on-twitter { text-align: center; } .like-on-twitter p { margin: 0; } .like-on-twitter p a { color: white !important; text-decoration: none; } .like-on-twitter p a:hover { border-...
/* Reset some styling */ .related { border-top: none; } .post { margin-bottom: 3em; } /* Follow on twitter button */ .like-on-twitter { text-align: center; } .like-on-twitter p { margin: 0; } .like-on-twitter p a { color: white !important; text-decoration: none; } .like-on-twitter p a:hover { border-...
Fix termite padding to support changing color schemes
/* New Start: A modern Arch workflow built with an emphasis on functionality. * Copyright (C) 2017-2018 Donovan Glover */ .termite { /* Same as URxvt.internalBorder */ padding: 30px; }
/* New Start: A modern Arch workflow built with an emphasis on functionality. * Copyright (C) 2017-2018 Donovan Glover */ VteTerminal, vte-terminal { /* Same as URxvt.internalBorder */ padding: 30px; }
Add some color to our HTML
html { --main-bg: papayawhip; --main-text: chocolate; } body { font: 400 18px/1.5 Helvetica,Arial,sans-serif; font-feature-settings: "kern" 1; font-kerning: normal; background-color: var(--main-bg); color: var(--main-text); }
Move node overlay on bottom right corner
input[type=text].readonly{ border: 1px solid rgba(0, 0, 0, 0.05) !important; background-color: rgba(0, 0, 0, 0.070); } #id_receive_url{ width: 435px } .djnjg-overlay { display: none; position: fixed; left: 0; top: 0; z-index: 11; width: 100%; height: 100%; background: rgba(...
input[type=text].readonly{ border: 1px solid rgba(0, 0, 0, 0.05) !important; background-color: rgba(0, 0, 0, 0.070); } #id_receive_url{ width: 435px } .djnjg-overlay { display: none; position: fixed; left: 0; top: 0; z-index: 11; width: 100%; height: 100%; background: rgba(...
Use pixel instead of em/rem
/* JMA tweak */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("www.jma.go.jp") { /* Common */ #main, table.forecast { width: 50rem !important; } #others td:first-of-type { float: left !important; white-space: nowrap !important; } #yjsearch { display: none !important; } #header_link {...
/* JMA tweak */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("www.jma.go.jp") { /* Common */ #main, table.forecast { width: 850px !important; } #others td:first-of-type { float: left !important; white-space: nowrap !important; } #yjsearch { display: none !important; } #header_link {...
Add formatting to header and center form fields
body { background: lightblue; }
h1 { position: fixed; top: 0px; right: 0px; text-align: center; width: 100%; background-color: white; opacity: 1.0; border-bottom: 2px solid grey; padding: 10px; } .event-home { position: fixed; top: 0px; margin-left: 0; padding: 19px; z-index: 1; border-left: 3px solid grey; border-righ...
Revert "Remove social stream's stylesheets"
/* * This is a manifest file that'll automatically include all the stylesheets available in this directory * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at * the top of the compiled file, but it's generally better to create a new file per style scope. *= requi...
/* * This is a manifest file that'll automatically include all the stylesheets available in this directory * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at * the top of the compiled file, but it's generally better to create a new file per style scope. *= requi...
Fix title glitch for portrait layout
/*^ =========================================================================== Solvenius =========================================================================== Copyright (C) 2001-2017 Gianluca Costa =========================================================================== Licensed under the Apache L...
/*^ =========================================================================== Solvenius =========================================================================== Copyright (C) 2001-2017 Gianluca Costa =========================================================================== Licensed under the Apache L...
Fix the issue that the bookmark bar is hidden when customizing mode
/* [XUL] Hide the bookmark bar automatically */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #PersonalToolbar { visibility: collapse !important; } #nav-bar:hover ~ #PersonalToolbar, #PersonalToolbar:hover { visibility: visible !important; }
/* [XUL] Hide the bookmark bar automatically */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #main-window:not([customizing="true"]) #PersonalToolbar { visibility: collapse !important; } #main-window:not([customizing="true"]) #nav-bar:hover ~ #PersonalToolbar, #main-window:not([custo...
Fix padding issue with sidebar.
/*Navbar*/ .title-bar { background: #333; padding: 0.9rem; } .top-bar { background: #a93232;} .top-bar ul { background: #a93232; } .top-bar ul li { background: #a93232; } .top-bar ul li a { color: #fff; } .menu-text { color: #fff; } /*Sticky Sidebar*/ .sticky { position: r...
/*Navbar*/ .title-bar { background: #333; padding: 0.9rem; } .top-bar { background: #a93232;} .top-bar ul { background: #a93232; } .top-bar ul li { background: #a93232; } .top-bar ul li a { color: #fff; } .menu-text { color: #fff; } /*Sticky Sidebar*/ .sticky { position: r...
Remove border from image -- displaying on Firefox
.tbdotd { margin: 0; padding: 0; overflow: hidden; font-family: sans-serif; color: #C3974E; background: #000 url(bk_rightbox.jpg); } .tbdotd #main { position: relative; left: 0; top: 0; width: 240px; font-size: 12px; } .tbdotd #apress { } .tbdotd #oreilly { } .tbdotd #manning { } .tbdotd #cre...
.tbdotd { margin: 0; padding: 0; overflow: hidden; font-family: sans-serif; color: #C3974E; background: #000 url(bk_rightbox.jpg); } .tbdotd #main { position: relative; left: 0; top: 0; width: 240px; font-size: 12px; } .tbdotd #apress { } .tbdotd #oreilly { } .tbdotd #manning { } .tbdotd #cre...
Revert change to CSS file
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative p...
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative p...
Modify blog images to be only 100% width.
body { font-family: monospace; font-size: 100%; background-color: white; color: #111; width: 80%; min-width: 400px; min-height: 200px; padding: 1em; margin: 5% 10%; border: thin solid gray; border-radius: 5px; display: block; } a:link { color: blue; text-decoration: none; } a:hover { ...
body { font-family: monospace; font-size: 100%; background-color: white; color: #111; width: 80%; min-width: 400px; min-height: 200px; padding: 1em; margin: 5% 10%; border: thin solid gray; border-radius: 5px; display: block; } a:link { color: blue; text-decoration: none; } a:hover { ...
Add style for monospace font
.add-margin-small { margin-top: 10px; } .add-margin-medium { margin-top: 15px; } .add-margin-large { margin-top: 30px; }
.add-margin-small { margin-top: 10px; } .add-margin-medium { margin-top: 15px; } .add-margin-large { margin-top: 30px; } .monospace-font { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; }
Remove unneeded css for speech form date fields
.fileinput-button span, .fileinput-button i { display: none; } .js .fileinput-button span, .js .fileinput-button i { display: inline-block; } .progress, .progress-result { margin-left: 180px; } .progress { display: none; margin-top: 1em; } .fileinput-button { position: relative; overflow:...
.fileinput-button span, .fileinput-button i { display: none; } .js .fileinput-button span, .js .fileinput-button i { display: inline-block; } .progress, .progress-result { margin-left: 180px; } .progress { display: none; margin-top: 1em; } .fileinput-button { position: relative; overflow:...
Revise element rule to hide
/* 2ch.net tweak */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("2ch.net"), domain("bbspink.com"), domain("2ch.sc") { form[method="POST"], hr, iframe, div[style^="float"] { display: none !important; } h1 { font: bold large/1.8 "Migmix 2P", sans-serif !important; clear: both !important; } dt a[...
/* 2ch.net tweak */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("2ch.net"), domain("bbspink.com"), domain("2ch.sc") { form, hr, iframe { display: none !important; } h1 { font: bold large/1.8 "Migmix 2P", sans-serif !important; clear: both !important; } dt a[href^="mailto:"]:after { content: " ...
Use custom media to avoid "hard coded" breakpoint values
body { font-family: var(--font-sans); line-height: 1.5; text-rendering: optimizeLegibility; background: #f9f9f9; } u { border-bottom: 3px solid var(--color-yellow); text-decoration: none; padding-bottom: 1px; } .main-content { margin-top: -70px; } .cards { padding: 5px 20px; @media (min-width: 6...
body { font-family: var(--font-sans); line-height: 1.5; text-rendering: optimizeLegibility; background: #f9f9f9; } u { border-bottom: 3px solid var(--color-yellow); text-decoration: none; padding-bottom: 1px; } .main-content { margin-top: -70px; } .cards { padding: 5px 20px; @media (--medium-up)...
Use text-align to center the canvas.
html, body { touch-action: none; padding: 0; margin: 0; overflow: hidden; width: 100%; height: 100%; } body { display: flex; align-items: center; justify-content: center; background-color: #181818; } canvas { background-color: #86C1B9; } #assets { display: none; }
html, body { touch-action: none; padding: 0; margin: 0; overflow: hidden; width: 100%; height: 100%; } body { text-align: center; background-color: #181818; } canvas { background-color: #86C1B9; } #assets { display: none; }
Move Manage button to right to align with image
/* Custom style rules for ckanext-showcase */ .context-info .module-content .smallest { font-size: 13px; } .context-info .module-content .info .btn { margin-top: 18px; } .actions { top: 36px; } .ckanext-showcase-image { margin-bottom: 25px; } .ckanext-showcase-notes { margin-bottom: 25px; } .c...
/* Custom style rules for ckanext-showcase */ .context-info .module-content .smallest { font-size: 13px; } .context-info .module-content .info .btn { margin-top: 18px; } .actions { top: 36px; right: 25px; } .ckanext-showcase-image { margin-bottom: 25px; } .ckanext-showcase-notes { margin-bo...
Add red color to error messages
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path...
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path...
Add a little padding to top of container div
div#version { position: absolute; color: white; top: .5rem; right: 1rem; z-index: 10000; } div.container { width: 100%; } input[type=range] { width: 100%; background: transparent; }
div#version { position: absolute; color: white; top: .5rem; right: 1rem; z-index: 10000; } div.container { width: 100%; padding-top: 0.5rem; } input[type=range] { width: 100%; background: transparent; }
Fix math underlines in Table of Contents
.katex-error { color: #cc0000; border: #cc0000 thin solid; } /* a:hover .katex .base, a:focus .katex .base { text-decoration: underline; } */ .message a:hover .katex-html, a:focus .katex-html { border-bottom: solid .07em; margin-bottom: -.07em; }
.katex-error { color: #cc0000; border: #cc0000 thin solid; } /* a:hover .katex .base, a:focus .katex .base { text-decoration: underline; } */ .message a:hover .katex-html, .message a:focus .katex-html { border-bottom: solid .07em; margin-bottom: -.07em; }
Add css for showing saving result messages
.container { width: 960px; margin: 0 auto; padding: 0; position: relative; } body { background: #073642; color: #839496; } h1 { font: 30px/118% normal Verdana, Tahoma, sans-serif; } .content-table { border-collapse: collapse; border: 1px red solid; } .content-table td { bor...
.container { width: 960px; margin: 0 auto; padding: 0; position: relative; } body { background: #073642; color: #839496; } h1 { font: 30px/118% normal Verdana, Tahoma, sans-serif; color: #b58900; } .content-table { border-collapse: collapse; border: 1px red solid; } .conten...
Set length distribution and kablammo to 150px.
svg text { font-family: "Source sans pro","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 10px; } .axis path, .axis line { fill: none; stroke: black; shape-rendering: crispEdges; } .graph-links { float: right; margin: 5px 5px; } .grapher { border: 1px solid #ddd; border-radius: 12px; marg...
svg text { font-family: "Source sans pro","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 10px; } .axis path, .axis line { fill: none; stroke: black; shape-rendering: crispEdges; } .graph-links { float: right; margin: 5px 5px; } .grapher { border: 1px solid #ddd; border-radius: 12px; marg...
Add start of theming file for calibre ereader
body { font-size: 90%; color: #c0c0c0; background-color: #181818; font-family: "Palatino", "Times New Roman", Caecilia, serif; }
Move image next to the text
header { color: #fff; background-color: rgb(25,25,25); z-index: 0; position: relative; overflow: hidden; } .head-shot{ margin-top: -75px; } .head-text #headshot { width: 150px; height: 150px; border-radius: 150px; } .header-text { display: inline-block; color: red; margin-left: 100px; }
#header { color: #fff; } .head-shot{ margin-top: -75px; } .head-text #headshot { width: 150px; height: 150px; border-radius: 150px; } .header-text { display: inline-block; color: red; margin-left: 100px; }
Make project info easier to read
body { padding-bottom: 300px; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; } p { font-family: Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif; } .panel-default { border-color: #468; } .panel-default > .panel-heading { color: #fff; background-color: #357; border-color...
body { padding-bottom: 300px; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; } p { font-family: Ubuntu, "Helvetica Neue", Helvetica, Arial, sans-serif; } .panel-default { border-color: #468; } .panel-default > .panel-heading { color: #fff; background-color: #357; border-color...
Add Notes comment to Pseudo upload button styling
/** * Pseudo upload button styling * N1. Support: Chrome 48+ * Details: Border is still present at certain screen sizes with a width of 0, a border of 0, a transparent background and positioned to the left of 0 * Fix: Setting left to -1px fixes the issue. * N2. Style pseudo upload as needed, should be a spa...
/** * Pseudo upload button styling * * Notes: * N1. Support: Chrome 48+ * Details: Border is still present at certain screen sizes with a width of 0, a border of 0, a transparent background and positioned to the left of 0 * Fix: Setting left to -1px fixes the issue. * N2. Style pseudo upload as needed, sh...
Use css :target to highlight selected line
.hljs { background: none; padding: 0; } /* https://jsfiddle.net/tovic/AbpRD/ */ pre { background-color: #eee; overflow: auto; margin: 0 0 1em; padding: .5em 1em; white-space: nowrap; } pre code { white-space: pre; overflow: auto; } pre code, pre .line-number { font-family: "Droid Sans Mono", Mo...
.hljs { background: none; padding: 0; } /* https://jsfiddle.net/tovic/AbpRD/ */ pre { background-color: #eee; overflow: auto; margin: 0 0 1em; padding: .5em 1em; white-space: nowrap; } pre code { white-space: pre; overflow: auto; } pre code, pre .line-number { font-family: "Droid Sans Mono", Mo...
Decrease z-index to show context menu and tooltips
#files_rootjs_container #simpleGUI { position: relative; display: block; top: 0; left: 0; z-index: 20; height: 100%; width: 100%; } #files_rootjs_container{ position: absolute; display: block; top: 0; left: 0; padding-top: 44px; height: 100%; width: 100%; -moz-box-sizing: border-box; box-sizing: border...
#files_rootjs_container #simpleGUI { position: relative; display: block; top: 0; left: 0; z-index: 0; height: 100%; width: 100%; } #files_rootjs_container{ position: absolute; display: block; top: 0; left: 0; padding-top: 44px; height: 100%; width: 100%; -moz-box-sizing: border-box; box-sizing: border-...
Change color to black on documentation navigation helper when item is active.
a.exp-active::before { content: '>'; margin-right: 4px; }
a.exp-active::before { content: '>'; margin-right: 4px; } .uk-nav-default .uk-nav-sub a.exp-active, .uk-nav-default>li>a.exp-active { color: #000; }
Add margin after each story
body { font-family: 'Inconsolata', monospace; font-size: 14px; } a { color: #337ab7; text-decoration: none; } a:hover { text-decoration: underline; } .layout-container { max-width: 600px; margin: 0 auto; } @media (max-width: 700px) { .layout-container { padding-left: 50px; padding-right: 50p...
body { font-family: 'Inconsolata', monospace; font-size: 14px; } a { color: #337ab7; text-decoration: none; } a:hover { text-decoration: underline; } article[role="article"] { margin-bottom: 50px; } .layout-container { max-width: 600px; margin: 0 auto; } @media (max-width: 700px) { .layout-contai...
Fix a bug where there's a blank line at the bottom
@import 'previews.css'; @import 'single-post.css'; .blog { background: var(--blog-background); min-height: 100vh; width: 100vw; padding: 0; margin: 0; color: var(--blog-text); }
@import 'previews.css'; @import 'single-post.css'; .blog { background: var(--blog-background); height: 100vh; width: 100vw; padding: 0; margin: 0; color: var(--blog-text); }
Make sure bootstrap is first
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path...
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path...
Drop an IE6 style copied from very old code.
#image_display { position: relative; z-index: 99; /* IE6 needs this */ float: right; width: 150px; margin: 0 0 20px 2em; clear: after; border: none; }
#image_display { position: relative; float: right; width: 150px; margin: 0 0 20px 2em; clear: after; border: none; }
Remove box that had unintended consequences
body { background-color: #465c7d; } #coverphoto { margin-left: 5%; } nav { margin-right: 30%; margin-top: 25%; float: right; height: 6em; background-color: #000080; border-radius: 5px; border: 1px solid white; } a { color: white; } a:hover { text-decoration: none; color: orange; } h1 { text-align: center; ...
body { background-color: #465c7d; } #coverphoto { margin-left: 5%; } nav { margin-right: 15%; margin-top: 25%; float: right; } a { color: white; } a:hover { text-decoration: none; color: orange; } h1 { text-align: center; font-family: 'Roboto Condensed', sans-serif; color: white; }
Fix css glitch on dimmers in Safari
.slider, .bar, .dimmerContainer, .dimmerProgress, .dimmerProgressContent { position: absolute; width: 100%; height: 100%; overflow: hidden; transition: transform .3s ease-out; } .slider { opacity: 0; } .bar, .dimmerProgress { margin-left: -100%; } .bar { box-sizing: border-box; border-right: 5px so...
.slider, .bar, .dimmerContainer, .dimmerProgress, .dimmerProgressContent { position: absolute; top: 0; left: 0; margin: 0; width: 100%; height: 100%; overflow: hidden; transition: transform .3s ease-out; } .slider { opacity: 0; } .bar, .dimmerProgress { margin-left: -100%; } .bar { box-sizing: ...
Fix styles error failing CI
@import url('/fonts/Inter/inter.css'); * { box-sizing: border-box; font-family: Inter, sans-serif; } html, body { margin: 0; } .root { font-size: 18px; font-weight: 200; display: flex; flex-direction: row; } .route { margin: 20px 20px 0; flex-grow: 1; } .routeTitle { font-si...
@import url('/fonts/Inter/inter.css'); * { box-sizing: border-box; font-family: 'Inter', sans-serif; } html, body { margin: 0; } .root { font-size: 18px; font-weight: 200; display: flex; flex-direction: row; } .route { margin: 20px 20px 0; flex-grow: 1; } .routeTitle { font-...
Add some styling when page is tablet or desktop
.header { display: flex; flex-wrap: wrap; justify-content: center; } .title { flex-basis: 100vw; text-align: center; } .contact-button { flex-basis: 100vw; text-align: center; } .main { display: flex; flex-direction: column; }
.header { display: flex; flex-wrap: wrap; justify-content: center; } .title { flex-basis: 100vw; text-align: center; } .contact-button { flex-basis: 100vw; text-align: center; } .main { display: flex; flex-direction: column; } @media only screen and (min-width: 425px) { .titl...
Make sure the footer isn't right up against the content
/* Icons need to be icon-sized */ img.icon { display: inline; height: 1em; } /* We need this to make the footer go all the way down */ html { position: relative; min-height: 100%; } /* The footer should look footy */ .footer { box-shadow: 0 -1px 2px rgba(0,0,0,0.3); -webkit-box-shadow: 0 -1px ...
/* Icons need to be icon-sized */ img.icon { display: inline; height: 1em; } /* We need this to make the footer go all the way down */ html { position: relative; min-height: 100%; } body { margin-bottom: 60px; } /* The footer should look footy */ .footer { box-shadow: 0 -1px 2px rgba(0,0,0,0....
Implement error page for customers(Style file)
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ * { line-height: 1.2; margin: 0; } html { color: #8...
Change cell dimensions to percentage of board container, transparent white background, and 0.25% margin
body { height: 100vh; width: 100vw; background-image: url("../img/space.jpg"); background-size: cover; color: #fff; font-family: sans-serif; } #board { height: 400px; width: 800px; background-color: #3399ff; padding: 5px; } .cell { height: 94px; width: 191px; background-color: #ffcc33; disp...
body { height: 100vh; width: 100vw; background-image: url("../img/space.jpg"); background-size: cover; color: #fff; font-family: sans-serif; } #board { height: 400px; width: 800px; background-color: #3399ff; padding: 5px; } .cell { min-height: 25%; min-width: 20%; background-color: rgba(255,2...
Add a bootstrap override file - for CSS that will extend the global bootstrap settings
/*******************************/ /* Bootstrap overrides */ /*******************************/ textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, ...
Fix track image delete checkbox label
.audiotracks-list { padding: 0; } .audiotracks-list li { list-style: none; } .audiotracks-detail img { float: right; margin-left: 20px; } .audiotracks-description { margin: 1em 1em 2em 0; } .audiotracks-download a { font-size: x-large; background: #00B000; color: #F4C021; padding...
.audiotracks-list { padding: 0; } .audiotracks-list li { list-style: none; } .audiotracks-detail img { float: right; margin-left: 20px; } .audiotracks-description { margin: 1em 1em 2em 0; } .audiotracks-download a { font-size: x-large; background: #00B000; color: #F4C021; padding...
Remove margin between post meta and article
.header { font-family: "Raleway", Helvetica, Arial, sans-serif } a { color: #3b8bba; text-decoration: none; } a:hover, a:focus { text-decoration: underline; } a:visited { color: #265778; } .small-print { font-size: 0.8em; margin: 0.6em; } .post-meta { margin: 1em 0; font-size: 90%; } article > foo...
.header { font-family: "Raleway", Helvetica, Arial, sans-serif } a { color: #3b8bba; text-decoration: none; } a:hover, a:focus { text-decoration: underline; } a:visited { color: #265778; } .small-print { font-size: 0.8em; margin: 0.6em; } .post-meta { font-size: 90%; } article > footer { text-alig...
Change option colour to black
.demo-navigation { padding-left: 20px; padding-right: 20px; } .legend{ width: 280px; height: 580px; } .filter{ padding-top: 10px; padding-left: 0px; font-size: 20px color: #ffffff; width: 100px; } .main{ width: 220px; height: 40px; position: absolute; left: 55%; margin-left: -155px; } .questions1{ ...
.demo-navigation { padding-left: 20px; padding-right: 20px; } .legend{ width: 280px; height: 580px; } .filter{ padding-top: 10px; padding-left: 0px; font-size: 20px color: #ffffff; width: 100px; } .main{ width: 220px; height: 40px; position: absolute; left: 55%; margin-left: -155px; } .questions1{ ...
Add Cómo ir CSS example
/* - These is a style snippet to be used with http://mcdlr.com/css-inject/ - */ /* - Cómo ir - http://comoir.montevideo.gub.uy/stmWEB/ - *\ |* - Make the map area significantly bigger - *| \* - v1.0 - */ body > table { width: 94%; } ...
Add an indent to the first line of a paragraph
p { max-width: 30em; } .header { display: flex; flex-wrap: wrap; justify-content: center; } .title { flex-basis: 100vw; text-align: center; } .contact-button { flex-basis: 100vw; text-align: center; } .main { display: flex; flex-direction: column; } .stories { display: f...
p { max-width: 30em; text-indent: 1.5em; } .header { display: flex; flex-wrap: wrap; justify-content: center; } .title { flex-basis: 100vw; text-align: center; } .contact-button { flex-basis: 100vw; text-align: center; } .main { display: flex; flex-direction: column; } ....