Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Revert green theme chain map background to grey.
@page-background: #111111 url(public/images/green_bg.jpg) no-repeat center top fixed; @primary-background: #0D6509; @alt-primary-background: #0C9A00; @header-background: #0F2C04; @header-sub-background: #262626; @footer-background: #353535; @chain-map-background: #0D6509; @box-button-background: #494242;
@page-background: #111111 url(public/images/green_bg.jpg) no-repeat center top fixed; @primary-background: #0D6509; @alt-primary-background: #0C9A00; @header-background: #0F2C04; @header-sub-background: #262626; @footer-background: #353535; @chain-map-background: #2d2d2d; @box-button-background: #494242;
Fix bug with CSS import not finding normalize.css
@import 'normalize.css/normalize.css'; /* Variables */ @import 'base/media-queries.css'; @import 'base/variables.css'; /* Base */ @import 'base/base.css'; @import 'base/fonts.css'; @import 'base/typography.css'; @import 'base/utilities.css'; /* Modules */ /* Layouts */
@import 'normalize.css'; /* Variables */ @import 'base/media-queries.css'; @import 'base/variables.css'; /* Base */ @import 'base/base.css'; @import 'base/fonts.css'; @import 'base/typography.css'; @import 'base/utilities.css'; /* Modules */ /* Layouts */
Tweak List View CSS a little more (line spacing and bullets).
.LinkViewWidget { overflow-y: scroll; } .LinkViewWidget li[data-type="project"] > p { font-weight: bold; } .LinkViewWidget li[data-type="note"] > p { font-style: italic; color: grey; } .LinkViewWidget li[data-done] > p { text-decoration: line-through; } .LinkViewWidget span[tag] { color: lightgray; font-weight: no...
.LinkViewWidget { overflow-y: scroll; } .LinkViewWidget li[data-type="project"] > p { font-weight: bold; } .LinkViewWidget li[data-type="note"] > p { font-style: italic; color: grey; } .LinkViewWidget li[data-done] > p { text-decoration: line-through; } .LinkViewWidget span[tag] { color: lightgray; font-weight: nor...
Align contribution graph to center of the document
@charset "utf-8"; body > .ui.container { margin-top: 3em; } div.contrib { }
@charset "utf-8"; body > .ui.container { margin-top: 3em; } #cal { margin: 3em auto 0 auto; } #cal .cal-heatmap-container { margin: 0 auto; }
Revert scoping of height declaration, as it breaks scrolling on iOS safari
@import '../../../css/colors.css'; .list { list-style: none; margin: 0; padding-left: 0; /* ensure list takes up maximum vertical space amount between column header and user list */ flex-grow: 1; overflow-y: hidden; &:global(.overflowed) { overflow-y: scroll; border-bottom: 1px solid #C0C1C2; ...
@import '../../../css/colors.css'; .list { list-style: none; margin: 0; padding-left: 0; /* ensure list takes up maximum vertical space amount between column header and user list */ flex-grow: 1; /* hack for scrollability (conditionally applied) in firefox and iOS safari, as overflow content in a fl...
Add cheat sheet stylesheet week 8 pair
html { font-family: Helvetica; background-color: #BCED91; } h2 { display: block; text-align: center; border: 5px solid black; padding: 20px; } #definition { text-align: center; } #red { color: red; } #red_center { color: red; text-align: center; } .topics { font-weight: bold; } .italics { ...
Fix for padding for Alert box
@media print { html, body { height: 99%; } } body { font-family: 'Roboto'; font-size: 12pt; padding: 10; margin: 10; } table, th { font-size: 12pt; color: #333333; border-bottom: 1px solid #9aa5af; line-height: 36px; padding: 20px; } table, th, td { border-collapse: collapse; } button { ...
@media print { html, body { height: 99%; } } body, pre { font-family: 'Roboto'; font-size: 12pt; padding: 10; margin: 10; } table, th { font-size: 12pt; color: #333333; border-bottom: 1px solid #9aa5af; line-height: 36px; padding: 20px; } table, th, td { border-collapse: collapse; } button...
Revert "Changes search button hover from pink to blue"
.mdl-layout { align-items: center; justify-content: center; } .mdl-card__actions { display: flex; box-sizing:border-box; align-items: center; } .mdl-card__actions > .mdl-button--icon { margin-right: 3px; margin-left: 3px; } .mdl-layout__content { padding: 24px; flex: none; } .mdl...
.mdl-layout { align-items: center; justify-content: center; } .mdl-card__actions { display: flex; box-sizing:border-box; align-items: center; } .mdl-card__actions > .mdl-button--icon { margin-right: 3px; margin-left: 3px; } .mdl-layout__content { padding: 24px; flex: none; } .mdl...
Remove transition flicker workaround, causing font focus FAIL.
body { text-align: left; } div#credit { font-size: 80%; padding: 7px 20px 7px 20px; text-align: right; } div#footer { padding: 5px 10px 5px 10px; } div#footer a { color: #ffffff; text-decoration: none; } .ui-page { -webkit-backface-visibility: hidden; }
body { text-align: left; } div#credit { font-size: 80%; padding: 7px 20px 7px 20px; text-align: right; } div#footer { padding: 5px 10px 5px 10px; } div#footer a { color: #ffffff; text-decoration: none; }
Add explicit .empty-form hiding for grapelli
.polymorphic-add-choice { position: relative; } .polymorphic-add-choice a:focus { text-decoration: none; } .polymorphic-type-menu { position: absolute; top: 2.2em; left: 0.5em; border: 1px solid #ccc; border-radius: 4px; padding: 2px; background-color: #fff; } .polymorphic-type-menu ul { padding:...
.polymorphic-add-choice { position: relative; } .polymorphic-add-choice a:focus { text-decoration: none; } .polymorphic-type-menu { position: absolute; top: 2.2em; left: 0.5em; border: 1px solid #ccc; border-radius: 4px; padding: 2px; background-color: #fff; } .polymorphic-type-menu ul { padding:...
Fix mobile width for shows table
.table-container { width: 100%; } table, .tabs { margin: 0 auto; width: 70%; border-collapse: collapse; } .active { color: var(--complementary-purple); } .tabs:hover { cursor: pointer; } tr { border-top: 2px solid var(--orange); } td, th, .tabs { padding: 10px; } thead tr { text-align: left; border-top:...
.table-container { width: 100%; } table, .tabs { margin: 0 auto; width: 70%; border-collapse: collapse; } .active { color: var(--complementary-purple); } .tabs:hover { cursor: pointer; } tr { border-top: 2px solid var(--orange); } td, th, .tabs { padding: 10px; } thead tr { text-align: left; border-top:...
Select boxes are now all the same size
.last-updated{ margin-bottom: 1em; } table.index{ text-align: center; } table.index th{ border-bottom: 1px solid lightgrey; text-align: center; padding: 0 10px; } table.index td{ text-align: center; padding: 0 0.5em; } .glyphicon-ok{ color: green; } .glyphicon-remove{ color: red; } table.edit-fo...
.last-updated{ margin-bottom: 1em; } table.index{ text-align: center; } table.index th{ border-bottom: 1px solid lightgrey; text-align: center; padding: 0 10px; } table.index td{ text-align: center; padding: 0 0.5em; } .glyphicon-ok{ color: green; } .glyphicon-remove{ color: red; } table.edit-fo...
Update CSS with new logo padding
.navbar-brand { padding-top: 5px; padding-left: 35px; } .navbar-brand>img { float: left; width: 150px; }
.navbar-brand { padding-top: 7px; padding-left: 35px; } .navbar-brand>img { float: left; width: 150px; }
Remove the unneeded and duplicating Bootstrap CSS inclusions
/* Copyright (c) 2013, Google Inc. Please see the AUTHORS file for details. */ /* All rights reserved. Use of this source code is governed by a BSD-style */ /* license that can be found in the LICENSE file. */ @import url("packages/bootjack/css/bootstrap.css"); @import url("packages/bootjack/css/bootstrap-theme.css")...
/* Copyright (c) 2013, Google Inc. Please see the AUTHORS file for details. */ /* All rights reserved. Use of this source code is governed by a BSD-style */ /* license that can be found in the LICENSE file. */ body { bottom: 0; display: flex; flex-flow: column; left: 0; margin: 0; padding: 0; overflow: ...
Modify attention directive block color
@import url('sphinxdoc.css'); .section h1 { font-size: 1.7em; } .section h2 { font-size: 1.4em; margin-top: 1.0em; margin-bottom: 0.1em; padding-top: 0.2em; padding-bottom: 0.3em; padding-left: 0.3em; border-bottom: thin solid gray; border-left: thick solid gray; } .section h3 { font-size: 1.3em;...
@import url('sphinxdoc.css'); .section h1 { font-size: 1.7em; } .section h2 { font-size: 1.4em; margin-top: 1.0em; margin-bottom: 0.1em; padding-top: 0.2em; padding-bottom: 0.3em; padding-left: 0.3em; border-bottom: thin solid gray; border-left: thick solid gray; } .section h3 { font-size: 1.3em;...
Fix for autocomplete selector rendering issue
.autocomplete { position: relative; margin: 0; } .autocomplete ul { width: 100%; z-index: 1; position: absolute; left: 0; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background-color: white; col...
.autocomplete { position: relative; margin: 0; } .autocomplete ul { width: 90%; z-index: 1; position: absolute; left: 0; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background-color: white; colo...
Remove unnecessary input background (may cause theming issues in future)
.input { width: 100%; height: 45px; background-color: var(--main-background-color); color: var(--main-font-color); font-family: var(--main-font); font-size: 1.5em; border: 0; outline: none; padding: 0 10px; line-height: 60px; box-sizing: border-box; background: transparent; white-space: nowrap...
.input { width: 100%; height: 45px; color: var(--main-font-color); font-family: var(--main-font); font-size: 1.5em; border: 0; outline: none; padding: 0 10px; line-height: 60px; box-sizing: border-box; background: transparent; white-space: nowrap; -webkit-app-region: drag; -webkit-user-selec...
Remove some unnecessary width and height properties
/* major page sections */ .main-column { position: relative; max-width: 800px; margin: 0 auto; } .content { margin-bottom: 50px; } footer { text-align: center; font-size: 12px; width: 100%; position: absolute; bottom: 0; margin-bottom: 15px; padding-bottom: 0; } /* page content */ .email { di...
/* major page sections */ .main-column { position: relative; max-width: 800px; margin: 0 auto; } .content { margin-bottom: 50px; } footer { text-align: center; font-size: 12px; width: 100%; position: absolute; bottom: 0; margin-bottom: 15px; padding-bottom: 0; } /* page content */ .email { di...
Increase section width to 80%
#header { background-color:black; color:white; text-align:center; padding:5px; } #nav { line-height:30px; background-color:#eeeeee; height:300px; width:100px; float:left; padding:5px; text-align: center; } #section { font-family: Roboto width:350px; float:left; padding:10px; } #footer {...
#header { background-color:black; color:white; text-align:center; padding:5px; } #nav { line-height:30px; background-color:#eeeeee; height:300px; width:100px; float:left; padding:5px; text-align: center; } #section { font-family: Roboto width: 80%; float:left; padding:10px; } #footer { ...
Add new styles for home
@font-face { font-family: "oswald"; src: url("../res/fonts/oswald.ttf") format("opentype"); } ul { list-style-type: none; padding-left: 14px; } .center { text-align: center; } .splash { display: none; position: fixed; top: 0; width: 100%; height: 100%; background-color: white; z-index: 99...
@font-face { font-family: "oswald"; src: url("../res/fonts/oswald.ttf") format("opentype"); } ul.table-view.recpie-table { list-style-type: none; margin: 0; padding: 0; } ul.recpie-table li { padding: 15px 15px 5px 5px; } ul.recpie-table li:nth-child(odd) { background-color: rgba(0, 164, 152, 0.15)...
Put select in own row on small screens
.language-switch { margin: auto 1em 1em auto; float: right; } p { text-align: justify; } img { max-width: 100%; } .content .alert { margin-top: 16px; } .content .alert .close { margin-left: 8px; }
.language-switch { margin: auto 1em 1em auto; } @media(min-width: 992px) { /* md or up */ .language-switch { float: right; } } p { text-align: justify; } img { max-width: 100%; } .content .alert { margin-top: 16px; } .content .alert .close { margin-left: 8px; }
Use a less bright color for external links
a[href ^= "http"]:not([href*="//sleepdata.org"]) { color: #f0ad4e; border-color: #eea236; } a[href ^= "http"]:not([href*="//sleepdata.org"]):hover { color: #ed9c28; border-color: #d58512; } a[href ^= "http"]:not([href*="//sleepdata.org"]):after { /*content: ' »';*/ }
a[href ^= "http"]:not([href*="//sleepdata.org"]) { color: #5bc0de; border-color: #46b8da; } a[href ^= "http"]:not([href*="//sleepdata.org"]):hover { color: #31b0d5; border-color: #269abc; }
Remove border added for troubleshooting
* { background-color: #a3a3c2; border: 1px solid black; } h1, h2, h3 { font-weight: 400; } .App { text-align: center; background-color: #a3a3c2; color: #f2f2f2; } .App-header { background-color: transparent; height: 150px; padding: 10px; color: white; /*width: 100%;*/ } .App-header h1 { fon...
* { background-color: #a3a3c2; } h1, h2, h3 { font-weight: 400; } .App { text-align: center; background-color: #a3a3c2; color: #f2f2f2; } .App-header { background-color: transparent; height: 150px; padding: 10px; color: white; /*width: 100%;*/ } .App-header h1 { font-size: 5em; font-family:...
Add CSS styles for graphing frontend.
body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; color: #333333; background-color: #eee; } #chart_container { font-family: Arial, Helvetica, sans-serif; } #chart { position: relative; width: 80%; } svg { border: 1...
Add hover with underline to CallToAction
.root { font-weight: 700; text-decoration: underline; } .root.blue { color: #2421ab; } .root.white { color: #fcfcfc; } .root.regular { font-size: 16px; line-height: 20px; } .root.large { font-size: 20px; line-height: 28px; } @media (min-width: 321px) { .root.regular { font-size: 20px; lin...
.root { position: relative; display: inline-block; font-weight: 700; text-decoration: none; } .root::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; border-bottom: 2px solid currentColor; transform: translateY(1px); transition: transform 0.2s; } .root.blue { color: ...
Update list item hover styling to flip vertically
/*.list { width: 200%; }*/ .list + .list { margin-top: calc(var(--gutter) * 4); } .list-content a { /* enable rotation */ display: inline-block; } @media (--w-l-800) { .list-title { text-align: right; border-top: 0.1em solid currentColor; padding-top: var(--gutter); } } @media (--w-800) { ...
/*.list { width: 200%; }*/ .list + .list { margin-top: calc(var(--gutter) * 4); } .list-content a { /* enable rotation */ display: inline-block; } @media (--w-l-800) { .list-title { text-align: right; border-top: 0.1em solid currentColor; padding-top: var(--gutter); } } @media (--w-800) { ...
Use line-height instead of vertical padding
@import "fyndiq-styles-colors/colors.css"; .input { padding: 12px 20px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 2px; font-size: 15px; &:invalid { box-shadow: none; } } .presetWrapper { display: flex; & .input { border-top-right-radius: 0; b...
@import "fyndiq-styles-colors/colors.css"; .input { padding: 0 20px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 2px; font-size: 15px; line-height: 48px; &:invalid { box-shadow: none; } } .presetWrapper { display: flex; & .input { border-top-righ...
Remove margins from list index shortcut labels.
/* MListIndexStyle : MWidgetStyle */ MListIndexStyle { shortcut-object-name: "whiteFont"; background-opacity: 0.5; background-image: meegotouch-fastscroll-background 12px 12px 12px 12px; preferred-size: 7mm 100%; margin-top: 0; margin-left: 0; margin-bottom: 0; margin-right: 0; } #wh...
/* MListIndexStyle : MWidgetStyle */ MListIndexStyle { shortcut-object-name: "whiteFont"; background-opacity: 0.5; background-image: meegotouch-fastscroll-background 12px 12px 12px 12px; preferred-size: 7mm 100%; margin-top: 0; margin-left: 0; margin-bottom: 0; margin-right: 0; } #wh...
Make the headerbar and the sidebar buttons more similar
#sidebar .button { color: #000000; }
#sidebar .button, #header .button { color: #000000; } #header a { color: #FFFFFF; font-weight: bold; text-decoration: none; font-size: 14px; }
Set the title on the RH navlist to be slightly outdented so that it stands out a little more from the gallery names below it.
/* ===== Primary Styles ======================================================== Author: ========================================================================== */ #front_page_image { height: 640px; overflow: hidden; } .carousel-inner { text-align: center } .carousel .item > img { display: inlin...
/* ===== Primary Styles ======================================================== Author: ========================================================================== */ #front_page_image { height: 640px; overflow: hidden; } .carousel-inner { text-align: center } .carousel .item > img { display: inlin...
Adjust spacing for when the display is in portrait mode
body { background: black; color: white; height: 100%; font-size: x-large; } p { line-height: 70% } #time { text-align: center; font-size: xx-large; } #left { position: fixed; left: 0; width: 30% } #message { text-align: center; font-size: x-large; position: fixed;...
body { background: black; color: white; height: 100%; font-size: x-large; } p { line-height: 70% } #time { text-align: center; font-size: xx-large; } #left { position: fixed; left: 0; width: 40% } #message { text-align: center; font-size: x-large; position: fixed;...
Disable selection for better interaction.
body { margin: 10px auto; width: 1024px; background: black; font-family: sans-serif; } h1 { color: salmon; text-align: center; margin: 0; } canvas { border: 1px solid #333; } div.description { color: salmon; width: 600px; margin: 0px auto; text-indent: 1em; } .descrip...
body { margin: 10px auto; width: 1024px; background: black; font-family: sans-serif; user-select: none; -moz-user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; } h1 { color: salmon; text-align: center; margin: 0; } canvas { border: 1px solid #333...
Scale header font to fit 800x600
h1.graffiti { color: #af0; text-shadow: 0 0 15px #af0, 0 0 2px #fff; transform: rotate(-12deg) } #plain-brainbow div, #word-brainbow div { margin-left: auto; margin-right: auto; } ul.permutation { list-style: none; } ul.permutation li.focus { display: inline-block; background-color: r...
h1 { font-size: 300%; } h1.graffiti { color: #af0; text-shadow: 0 0 15px #af0, 0 0 2px #fff; transform: rotate(-12deg) } #plain-brainbow div, #word-brainbow div { margin-left: auto; margin-right: auto; } ul.permutation { list-style: none; } ul.permutation li.focus { display: inline-b...
Set a dark theme color for the 'a' element
body { background-color: #393f4c; color: #cdcdcd; } input, select, textarea, fieldset, legend { background-color: #6e7079; color: #f2f2f2; border: 1px solid #717171; } ::selection { background: #b36800; color: #24242d} ::-moz-selection { background: orange; color: #24242d} input:disabled, select:...
body { background-color: #393f4c; color: #cdcdcd; } input, select, textarea, fieldset, legend { background-color: #6e7079; color: #f2f2f2; border: 1px solid #717171; } ::selection { background: #b36800; color: #24242d} ::-moz-selection { background: orange; color: #24242d} a { color: #56bbff;...
Fix footer covering up content on small screens
ul.errorlist { margin: 0; list-style: none; } header, footer { background-color: #CCEEFF; } #wrapper { min-height: 100%; position: relative; padding-bottom: 75px; } #site_content { background-color: #FFFFFF; } header li { background-color: #1CC7FF; border-bottom-left-radius: 10px; border-bottom-right-rad...
ul.errorlist { margin: 0; list-style: none; } header, footer { background-color: #CCEEFF; } #wrapper { min-height: 100%; position: relative; padding-bottom: 125px; } #site_content { background-color: #FFFFFF; } header li { background-color: #1CC7FF; border-bottom-left-radius: 10px; border-bottom-right-ra...
Add some margin bottom to panelist headshots
.panelist-list { lost-utility: clearfix; width: 80%; margin: auto; &__panelist { margin: 0; padding: 20px; @media only screen and (min-width : 400px) { lost-column: 1/2; } @media only screen and (min-width : 600px) { lost-column: 1/3; } @media only screen and (min-w...
.panelist-list { lost-utility: clearfix; width: 80%; margin: auto; &__panelist { margin: 0; margin-bottom: 30px; @media only screen and (min-width : 400px) { lost-column: 1/2; } @media only screen and (min-width : 600px) { lost-column: 1/3; } @media only screen and ...
Disable resize on textarea (doesn't work well in iframe)
/* On an iPad, the rules below takes precedence over the rules above (order is important) */ @media only screen and (device-width: 768px) { #root { margin: 10px 0 0p 210px; background-color: lightgrey; background-color: white; } } @media screen and (max-device-width: 480px) and (orientation:portrait) { ...
/* On an iPad, the rules below takes precedence over the rules above (order is important) */ @media only screen and (device-width: 768px) { #root { margin: 10px 0 0p 210px; background-color: lightgrey; background-color: white; } } @media screen and (max-device-width: 480px) and (orientation:portrait) { ...
Tweak CSS for facets & results
.content { padding: 20px; } #header { flex: 0 0 100%; display: flex; justify-content: flex-end; } #search_results .cloudsearch_result_icon { display: none; } #search_results .cloudsearch_result_snippet { padding-left: 0; } #search_results .cloudsearch_result_count_container { padding-left: 0; } #face...
.content { padding: 20px; } #header { flex: 0 0 100%; display: flex; justify-content: flex-end; } #search_results .cloudsearch_result_icon { display: none; } #search_results .cloudsearch_result_snippet { padding-left: 0; } #search_results .cloudsearch_result_meta_line { padding-left: 0; } #search_res...
Add appearance none to certain form inputs.
/* FORMS */ .input-text { outline: 0; } .input-text:focus, .input-text:hover { outline: 0; } .input-invisible { outline: 0; border: 0; }
/* FORMS */ .input-text { outline: 0; appearance: none; -webkit-appearance: none; -moz-appearance: none; } .input-text:focus, .input-text:hover { outline: 0; } .input-invisible { outline: 0; border: 0; }
Fix button style, checked with IE and chrome.
div.wrap-canvas { display: inline-block; border-style: solid; border-width: thin; } div.manual-input { margin: 5%; display: none; } button.manual-input[id$="detail"] { width: 10%; }
div.wrap-canvas { display: inline-block; border-style: solid; border-width: thin; } div.manual-input { margin: 5%; display: none; } button.manual-input[id$="_detail"] { width: 90%; } button.manual-input[id$="_reset"] { width: 10%; }
Make teams without score more lisible
.nav-pills a { cursor: pointer; } .pagesContainer { height: calc(100% - 120px); padding-top: 20px; } .page { display: none; height: 100%; padding: 0 15px; position: relative; z-index: 1; } .page.active { display: block; z-index: 2; } .looser.tree .round-1 { margin-right: ...
.nav-pills a { cursor: pointer; } .pagesContainer { height: calc(100% - 120px); padding-top: 20px; } .page { display: none; height: 100%; padding: 0 15px; position: relative; z-index: 1; } .page.active { display: block; z-index: 2; } .looser.tree .round-1 { margin-right: ...
Improve spacing around the section chooser dropdown
body { padding-top: 1em; } .logo-img { padding-left: 4px; } .logo-text { font-family: 'Comic Sans MS', cursive, sans-serif; font-size: 32px; font-style: italic; } .body-content { padding: 32px 0 0 0; } .section-dropdown-icon { height: 1.5em; width: 2em; margin-right: 2px; } .publisher-...
body { padding-top: 1em; } .logo-img { padding-left: 4px; } .logo-text { font-family: 'Comic Sans MS', cursive, sans-serif; font-size: 32px; font-style: italic; } .body-content { padding: 40px 0 0 0; } #section-dropdown-button { margin-bottom: 0.5em; } .section-dropdown-icon { height: 1.5em;...
Reset webkit highlight on mobile devices
@import "part:@sanity/base/theme/variables-style"; @import url("https://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,400i,500,500i,700,700i,900,900i"); :global(body) { font-family: var(--font-family-sans-serif); line-height: var(--line-height-base); color: var(--text-color); background-color: var(--...
@import "part:@sanity/base/theme/variables-style"; @import url("https://fonts.googleapis.com/css?family=Roboto:100,300,300i,400,400i,500,500i,700,700i,900,900i"); :global(body) { font-family: var(--font-family-sans-serif); line-height: var(--line-height-base); color: var(--text-color); background-color: var(--...
Fix cursor over close button
/* * Copyright (c) 2015 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ div { background-image: url(Images/toolbarButtonGlyphs.png); background-size: 320px 144px; } @media (-webkit-min-device-pixel-ratio: 1...
/* * Copyright (c) 2015 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ div { background-image: url(Images/toolbarButtonGlyphs.png); background-size: 320px 144px; } @media (-webkit-min-device-pixel-ratio: 1...
Remove leading dot from apply case in sanity test
@tailwind base; @tailwind components; @tailwind utilities; @responsive { .example { @apply .font-bold; color: theme('colors.red.500'); } }
@tailwind base; @tailwind components; @tailwind utilities; @responsive { .example { @apply font-bold; color: theme('colors.red.500'); } }
Make category list background white again.
@value grey-vivid, dark from "Stylesheets/colors"; .list { composes: wrapper from 'Stylesheets/general'; display: flex; padding-top: 0.75em; padding-bottom: 0.75em; overflow-x: scroll; } .wrapper { background: grey-vivid; } .item { margin-right: 1.5em; } .item__link { composes: condensed-light from "Stylesh...
@value light, dark from "Stylesheets/colors"; .list { composes: wrapper from 'Stylesheets/general'; display: flex; padding-top: 0.75em; padding-bottom: 0.75em; overflow-x: scroll; } .wrapper { background: light; } .item { margin-right: 1.5em; } .item__link { composes: condensed-light from "Stylesheets/typog...
Fix image rendering on mobile in editor
.loader { height: 4px; top: 4px; width: 100%; position: relative; overflow: hidden; background-color: #ddd; } .loader::before { display: block; position: absolute; content: ''; left: -200px; width: 200px; height: 4px; background-color: red; animation: loading 2s linear infinite; } .center ...
.loader { height: 4px; top: 4px; width: 100%; position: relative; overflow: hidden; background-color: #ddd; } .image { object-fit: contain; } .loader::before { display: block; position: absolute; content: ''; left: -200px; width: 200px; height: 4px; background-color: red; animation: load...
Fix spacing issue on screenshot reports
body { background: #D3D3D3; } img { } .img-wrapper { background-image: url("background.png"); } div.screenshot { padding: 10px; } div.alternate { background: #E0E0E0; } div.screenshot_error { color: red; } table { border-collapse: collapse; } th, tr, td { padding: 0; }
body { background: #D3D3D3; } img { display:block; } .img-wrapper { background-image: url("background.png"); } div.screenshot { padding: 10px; } div.alternate { background: #E0E0E0; } div.screenshot_error { color: red; } table { border-collapse: collapse; } table, th, tr, td, img{ ...
Disable resizable property of textarea
/* * Style for components/Textarea/index.js */ .textarea { background-color: #fff; border: 1px solid #aaa; padding: 6px 13px; width: 90%; margin-left: 20px; } .textarea:-ms-input-placeholder { color: #aaa; }
/* * Style for components/Textarea/index.js */ .textarea { background-color: #fff; border: 1px solid #aaa; padding: 6px 13px; width: 90%; margin-left: 20px; resize: none; } .textarea:-ms-input-placeholder { color: #aaa; }
Remove vendor prefixes on border-radius
.leaflet-control-minimap { border:solid rgba(255, 255, 255, 1.0) 3px; box-shadow: 0 1px 7px #999; background: #f8f8f9; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; transition: all .2s; } .leaflet-control-minimap a { background-color: rgba(255, 255, 255, 1.0);...
.leaflet-control-minimap { border:solid rgba(255, 255, 255, 1.0) 3px; box-shadow: 0 1px 7px #999; background: #f8f8f9; border-radius: 8px; transition: all .2s; } .leaflet-control-minimap a { background-color: rgba(255, 255, 255, 1.0); background-position: 1px 2px; background-repeat: no-...
Add image and descriptor sizes
.description { color:red; } * { outline: 1px solid red !important; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
.description { color:red; } * { outline: 1px solid red !important; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; } .image { max-width:460px; } .description { max-width;705px; }
Make sure hidden elements are hidden
html, body { margin: 0; border: 0; padding: 0; } body { color: [[text-color]]; background-color: [[background-color]]; font-family: 'Arial', 'Helvatica', sans-serif; } .x-component--header-section { background: [[header-background-color]]; } .x-component--logo { display: inline-block; font-weight: ...
html, body { margin: 0; border: 0; padding: 0; } body { color: [[text-color]]; background-color: [[background-color]]; font-family: 'Arial', 'Helvatica', sans-serif; } .x-component--header-section { background: [[header-background-color]]; } .x-component--logo { display: inline-block; font-weight: ...
Fix terminal light theme colors
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Remove underline in icon containers
.element { text-decoration: none; color: black; background-color: lightgrey; padding: 10px } .element:hover { background-color: grey; } .active { background-color: grey; } img { text-align: center; } .img-container { text-align: center; } .icon-container { text-align: center; }
.element { text-decoration: none; color: black; background-color: lightgrey; padding: 10px } .element:hover { background-color: grey; } .active { background-color: grey; } img { text-align: center; } .img-container { text-align: center; } .icon-container { text-align: center; } ...
Make CSS filter usage more consistent
html { background-color: #ebebeb !important; } html { filter: invert(1) hue-rotate(.5turn); } img:not(.icon-text, .icon-social), video, code { filter: hue-rotate(180deg) contrast(100%) invert(100%); }
html { background-color: #ebebeb !important; } html { filter: invert(100%) hue-rotate(180deg); } img:not(.icon-text, .icon-social), video, code { filter: invert(100%) hue-rotate(180deg) contrast(100%); }
Remove margins as it complicates the grid
.move-handle { cursor: move; } .box-placeholder { border: 2px dotted black; margin: 10px; background: #efefef; } .sorting { margin-bottom: 5px; border: 1px dashed #444; min-height: 100px !important; } .sorting .box { margin: 10px; } .blogfeed h1 { font-size: 100%; line-height: 20px; } .blogfeed p.lead { ...
.move-handle { cursor: move; } .box-placeholder { border: 2px dotted black; background: #efefef; } .sorting { padding: 10px; border: 1px dashed #444; min-height: 100px !important; } .sorting > * { margin: 0px 0px 10px 0px; } .sorting > *:first-child { margin-top: 0; } .sorting > *:last-child { margin-bott...
Fix dnnGridHeader doesn't apply to <th>
/* Place module CSS here */ .Launchpad_ContentList { width:100% } .Launchpad_ContentListItem { text-align: left } .Launchpad_UserName { font-weight:bold } .Launchpad_CreateOnDate { font-style:italic } .Launchpad_Content { clear:both } /* .dlTable { display:table; width:100% } .dlRow { display:table-row...
/* Place module CSS here */ .Launchpad_ContentList { width:100% } .Launchpad_ContentListItem { text-align: left } .Launchpad_UserName { font-weight:bold } .Launchpad_CreateOnDate { font-style:italic } .Launchpad_Content { clear:both } /* dnnGridHeader fix */ .dnnGridHeader th { border-bottom: 1px s...
Fix path to fix display of promotion pieces
.promotePanel { width: 400px; height: 70px; display:flex; visibility: hidden; } .promote { background-position: 50% 50%; background-repeat:no-repeat; cursor: pointer; opacity: 0.5; transition: 300ms; } .promote:hover { opacity: 1; } .promote.queen { background-image: url(...
.promotePanel { width: 400px; height: 70px; display:flex; visibility: hidden; } .promote { background-position: 50% 50%; background-repeat:no-repeat; cursor: pointer; opacity: 0.5; transition: 300ms; } .promote:hover { opacity: 1; } .promote.queen { background-image: url(...
Hide editing button on subpage listing
.subpagelist-button { margin-left: 10px; } .subpagelist .shiv-white, .subpagelist .shiv-white:after { background: none !important; } .subpagelist-item-empty { padding: 1em; background: #ddd; }
.subpagelist-button { margin-left: 10px; } .subpagelist .shiv-white, .subpagelist .shiv-white:after { background: none !important; } .subpagelist-item-empty { padding: 1em; background: #ddd; } .hgroup-option-right a:first-child { display: none; }
Remove margin between title and topics
@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:700); .header { font-family: 'Roboto Mono'; } .header h1 { font-size: 54px; text-align: center; } .header ul { display: block; padding: 0; max-width: 620px; margin-left: auto; margin-right: auto; } .header li { di...
@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:700); .header { font-family: 'Roboto Mono'; } .header h1 { font-size: 54px; text-align: center; margin-bottom: 0; } .header ul { display: block; padding: 0; max-width: 620px; margin-top: 0; margin-left: auto; m...
Fix the color for modern selectric's file display
html, body, .modal-content { color: #e5e4df; background-color: #212224; } .btn, .button { background-color: #a40214; color: #e5e4df; border: none; } .dropdown-menu { background-color: #a40214; color: #e5e4df; font: menu; } #gear-menu > span { color: #a40214; font-size: 25px; } #gear-menu:hover >...
html, body, .modal-content { color: #e5e4df; background-color: #212224; } .btn, .button { background-color: #a40214; color: #e5e4df; border: none; } .dropdown-menu { background-color: #a40214; color: #e5e4df; font: menu; } #gear-menu > span { color: #a40214; font-size: 25px; } #gear-menu:hover >...
Remove baaad baaaaaaad comments in css
#progress-bars { margin-top: 1.5em; } /*progress-bars .close { display: block; float: none; text-align: right; width: 100%; }*/ #progress-bars div.pull-left { width: 35px; margin-left: 5px; margin-right: 5px; } #progress-bars div.alert-error { margin-left: 45px; display: none; } #progress-bars div.descrip...
#progress-bars { margin-top: 1.5em; } #progress-bars div.pull-left { width: 35px; margin-left: 5px; margin-right: 5px; } #progress-bars div.alert-error { margin-left: 45px; display: none; } #progress-bars div.description { margin-left: 45px; } #progress-bars span.parser{ font-weight: bold; }
Fix index layout - change float to inline-block
.island { float: left; width: 50%; } .island__inner { margin: 5% 5% 0; /*float: left; width: 44.5%; margin-left: 38%;*/ } .island__container { position: relative; z-index: 10; min-height: 615px; padding: 5%; background: #fff; } .island__shadow { position: relative...
.island { display: inline-block; vertical-align: top; width: 50%; } .island__inner { margin: 5% 5% 0; } .island__container { position: relative; z-index: 10; min-height: 615px; padding: 5%; background: #fff; } .island__shadow { position: relative; z-index: 0; height...
Fix display property of .table-responsive
body { padding-top: 3rem; } #welcome-jumbotron { background-image: url(../img/panorama-cs4hs-2015.jpg); background-repeat: no-repeat; background-position: center center; border-radius: 0; } .navbar { background-color: #0a83bb; } footer { margin-top: 3rem; border-top: 1px solid #eee; } .logo { disp...
body { padding-top: 3rem; } #welcome-jumbotron { background-image: url(../img/panorama-cs4hs-2015.jpg); background-repeat: no-repeat; background-position: center center; border-radius: 0; } .navbar { background-color: #0a83bb; } footer { margin-top: 3rem; border-top: 1px solid #eee; } .logo { disp...
Use CSS to make cursor blink.
/* * nvim.css * Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com> */ html, body, canvas { background-color: #fff; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; position: relative; } .nvas-invisible{ position: absolute; right: 100%; bottom: 100%; } #nvas-cursor { positi...
/* * nvim.css * Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com> */ html, body, canvas { background-color: #fff; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; position: relative; } .nvas-invisible{ position: absolute; right: 100%; bottom: 100%; } #nvas-cursor { positi...
Set hover on tab class instead of both active and inactive.
html { height: 100%; width: 100%; } body { margin: 0px; height: 100%; width: 100%; overflow: hidden; background-color: #333333; } #firepad-container { height: 100%; width: 100%; flex: 1; } .column { height: 100%; width: 100%; display: flex; flex-direction: column; } .tabs-container { f...
html { height: 100%; width: 100%; } body { margin: 0px; height: 100%; width: 100%; overflow: hidden; background-color: #333333; } #firepad-container { height: 100%; width: 100%; flex: 1; } .column { height: 100%; width: 100%; display: flex; flex-direction: column; } .tabs-container { f...
Update CSS, Making rounded edges
.tile--people_in_space { width: 12.4em; height: 17.2em; } .tile--people_in_space .tile__media { height: 12em; } .tile--people_in_space .tile__media__img { margin-top: 1.6em; border-radius: 100%; } .tile--people_in_space .tile__body { padding: .3em 1em; } .tile--people_in_space .tile__title...
.tile.tile--people_in_space { width: 14em; height: 17em; padding-top: 1.5em; } .tile--people_in_space .tile__media { height: 11em; width: 11em; border-radius: 100%; margin-bottom: 0.5em; } .tile--people_in_space .tile__body { padding: .3em 1em; } .tile--people_in_space .tile__title {...
Fix bug with icons not expanding AddEntry progress bar segment on iOS
.wrapper { display: flex; flex: 1; flex-direction: column; } .header { display: flex; flex: 1; align-items: stretch; } .header > * { display: flex; flex: 1; align-items: center; justify-content: center; padding: 0 1rem; margin-bottom: .5rem; border: 2px solid #1e2c37; border-right: 0; } .header > *:las...
.wrapper { display: flex; flex: 1; flex-direction: column; } .header { display: flex; flex: 1; align-items: stretch; } .header > * { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; padding: 0 1rem; margin-bottom: .5rem; border: 2px solid #1e2c37; border-right: 0; } .header ...
Revert "Revert "Minor CSS fix for our user documentation (for Internet Explorer 10).""
a { color: rgb(54, 96, 146); } a:visited { color: rgb(54, 96, 146); } a:hover { background-color: rgba(54, 96, 146, 0.05); color: rgb(54, 96, 146); border: 1px solid rgba(54, 96, 146, 0.13); } div.header { background: rgb(54, 96, 146); } div.section { color: rgb(54, 96, 146); } span.ope...
a { color: rgb(54, 96, 146); } a:visited { color: rgb(54, 96, 146); } a:hover { background-color: rgba(54, 96, 146, 0.05); color: rgb(54, 96, 146); border: 1px solid rgba(54, 96, 146, 0.13); } div.header { background: rgb(54, 96, 146); } div.section { color: rgb(54, 96, 146); } span.ope...
Reset `box-sizing` to use `border-box`
/** * A thin layer on top of normalize.css that provides a starting point more * suitable for web applications. Removes the default spacing and border for * appropriate elements. */ blockquote, dl, dd, h1, h2, h3, h4, h5, h6, figure, p, pre { margin: 0; } button { background: transparent; border: 0; paddi...
/** * A thin layer on top of normalize.css that provides a starting point more * suitable for web applications. */ /** * Prevent margin and border from affecting element width. * https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */ html { box-sizing: border-box; } *, *::bef...
Update theme to remove selection color
.hljs{display:block;overflow-x:auto;padding:0.5em;background:#1d1f21}.hljs::selection,.hljs span::selection{background:#373b41}.hljs::-moz-selection,.hljs span::-moz-selection{background:#373b41}.hljs{color:#c5c8c6}.hljs-title,.hljs-name{color:#f0c674}.hljs-comment,.hljs-meta,.hljs-meta .hljs-keyword{color:#707880}.hlj...
.hljs{display:block;overflow-x:auto;padding:0.5em;background:#1d1f21}.hljs{color:#c5c8c6}.hljs-title,.hljs-name{color:#f0c674}.hljs-comment,.hljs-meta,.hljs-meta .hljs-keyword{color:#707880}.hljs-number,.hljs-symbol,.hljs-literal,.hljs-deletion,.hljs-link{color:#c66}.hljs-string,.hljs-doctag,.hljs-addition,.hljs-regexp...
Improve collapse styling on first list
.list.sigtrello-collapsed-list { transform: rotate(-90deg) translate(0.5px,0.5px) !important; -webkit-transform: rotate(-90deg) translate(0.5px,0.5px) !important; margin: 113px -115px; } .list.sigtrello-collapsed-list .list-cards { display: none; } .list.sigtrello-collapsed-list .open-card-composer { display: no...
.list.sigtrello-collapsed-list { transform: rotate(-90deg) translate(0.5px,0.5px) !important; -webkit-transform: rotate(-90deg) translate(0.5px,0.5px) !important; margin: 113px -115px; } .list.sigtrello-collapsed-list:first-child { margin-left: -103px; } .list.sigtrello-collapsed-list .list-cards { display: none...
Use different header sizes for about layout and others
#forkme { position: absolute; top: 0; right: 0; border: 0; z-index: 40000; } .masthead.segment { min-height: 22em; } h1 { font-size: 1.8em !important; } h2 { font-size: 1.6em !important; } h3 { font-size: 1.4em !important; } h4 { font-size: 1.2em !important; } h5 { font-size: 1em !important; } h6 { font-siz...
#forkme { position: absolute; top: 0; right: 0; border: 0; z-index: 40000; } h1 { font-size: 1.8em !important; } h2 { font-size: 1.6em !important; } h3 { font-size: 1.4em !important; } h4 { font-size: 1.2em !important; } h5 { font-size: 1em !important; } h6 { font-size: 0.8em !important; } .masthead.segment ...
Add some colored borders an spaces
@CHARSET "UTF-8"; #container { border: 1px solid black; padding: 5px; } #headerwrap { border: 1px solid cyan; } #head_left { float: left; border: 1px solid red; height: 50px; } #head_center { float: left; border: 1px solid green; height: 50px; } #head_right { /* float:left; */ border: 1px solid red; heig...
@CHARSET "UTF-8"; #container { border: 1px solid black; padding: 5px; width: 800px; margin: 0 auto; } #headerwrap { border: 1px solid cyan; padding: 2px; overflow: hidden; } #head_left { float: left; border: 1px solid red; height: 50px; width: 50px; } #head_center { float: left; border: 1px solid green...
Break css in fixture over multiple lines
.absolute_path_logo { background-image: url("/phoenix.png"); } .relative_path_logo { background-image: url('../images/relative.png'); } .absolute_url_logo { background-image: url(http://www.phoenixframework.org/absolute.png); } .absolute_path_logo{background-image:url(/phoenix.png)}.relative_path_logo{backgrou...
.absolute_path_logo { background-image: url("/phoenix.png"); } .relative_path_logo { background-image: url('../images/relative.png'); } .absolute_url_logo { background-image: url(http://www.phoenixframework.org/absolute.png); } .absolute_path_logo{background-image:url(/phoenix.png)} .relative_path_logo{backgro...
Correct the centering of the busy / loading indicator.
body { background: #eee; margin: 0; padding: 1em; } #busy { position: fixed; z-index: 1; left: 50%; top: 50%; width: 10em; height: 2em; margin: -10em 0 0 -2em; line-height: 2em; text-align: center; background: #333; color: #fff; opacity: 0.8; } #graph_form { position: fixed; z-index: 2; left: 1em; to...
body { background: #eee; margin: 0; padding: 1em; } #busy { position: fixed; z-index: 1; left: 50%; top: 50%; width: 10em; height: 2em; margin: -1em 0 0 -5em; line-height: 2em; text-align: center; background: #333; color: #fff; opacity: 0.8; } #graph_form { position: fixed; z-index: 2; left: 1em; top...
Add yadcf and datatable search box style
th, td { white-space: nowrap; text-align: center; } .table > thead > tr > th { padding: 8px 32px; }
th, td { white-space: nowrap; text-align: center; } .table > thead > tr > th { padding: 8px 32px; } .yadcf-filter-wrapper { display: block; } .dataTables_filter { display: none; }
Add font family to body
body { font-family: serif; } .header { text-align: center; } .header > p { font-weight: bold; } .nav { background-color: #f9d1e9; color: #FFFFFF; list-style: none; text-align: center; font-weight: bold; padding: 20px 0 20px 0 } .nav li { display: inline-block; padding-right: 50px; } .nav > li ...
body { font-family: sans-serif; } .header { text-align: center; } .header > p { font-weight: bold; } .nav { background-color: #f9d1e9; color: #FFFFFF; list-style: none; text-align: center; font-weight: bold; padding: 20px 0 20px 0 } .nav li { display: inline-block; padding-right: 50px; } .nav ...
Remove the max-width so it becomes fluid
@import '@teamleader/ui-colors'; @import '@teamleader/ui-utilities'; @import '@teamleader/ui-typography'; .select { composes: reset-font-smoothing; font-family: var(--font-family-regular); font-size: calc(1.4 * var(--unit)); border-color: var(--color-neutral-dark); max-width: 360px; } .dropdown-indicator { ...
@import '@teamleader/ui-colors'; @import '@teamleader/ui-utilities'; @import '@teamleader/ui-typography'; .select { composes: reset-font-smoothing; font-family: var(--font-family-regular); font-size: calc(1.4 * var(--unit)); border-color: var(--color-neutral-dark); } .dropdown-indicator { border: 0 !importa...
Add note on how to number table rows using CSS
/* * Table Cell Counter * * Adapted from: * http://stackoverflow.com/questions/17012421/auto-number-table-rows * You can turn the first cell of a table into a row counter using these * styles. Even works on IE8+! * Also would technically work with any element */ tbody { counter-reset: rowNumber; } tbody tr { ...
Reduce logo size via padding
@import url("theme.css"); .wy-nav-side { padding-bottom: 3em; }
@import url("theme.css"); .wy-nav-side { padding-bottom: 3em; } .wy-nav-side .logo { padding: 2em; }
Adjust positioning of the popper arrow so it is centered
$fg-color: #222; $bg-color: white; $arrow-size: 10px; $vertical-border-color: #cacaca; .container { z-index: 10; /* Prevents the popper from shifting when adding it to the DOM * triggers showing the scrollbars. * https://github.com/FezVrasta/popper.js/issues/457#issuecomment-367692177 */ top: 0; font...
$fg-color: #222; $bg-color: white; $arrow-size: 10px; $vertical-border-color: #cacaca; .container { z-index: 10; /* Prevents the popper from shifting when adding it to the DOM * triggers showing the scrollbars. * https://github.com/FezVrasta/popper.js/issues/457#issuecomment-367692177 */ top: 0; font...
Add styling for holiday container img
/** * 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. */ @import '../../components/variables.css'; .root { paddi...
/** * 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. */ @import '../../components/variables.css'; .root { paddi...
Fix color issue when hovering over tabs
@import url('file:///home/z/.cache/wal/firefox.css'); /* All tabs in the tab bar */ #tabbrowser-tabs { background-color: var(--color3) !important; color: var(--color7) !important; } /* The currently selected tab */ .tabbrowser-tab[selected=true] { background-color: var(--color2) !important; color: var...
@import url('file:///home/z/.cache/wal/firefox.css'); /* All tabs in the tab bar */ #tabbrowser-tabs { background-color: var(--color3) !important; color: var(--color7) !important; } /* The currently selected tab */ .tabbrowser-tab[selected] { background-color: var(--color2) !important; color: var(--co...
Make code toggle more bullet-proof.
.root { position: relative; composes: border from "../../styles/colors.css"; margin-bottom: 30px; border-radius: 3px 3px 0 3px; } .preview { margin-bottom: 3px; padding: 15px; } .codeToggle { composes: font from "../../styles/common.css"; composes: border link from "../../styles/colors.css"; position: absolu...
.root { position: relative; composes: border from "../../styles/colors.css"; margin-bottom: 30px; border-radius: 3px 3px 0 3px; } .preview { margin-bottom: 3px; padding: 15px; } .codeToggle { composes: font from "../../styles/common.css"; composes: border link from "../../styles/colors.css"; position: absolu...
Make browse happy link prettier
@import 'normalize.css'; body, .cf { *zoom: 1; } body:before, .cf:before, body:after, .cf:after { content: ''; display: table; } body:after, .cf:after { clear: both; } *, *:before, *:after, *::before, *::after { *behavior: url("js/vendor/boxsizing.htc"); box-sizing: border-box; margin: 0; padding: 0; }...
@import 'normalize.css'; body, .cf { *zoom: 1; } body:before, .cf:before, body:after, .cf:after { content: ''; display: table; } body:after, .cf:after { clear: both; } *, *:before, *:after, *::before, *::after { *behavior: url("js/vendor/boxsizing.htc"); box-sizing: border-box; margin: 0; padding: 0; }...
Fix transition on page load
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Mona...
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Mona...
Fix blurry icon in customization panel FF29+
#copyurlsexpert-toolbar-btnmain { list-style-image: url(chrome://copy-urls-expert/skin/cue-icon16.png); }
#copyurlsexpert-toolbar-btnmain { list-style-image: url(chrome://copy-urls-expert/skin/cue-icon16.png); } /* Inside customization panel, use a 32x32 image (FF 29+)*/ .customization-palette #copyurlsexpert-toolbar-btnmain { list-style-image: url(chrome://copy-urls-expert/skin/cue-icon.png); }
Add light gray background color
.container { width: 800px; margin: 20px auto; padding: 20px; border: 1px dotted black; } .post { margin-bottom: 5%; } h3 { text-align: center; } footer { margin-left: 7%; margin-right: 7%; } #left-header { float: left; } #right-header { float: right; } #computer-logo { height: auto; width:...
.container { width: 800px; margin: 20px auto; padding: 20px; border: 1px dotted black; } .post { margin-bottom: 5%; } h3 { text-align: center; } footer { margin-left: 7%; margin-right: 7%; } #left-header { float: left; } #right-header { float: right; } #computer-logo { height: auto; width:...
Update CSS grid template rows
/* * https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout * https://medium.com/@elad/supporting-css-grid-in-internet-explorer-b38669e75d66 * https://www.codementor.io/karaluton/a-beginner-s-guide-to-css-grid-j27g9uqys?utm_swu=7100 */ header { grid-area: header } main { grid-area: main } aside { gri...
/* * https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout * https://medium.com/@elad/supporting-css-grid-in-internet-explorer-b38669e75d66 * https://www.codementor.io/karaluton/a-beginner-s-guide-to-css-grid-j27g9uqys?utm_swu=7100 */ header { grid-area: header } main { grid-area: main } aside { gri...
Add eighth to general stylesheet
main { display: block; height: 100%; padding-bottom: 330px; } #second_from_top { display: block; position: relative; left: 100px; top: 270px; } #third_from_top { display: block; position: relative; left: 100px; top: 280px; } #fourth_from_top { display: block; position: relative; left: 100px; top: 290px; } #fifth...
main { display: block; height: 100%; padding-bottom: 800px; } #second_from_top { display: block; position: relative; left: 100px; top: 730px; } #third_from_top { display: block; position: relative; left: 100px; top: 740px; } #fourth_from_top { display: block; position: relative; left: 100px; top: 750px; } #fifth...
Add css to iphone and welcome message
html,body{ height: 100%; width: 100%; margin: 0; } #cover{ height: 100%; width: 100%; overflow: hidden; text-align: center; position: relative; background-size: cover; background-attachment: fixed; }
html,body{ height: 100%; width: 100%; margin: 0; } #cover{ height: 100%; width: 100%; overflow: hidden; position: relative; background-size: cover; background-attachment: fixed; } .section-2{ height: 100%; background-color: red; } .phone{ position: fixed; right: 10%; top: 10%; } .iphone{ h...
Set charset as utf-8 in css
.italic { font-style: italic; } .mention { color: #E09710; } .instagram { margin-bottom: 5px; } .headline { background: url(https://placeholdit.imgix.net/~text?txtsize=70&txt=Headline&w=750&h=500&txttrack=0); background-repeat: no-repeat; } @media only screen and (min-width: 769) { .headline { width: 350px !imp...
@charset "utf-8"; .italic { font-style: italic; } .mention { color: #E09710; } .instagram { margin-bottom: 5px; } .headline { background: url(https://placeholdit.imgix.net/~text?txtsize=70&txt=Headline&w=750&h=500&txttrack=0); background-repeat: no-repeat; } @media only screen and (min-width: 769) { .headline { ...
Add word wrapping for 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...
Make map slightly shorter to allow seeing graphs.
#map { height: 600px; width: 540px; } .graph-comments { text-align: center; vertical-align: middle; } .graph-container { padding-top: 10px; padding-bottom: 15px; height: 100px; border-bottom: 1px solid lightgrey; } .graph-container.histogram, .graph-container.histogram canvas { he...
#map { height: 460px; width: 540px; } .graph-comments { text-align: center; vertical-align: middle; } .graph-container { padding-top: 10px; padding-bottom: 15px; height: 100px; border-bottom: 1px solid lightgrey; } .graph-container.histogram, .graph-container.histogram canvas { he...
Correct CSS for About Me
body { background: url('../imgs/mount_tam.jpg') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; } .panel { filter: alpha(opacity=60); -moz-opacity:.60; opacity:.60; }
body { background: url('../imgs/mount_tam.jpg') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; } .panel { filter: alpha(opacity=60); -moz-opacity:.60; opacity:.60; } .panel-heading { font-size: 1.5e...
Add the PDF.JS plugin CSS.
/* PDF.JS plugin styles. */ .pdfjs_viewer { width: 100%; height: 100%; } .pdfjs_viewer iframe { width: 100%; height: 100%; border: none; }
Fix a wrong caret property
html, body { width: 90%; height: 90%; margin: 0 auto; margin-top: 0.5em; padding: 0.5; background-color: black; font-family: 'Cousine', monospace; } #container { width: 100%; height: 100%; } #main { position: absolute; height: auto; bottom: 0; top: 0; left: 0; ...
html, body { width: 90%; height: 90%; margin: 0 auto; margin-top: 0.5em; padding: 0.5; background-color: black; font-family: 'Cousine', monospace; } #container { width: 100%; height: 100%; } #main { position: absolute; height: auto; bottom: 0; top: 0; left: 0; ...
Fix front page image width on mobile
.hljs-type { color: rgb(66, 138, 141); } .hljs-string { color: rgb(88, 184, 187); } #screencast { max-width: 45em; }
.hljs-type { color: rgb(66, 138, 141); } .hljs-string { color: rgb(88, 184, 187); } #screencast { width: 100%; max-width: 45em; }
Make Live Chat not block the Add Media pagination buttons
@CHARSET "UTF-8"; #recent_uploads_wrapper { width: 100%; } /* position: absolute; left: 5px; right: 5px; bottom: 5px; margin: 0px; height: 350px; } .dataTables_scrollHeadInner > table:nth-child(1) { margin: 0px; } */ #recent_uploads h2 { font-size: 1.7em; } #recent_uploads_table { width: 100%; } ...
@CHARSET "UTF-8"; #recent_uploads_wrapper { width: 100%; margin-bottom: 40px; } #recent_uploads h2 { font-size: 1.7em; } #recent_uploads_table { width: 100%; } #recent_uploads_table_wrapper { width: 100%; } table#recent_uploads_table td { cursor: auto; } #recent_uploads_filter { float: right; margin-top: ...