Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Fix stylesheets to not include active_admin in frontend.
/* * 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 bottom margin to page
body { margin-top: 30px; padding: 0; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif; } #title { font-family: "Courier New", Courier, monospace; font-size: 32px; } #title sup { font-size: 14px; } input { width: 400px; } button { margin-top: 10px; font-size: 16px; } #loading, #er...
body { margin-top: 30px; margin-bottom: 60px; padding: 0; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif; } #title { font-family: "Courier New", Courier, monospace; font-size: 32px; } #title sup { font-size: 14px; } input { width: 400px; } button { margin-top: 10px; font-size:...
Change command box text color
/* @@author A0135788M */ .vBox { -fx-background-color: #83bdb8; } .header { -fx-font: 24px sans-serif; -fx-text-fill: #006064; } .mainWindowAnchor { -fx-background-color: black; -fx-border-color: black transparent transparent transparent; -fx-border-width: 2px; } .commandBox { -fx-font-size: 12pt; ...
/* @@author A0135788M */ .vBox { -fx-background-color: #83bdb8; } .header { -fx-font: 24px sans-serif; -fx-text-fill: #006064; } .mainWindowAnchor { -fx-background-color: black; -fx-border-color: black transparent transparent transparent; -fx-border-width: 2px; } .commandBox { -fx-font-size: 12pt; ...
Set background color to all of header
/* * These are the CSS for the BeginToReason Admin Pages * Created by: Yu-Shan Sun * Last Modified: 10/13/2017 */ html { position: relative; min-height: 100%; } body { /* Leaving space for footer */ margin-bottom: 60px; } #page-header { height: 60px; } #page-header .navbar { background-color: #52...
/* * These are the CSS for the BeginToReason Admin Pages * Created by: Yu-Shan Sun * Last Modified: 10/13/2017 */ html { position: relative; min-height: 100%; } body { /* Leaving space for footer */ margin-bottom: 60px; } #page-header { height: 60px; background-color: #522D80; } #page-sidebar { ...
Update modal css for 'or-line'.
@media (min-width: 992px) { .nav-users { position: fixed; } } .remove-account-container { display: inline-block; position: relative; } .btn-remove-account { top: 10px; right: 10px; position: absolute; } /* For user modals. */ .modal-open { overflow-y: scroll; } .or-group { position: relative; ...
@media (min-width: 992px) { .nav-users { position: fixed; } } .remove-account-container { display: inline-block; position: relative; } .btn-remove-account { top: 10px; right: 10px; position: absolute; } /* For user modals. */ .modal-open { overflow-y: scroll; } .or-group { position: relative; ...
Change top block to relative in technical stylesheet
#top { display:block; display: absolute; background-color:; top: 170px; } #second_from_top { display: block; position: relative; }
#top { display:block; display: relative; background-color:; top: 170px; } #second_from_top { display: block; position: relative; }
Fix over-selection when dragging zh pieces
div.selectable, div.pocket-piece { display: inline-block; width: 45px; height: 45px; margin: 5px; } div.pocket-piece.unavailable { opacity: 0.3; } div.pocket-piece { touch-action: none; } div.selected { background-color: aquamarine; } .hidden { display: none; } .center-cells > td {...
div.selectable, div.pocket-piece { display: inline-block; width: 45px; height: 45px; margin: 5px; } div.pocket-piece.unavailable { opacity: 0.3; } div.pocket-piece { touch-action: none; } div.selected { background-color: aquamarine; } .hidden { display: none; } .center-cells > td {...
Disable heavy animations on small screens
/* For small screens */ @media screen and (max-width: 390px) { html { font-size: 80%; } } /* For very small screens */ @media screen and (max-width: 350px) { html { font-size: 70%; } } /* For mini screens */ @media screen and (max-width: 300px) { html { font-size: 60%; } } /*-------------------------...
/* For small screens */ @media screen and (max-width: 390px) { html { font-size: 80%; } } /* For very small screens */ @media screen and (max-width: 350px) { html { font-size: 70%; } } /* For mini screens */ @media screen and (max-width: 300px) { html { font-size: 60%; } } /*-------------------------...
Add hover on bottom icon
* { margin: 0; padding: 0; } .site-footer{ position:relative; margin-top:40px; padding:40px 0; font-size:12px; line-height:1.5; color:#777; border-top:2px solid #eee } .site-footer .octicon-mark-github { position: absolute; left: 50%; color: #ccc; }
* { margin: 0; padding: 0; } .site-footer{ position:relative; margin-top:40px; padding:40px 0; font-size:12px; line-height:1.5; color:#777; border-top:2px solid #eee } .site-footer .octicon-mark-github { position: absolute; left: 50%; color: #ccc; } .site-footer .octic...
Copy Kwc_Abstract_Image styling to ParentImage
.kwcClass .kwcBem__container { height: 0; position: relative; overflow: hidden; } .kwcClass img { position: absolute; height: 100%; width: 100%; top: 0; left: 0; }
.kwcClass { display: block; margin: 0px; } .kwcClass .kwcBem__outerContainer { display: block; } .kwcClass .kwcBem__container { height: 0; position: relative; overflow: hidden; display: block; } .kwcClass img { position: absolute; height: 100%; width: 100%; top: 0; left:...
Divide comments directly following each other
.platon-comments { max-width: 40rem; } .platon-comment > * { margin-left: 58px; } .platon-comment > .platon-avatar { float: left; margin: 0 0.5rem 0.5rem 0; width: 48px; } .platon-avatar img { width: 48px; height: 48px; } .platon-actions + .platon-comment, .platon-actions + .platon-form ...
.platon-comments { max-width: 40rem; } .platon-comment > * { margin-left: 58px; } .platon-comment > .platon-avatar { float: left; margin: 0 0.5rem 0.5rem 0; width: 48px; } .platon-avatar img { width: 48px; height: 48px; } .platon-comment + .platon-comment, .platon-actions + .platon-comme...
Include text-shadow for homepage title
/** * Icons */ .icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; } .icon > svg path { fill: $grey-color; }
/** * Icons */ .icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; } .icon > svg path { fill: $grey-color; } .page-title { text-shadow: 0 0 15px rgba(0,0,0,0.5); }
Revise a color for mixed content page
/* [XUL] Change the location bar color for secure sites */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #urlbar[pageproxystate="valid"] #identity-box.verifiedIdentity { background-color: #efe !important; } #urlbar[pageproxystate="valid"] #identity-box.verifiedDomain, #urlbar[pagepro...
/* [XUL] Change the location bar color for secure sites */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #urlbar[pageproxystate="valid"] #identity-box.verifiedIdentity { background-color: #efe !important; } #urlbar[pageproxystate="valid"] #identity-box.verifiedDomain, #urlbar[pagepro...
Set default input width to zero.
.input { position: relative; } .dim > :not(:hover) { opacity: .5; } .search { padding-right: .25rem; } .prefix { padding-right: .25rem; } .suffix { padding-left: .25rem; } .input input { width: 0; } .input input, .input textarea { font-size: .9rem; display: flex; flex-grow: 1; ...
.input { position: relative; } .dim > :not(:hover) { opacity: .5; } .search { padding-right: .25rem; } .prefix { padding-right: .25rem; } .suffix { padding-left: .25rem; } .input input { width: 0; } .input input, .input textarea { font-size: .9rem; display: flex; flex-grow: 1; ...
Adjust the image height. Make it taller.
.zci--googleplus .tile--basic-image .tile__media { height: 17em; } .zci--googleplus .tile--basic-image .tile__media__img { margin-top: 0; }
Add red and :hover styles to details view
.preview a.label.blocked { background-color: hsl(349, 69%, 46%); border-radius: 20px; color: white; margin: 0 2px; padding: 1px 6px 1px 6px; white-space: nowrap; }
.preview a.label.blocked { background-color: hsl(349, 69%, 46%); border-radius: 20px; color: white; margin: 0 2px; padding: 1px 6px 1px 6px; white-space: nowrap; } .labels_maker .selected.labels li a.label.blocked, .labels_maker .selected.labels li a.label.blocked + a.remove { background-color: hsl(349, ...
Make the prompt text for players and positions a little larger, and fill the whole width with that text-box.
/* assume viewport is 414 x 736 */ body { line-height: 30px; font-family: sans-serif; font-size: large; } table { line-height: 30px; font-size: large; } .player { } .field-row { width: 100%; text-align: center; } .inline-button { font-size: medium; } .futsal-floor { background-ima...
/* assume viewport is 414 x 736 */ body { line-height: 30px; font-family: sans-serif; font-size: large; } table { line-height: 30px; font-size: large; } .player { } .field-row { width: 100%; text-align: center; } .inline-button { font-size: medium; } .futsal-floor { background-ima...
Change focus colour to mid orange, and remove focus for brand logo
/* For image replacement */ .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; } .ir br { display: none; } /* Hide for both screenreaders and browsers */ .hidden { display: none; visibility: hidden; } /* Hide only visually, but have it availabl...
/* For image replacement */ .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; } .ir br { display: none; } /* Hide for both screenreaders and browsers */ .hidden { display: none; visibility: hidden; } /* Hide only visually, but have it availabl...
Change the posts class to center-content.
@import "monokai.css"; .spacer { height: 80px; } .post-preview { font-size: 2.3437em; padding: 0; margin-bottom: 10px; } .tags { margin-bottom: 10px; } .article-footer { padding: 0px; } .posts { max-width: 85%; margin: 0 auto; } @media (max-width: 768px) { .spacer { height: 50px; } .pos...
@import "monokai.css"; .spacer { height: 80px; } .post-preview { font-size: 2.3437em; padding: 0; margin-bottom: 10px; } .tags { margin-bottom: 10px; } .article-footer { padding: 0px; } .center-content { max-width: 85%; margin: 0 auto; } @media (max-width: 768px) { .spacer { height: 50px; ...
Make left border of blockquotes a bit brighter
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-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; } code, pre { font-family: "source-cod...
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-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; } code, pre { font-family: "source-cod...
Set min-height for resizable textarea
body { display: flex; flex-direction: column; } .content { flex: 1 0 auto; margin: 8px; } #buttons { height: 35px; display: flex; justify-content: flex-end; align-items: flex-end; margin: 10px; } table { width: 100%; } th { text-align: left; vertical-align: baseline; ...
body { display: flex; flex-direction: column; } .content { flex: 1 0 auto; margin: 8px; } #buttons { height: 35px; display: flex; justify-content: flex-end; align-items: flex-end; margin: 10px; } table { width: 100%; } th { text-align: left; vertical-align: baseline; ...
Add Arial as the font fallback
.debugger { display: flex; flex-direction: column; height: 100%; font-family: "Helvetica Neue"; color: #333; background-color: #FAFAFA; } .toolbar { flex: 0 0 40px; display: flex; } .content { flex: 1; display: flex; } .loading { text-align: center; } .loading h3 { color: #333; } .disabled ...
.debugger { display: flex; flex-direction: column; height: 100%; font-family: "Helvetica Neue", Arial; color: #333; background-color: #FAFAFA; } .toolbar { flex: 0 0 40px; display: flex; } .content { flex: 1; display: flex; } .loading { text-align: center; } .loading h3 { color: #333; } .di...
Fix second from top in technical
#second_from_top { display: block; position: relative; left: 100px; top: 820px; } #third_from_top { display: block; position: relative; left: 100px; top: 830px; } #fourth_from_top { display: block; position: relative; left: 100px; top: 840px; }
#second_from_top { display: block; position: relative; left: 100px; top: 825px; } #third_from_top { display: block; position: relative; left: 100px; top: 835px; } #fourth_from_top { display: block; position: relative; left: 100px; top: 845px; }
Replace column CSS with flexbox styling
/* main.css */ .container { background: #eee; overflow: auto; } .container .col { width: 27%; padding: 30px 3.15% 0; float: left; } /* TODO 3 - style the page */ @media screen and (max-width: 48rem) { .container .col { width: 95%; } } /* TODO 5.2 - use flexbox */ /* TODO 5.4 - use media q...
/* main.css */ /* .container { background: #eee; overflow: auto; } .container .col { width: 27%; padding: 30px 3.15% 0; float: left; } /* TODO 3 - style the page @media screen and (max-width: 48rem) { .container .col { width: 95%; } } */ .container { display: -webkit-box; /* OLD - iOS 6-...
Fix carousel and primary-button a11y issues
body { background-color: #34495e; } html { padding: 0 10px; } p, h1, h2, h3, h4 { color: #ecf0f1; } .ghetto-alert-container { position: fixed; width: calc(100% - 50px); top: 0; height: 100px; } .ghetto-alert { position: relative; width: fit-content; margin: 0 auto; z-ind...
body { background-color: #34495e; } html { padding: 0 10px; } p, h1, h2, h3, h4 { color: #ecf0f1; } .ghetto-alert-container { position: fixed; width: calc(100% - 50px); top: 0; height: 100px; } .ghetto-alert { position: relative; width: fit-content; margin: 0 auto; z-ind...
Put footer link padding in the correct place
.MainFooter-footer { background-color: #222629; bottom: 0; color: white; font-weight: bold; padding: 10px; position: fixed; text-align: center; width: 100%; } .SectionBody { padding-bottom: 100px; } .MainFooter-footer-link a { color: white; text-transform: uppercase; } .MainFooter-footer-link::...
.MainFooter-footer { background-color: #222629; bottom: 0; color: white; font-weight: bold; padding: 10px; position: fixed; text-align: center; width: 100%; } .SectionBody { padding-bottom: 100px; } .MainFooter-footer-link a { color: white; text-transform: uppercase; padding-right: 30px; }
Add gap to image card on smaller screen sizes
.kg-gallery-card, .kg-image-card { --gap: 1.2rem; } .kg-image-card:not(.kg-card-hascaption) + .kg-image-card, .kg-image-card:not(.kg-card-hascaption) + .kg-gallery-card, .kg-gallery-card:not(.kg-card-hascaption) + .kg-image-card, .kg-gallery-card:not(.kg-card-hascaption) + .kg-gallery-card { margin-top: var(--...
.kg-gallery-card, .kg-image-card { --gap: 1.2rem; } .kg-image-card:not(.kg-card-hascaption) + .kg-image-card, .kg-image-card:not(.kg-card-hascaption) + .kg-gallery-card, .kg-gallery-card:not(.kg-card-hascaption) + .kg-image-card, .kg-gallery-card:not(.kg-card-hascaption) + .kg-gallery-card { margin-top: var(--...
Make link in .masthead-title blue
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-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; } code, pre { font-family: "source-cod...
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-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; } code, pre { font-family: "source-cod...
Tweak the docs a bit
blockquote { background: #f9f9f9; font-size: 0.9em; border-left: 5px solid #ccc; margin: 1.5em 10px; padding: 0.0em 0px; quotes: "\201C""\201D""\2018""\2019"; }
blockquote { background: #f9f9f9; font-size: 0.8em; border-left: 5px solid #ccc; margin: 1.5em 10px; padding: 0.0em 0px; quotes: "\201C""\201D""\2018""\2019"; } .md-typeset h1 { font-size: 1.7em; font-weight: 400; color: rgba(0,0,0,.87); } .md-typeset h2 { font-size: 1.3em; font-weight: 400; color: rgba(0...
Build and publish in bookdown
.book .book-summary .book-search { padding: 6px; background: transparent; position: absolute; top: -50px; left: 0px; right: 0px; transition: top 0.5s ease; } .book .book-summary .book-search input, .book .book-summary .book-search input:focus, .book .book-summary .book-search input:hover { width: 100%; ...
Fix vertical gradient shadow in gradient box
.wrapper { } .content { position: relative; } .shadow { position: absolute; top: 0; left: 0; bottom: 0; right: 0; pointer-events: none; max-height: var(--zero-if-two-column, 0); } .gradient { max-height: none; } .long .shadow { bottom: -100vh; } .root .withShadow { text-shadow: 0px 1px min(5p...
.wrapper { } .content { position: relative; } .shadow { position: absolute; top: 0; left: 0; bottom: 0; right: 0; pointer-events: none; max-height: var(--zero-if-two-column, 0); } .gradient .shadow { max-height: none; } .long .shadow { bottom: -100vh; } .root .withShadow { text-shadow: 0px 1p...
Add some css love :/
.App { text-align: center; } .App-logo { animation: App-logo-spin infinite 20s linear; height: 80px; } .App-header { background-color: #222; height: 150px; padding: 20px; color: white; } .App-intro { font-size: large; } @keyframes App-logo-spin { from { transform: rotate(0deg); } to { transform:...
.App { text-align: center; } .App-logo { animation: App-logo-spin infinite 20s linear; height: 80px; } .App-header { background-color: #222; /*height: 150px; padding: 20px;*/ color: white; } .App-intro { font-size: large; } .App nav { background: #282828; padding:8px; color:white; } .App nav ...
Add ability to target breakpoints for border-width.
/* BORDER WIDTHS Base: bw = border-width Modifiers: 0 = 0 width border 1 = 1st step in border-width scale 2 = 2nd step in border-width scale 3 = 3rd step in border-width scale 4 = 4th step in border-width scale 5 = 5th step in border-width scale Media Query Extensions:...
/* BORDER WIDTHS Base: bw = border-width Modifiers: 0 = 0 width border 1 = 1st step in border-width scale 2 = 2nd step in border-width scale 3 = 3rd step in border-width scale 4 = 4th step in border-width scale 5 = 5th step in border-width scale Media Query Extensions:...
Add a bit of padding
.blogtext{ margin-top: 80px; } nav{ top:0px; margin-top: 0px; } #top{ margin-top: 0px; }
.blogtext{ margin-top: 80px; padding: 15px; } nav{ top:0px; margin-top: 0px; } #top{ margin-top: 0px; }
Make indicator text white with black shadow
.interface { position: relative; background-color: grey; } .chooser { /* flex container */ display: flex; align-items: center; justify-content: center; height: 100vh; } .answer { /*border: 3px solid red;*/ /* flex container */ display: flex; align-items: center; justify-content: center; /...
.interface { position: relative; background-color: grey; } .chooser { /* flex container */ display: flex; align-items: center; justify-content: center; height: 100vh; } .answer { /*border: 3px solid red;*/ /* flex container */ display: flex; align-items: center; justify-content: center; /...
Add styles for table and hover
.trComplete{ text-decoration: line-through; } .testgrid td{ min-width: 50px; } .editablegrid-action{ min-width:75px; } .label-search{ cursor:pointer; } .btnComplete:hover{ background-color: #0b0; } .btnDelete:hover{ background-color: #d00; }
.trComplete{ text-decoration: line-through; } .testgrid td{ min-width: 50px; } .editablegrid-action{ min-width:75px; } .label-search{ cursor:pointer; } .btnComplete:hover{ background-color: #0b0; } .btnDelete:hover{ background-color: #d00; } #gridList table{ border-collapse: collapse; b...
Support for new Inoreader style
/* Show URI of article for Inoreader */ @namespace url("http://www.w3.org/1999/xhtml"); @-moz-document domain("www.inoreader.com") { /* Column view */ #three_way_contents .article_title_link::after { content: attr(href); display: block; white-space: nowrap; overflow: hidden; text-overflow: ell...
/* Show URI of article for Inoreader */ @namespace url("http://www.w3.org/1999/xhtml"); @-moz-document domain("www.inoreader.com") { /* Column view */ #three_way_contents .article_title_link::after { content: attr(href); display: block; white-space: nowrap; overflow: hidden; text-overflow: ell...
Fix the horizontal scrollbar on mobile
.widget-slider .rc-slider-handle, .widget-slider .rc-slider-dot-active { border-color: #e9e9e9; border: 2px solid #e9e9e9; } .widget-slider.has-error .rc-slider-track, .widget-slider.has-error .rc-slider-rail { background-color: #a94442; } .rc-slider.rc-slider-with-marks { padding-bottom: 25px; } .r...
.widget-slider .rc-slider-handle, .widget-slider .rc-slider-dot-active { border-color: #e9e9e9; border: 2px solid #e9e9e9; } .widget-slider.has-error .rc-slider-track, .widget-slider.has-error .rc-slider-rail { background-color: #a94442; } .rc-slider-mark-text { width: auto !important; margin-lef...
Use sans-serif instead of serif as default font.
html, body { margin: 0; padding: 0; height: 100%; width: 100%; color: #000; background: #FFF; } body { font: 12px/18px "Open Sans", serif; text-align: center; background: url(background-light.jpg); background-size: cover; } p { margin: 0; } p span { font-weight: bold !imp...
html, body { margin: 0; padding: 0; height: 100%; width: 100%; color: #000; background: #FFF; } body { font: 12px/18px "Open Sans", sans-serif; text-align: center; background: url(background-light.jpg); background-size: cover; } p { margin: 0; } p span { font-weight: bold...
Add overflow hidden to a menu item by default to fix menu items with floats @rev rdewsbury@
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright (C) 2013 salesforce.com, inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Adjust font size of results
label.timespan { margin-left: 20px; } .results { margin-top: 1em; } .result { margin: 0.5em 0; }
label.timespan { margin-left: 20px; } .results { margin-top: 1em; } .result { margin: 0.5em 0; } .title { font-size: 1.2em; } .updated_at, .contet { font-size: 0.8em; }
Use inline-block for sprite images.
.navigation { background-image: url(/images/navigation-fab48ca0780cf63b2493ea6e58411505.png); display: table-cell; width: 24px; height: 24px; } .navigation-back { background-position: 0 0; } .navigation-down { background-position: -24px 0; } .navigation-first { background-position: -48px 0; } .navigat...
.navigation { background-image: url(/images/navigation-fab48ca0780cf63b2493ea6e58411505.png); display: inline-block; width: 24px; height: 24px; } .navigation-back { background-position: 0 0; } .navigation-down { background-position: -24px 0; } .navigation-first { background-position: -48px 0; } .navig...
Use cursor pointer inside nodes
.command-logger { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: #1e1e1e; color: #eee; overflow: auto; z-index: 99; padding: 20px; } .command-logger .category-header { text-align: center; padding-bottom: 10px; } .command-logger .tree-map { margin: auto; pos...
.command-logger { position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; background: #1e1e1e; color: #eee; overflow: auto; z-index: 99; padding: 20px; } .command-logger .category-header { text-align: center; padding-bottom: 10px; } .command-logger .tree-map { margin: auto; pos...
Correct casing with folder name
.masonry-layout { background-color: #EFEFEF; } .masonry-layout .masonry-item { border-width: 1px; margin: 10px 10px 10px 10px; width: 280px; border-color: #888; border-style: solid; border-radius: 3px; box-shadow: rgba(0,0,0,0.5) 0px 0px 3px; box-sizing: border-box; background-c...
Add a border and subtle inset shadow when panes are split.
* { margin: 0; padding: 0; } body { font-family: Lucida Grande; font-size: 12px; } #root-view { height: 100%; height: 100%; overflow-y: auto; position: relative; background-image: url(static/images/linen.png); } .column { position: absolute; width: 100%; height: 100%; overflow-y: hidden; } ...
* { margin: 0; padding: 0; } body { font-family: Lucida Grande; font-size: 12px; } #root-view { height: 100%; height: 100%; overflow-y: auto; position: relative; background-image: url(static/images/linen.png); } .column { position: absolute; width: 100%; height: 100%; overflow-y: hidden; } ...
Fix foundation style leaking on map controls
.root { background: var(--color-white); border-color: var(--color-greyLighter); border-radius: 2px; border-style: solid; border-width: 1px; color: var(--color-grey); cursor: pointer; display: inline-block; font-family: var(--font-avenir); font-size: var(--fontsize-small-i); font-weight: 700; lin...
.root { background: var(--color-white); border-color: var(--color-greyLighter); border-radius: 2px; border-style: solid; border-width: 1px; color: var(--color-grey); cursor: pointer; display: inline-block; font-family: var(--font-avenir); font-size: var(--fontsize-small-i); font-weight: 700; lin...
Add styling to input box and div to enable drag and drop
#filesId { width: 100%; height: 100%; opacity: 0; } #dropZone { width: 600px; height: 600px; background-color: red; color: white; }
Add styling to nav dropdowns.
.navbar, .navbar.navbar-default { background-color: #990000; } .navbar-inverse { background-color: black; } #logo { width: 280px; position: absolute; bottom: 1em; right: 0; } table.calendar { border-spacing: .5em; margin-left: auto; margin-right: auto; } table.calendar td { vertical-align: midd...
.navbar, .navbar.navbar-default { background-color: #990000; } .navbar-inverse { background-color: black; } ul.nav.navbar-nav li.dropdown ul li a:hover { color: #990000; } #logo { width: 280px; position: absolute; bottom: 1em; right: 0; } table.calendar { border-spacing: .5em; margin-left: auto; ...
Reduce contrast of main reading font
@import url(http://fonts.googleapis.com/css?family=Lato:400,700); * { margin: 0; padding: 0; } html { font-family: "Lato", "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-size: 14px; font-weight: 400; } header { min-height: 100px; background-color: rgb(0,106,20); } article { width: 66%; margin: 0 2.6e...
@import url(http://fonts.googleapis.com/css?family=Lato:400,700); * { margin: 0; padding: 0; } html { font-family: "Lato", "Helvetica Neue", "Helvetica", "Arial", sans-serif; font-size: 14px; font-weight: 400; } body { color: rgb(68,68,68) } header { min-height: 100px; background-color: rgb(0,106,20); } artic...
Change margin on nav bar
body { background-image: url("blog-background-image.jpg"); } .background { margin-top: 30px; margin-right: 85px; margin-left: 75px; position: fixed; height: 100%; background-color: white; border: 2px solid #d3d3d3; border-radius: 20px; border-bottom: -50px; padding-top: 20px; padding-left: 30px...
body { background-image: url("blog-background-image.jpg"); } .background { margin-top: 30px; margin-right: 85px; margin-left: 75px; position: fixed; height: 100%; background-color: white; border: 2px solid #d3d3d3; border-radius: 20px; border-bottom: -50px; padding-top: 20px; padding-left: 30px...
Use Fira Sans for WayFinder
.root { padding: 1rem; } .items { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: 0 1rem; } .item { background: #475871; margin-bottom: 1px; width: 15rem; &:first-child { border-radius: 5px 5px 0 0; } &:last-child { border-radius: 0 0 5px...
.root { padding: 1rem; } .items { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: 0 1rem; } .item { background: #475871; margin-bottom: 1px; font-family: sans-serif; width: 15rem; &:first-child { border-radius: 5px 5px 0 0; } &:last-child {...
Break hover tooltip content line at newline chars
.CodeMirror-hover-tooltip { background-color: infobackground; border: 1px solid black; border-radius: 4px 4px 4px 4px; color: infotext; font-family: monospace; font-size: 10pt; overflow: hidden; padding: 2px 5px; position: fixed; z-index: 100; max-width: 600px; opacity: 0; transition: opacity .4s; -moz-tr...
.CodeMirror-hover-tooltip { background-color: infobackground; border: 1px solid black; border-radius: 4px 4px 4px 4px; color: infotext; font-family: monospace; font-size: 10pt; overflow: hidden; padding: 2px 5px; position: fixed; z-index: 100; max-width: 600px; opacity: 0; white-space: pre-wrap; transitio...
Add 2em padding for all tables
.brand { font-size: 75%; font-family: monospace; } .brand_left { float: left; } .brand_right { text-align: right; } .package { font-family: monospace; font-weight: bold; } .attribute, .class, .command, .constant, .element, .file, .function, .keyword, .type, .variable { font-family: monospace; } .exam...
.brand { font-size: 75%; font-family: monospace; } .brand_left { float: left; } .brand_right { text-align: right; } .package { font-family: monospace; font-weight: bold; } .attribute, .class, .command, .constant, .element, .file, .function, .keyword, .type, .variable { font-family: monospace; } .exam...
Increase font-weight for full-view messages
.full-message { display: flex; flex-direction: column; justify-content: center; height: 100%; font-size: 25px; font-weight: 100; padding: 30px; margin: auto; text-align: center; a { text-decoration: none; &:hover { text-decoration: none; } } button { cursor: pointer; ...
.full-message { display: flex; flex-direction: column; justify-content: center; height: 100%; font-size: 25px; padding: 30px; margin: auto; text-align: center; a { text-decoration: none; &:hover { text-decoration: none; } } button { cursor: pointer; font-size: 1em; ...
Remove lines and change image sizes
body { background-color: #0277bd; } font { color: #0277bd; } a { color: yellow; font-family: "Times New Roman", Times, serif; font-size: 180%; } /* Style the buttons that are used to open and close the accordion panel */ button.accordion { background-color: #0277bd; font-family: "Times New Roman", T...
body { background-color: #0277bd; } font { color: #0277bd; } img{ display: inline; } a { color: yellow; font-family: "Times New Roman", Times, serif; font-size: 180%; display: inline; } /* Style the buttons that are used to open and close the accordion panel */ button.accordion { background-co...
Hide sublinks on smaller screen sizes
.banner-sub { display: block; background: #535353; } .banner-sub__inner { min-width: 320px; max-width: 960px; margin: 0 auto; padding: 0.25em 1.5em; text-align: right; } .banner-sub__link { font-size: 0.8em; color: whitesmoke; text-transform: uppercase; text-decoration: non...
.banner-sub { display: block; background: #535353; } .banner-sub__inner { min-width: 320px; max-width: 960px; margin: 0 auto; padding: 0.25em 1.5em; text-align: right; } .banner-sub__link { font-size: 0.8em; color: whitesmoke; text-transform: uppercase; text-decoration: non...
Remove empty space around body
div { padding: 0; border: 0; margin: 0; } #container-for-title-and-board { background-color: black; } #title-west { background-color: cyan; display: none; } #title-north { background-color: blue; } #board-area { background-color: grey; } #info-south { background-color: red; } #info-east { background...
div, body { padding: 0; border: 0; margin: 0; } #container-for-title-and-board { background-color: black; } #title-west { background-color: cyan; display: none; } #title-north { background-color: blue; } #board-area { background-color: grey; } #info-south { background-color: red; } #info-east { back...
Reduce disp margin, make about text 1em
body, #disp{text-align:center;list-style-position:inside;background-color:#ffffff;font-size:2em;} #about, #txt{font-size:.75em !important;} a{color:#2f4f4f;} a:link{text-decoration:none;} a:visited{text-decoration:none;} a:hover{text-decoration:none;color:#ff0000;} a:active{text-decoration:none;color:#ff69b4;}
body, #disp{text-align:center;list-style-position:inside;background-color:#ffffff;font-size:2em;} #disp{margin-bottom:50px;} #about, #txt{font-size:1em !important;} a{color:#2f4f4f;} a:link{text-decoration:none;} a:visited{text-decoration:none;} a:hover{text-decoration:none;color:#ff0000;} a:active{text-decoration:none...
Add cursor style via angular-ui.github.io/bootstrap/
.indent1 { text-indent: 1rem; } .indent2 { text-indent: 2rem; } .indent3 { text-indent: 3rem; } .indent4 { text-indent: 4rem; } .scrollable { overflow: scroll; height: 30rem; } label.light { font-weight: normal; } .search-help { padding-top: 100px; padding-bottom: 100px; fo...
.indent1 { text-indent: 1rem; } .indent2 { text-indent: 2rem; } .indent3 { text-indent: 3rem; } .indent4 { text-indent: 4rem; } .scrollable { overflow: scroll; height: 30rem; } label.light { font-weight: normal; } .search-help { padding-top: 100px; padding-bottom: 100px; fo...
Remove broken background image link.
body { padding-top: 65px; background-image: url(http://www.lafeens.com/wp-content/uploads/2012/12/donuts_background-e1355174695278.jpg); background-size: cover; padding: 20px; } #header { margin-bottom: 50px; } #footer { width: 100%; display: table; text-align: center; background-color: orange; } #...
body { padding-top: 65px; background-size: cover; padding: 20px; } #header { margin-bottom: 50px; } #footer { width: 100%; display: table; text-align: center; background-color: orange; } #copyright { padding: 15px; } .message { background-color: #FFEB99; border-right: 2px solid #eeeeee; bord...
Add breathing room at above and below all activity indicators
Button { font-size: 42; horizontal-align: center; } ActivityIndicator { width: 30; color: #2E6DAD; } Label { padding: 15; } ActionBar { color: white; background-color: #2E6DAD; } .title { font-size: 30; horizontal-align: center; margin: 20; } .message { font-size: 20; ...
Button { font-size: 42; horizontal-align: center; } ActivityIndicator { margin: 10 0; width: 30; color: #2E6DAD; } Label { padding: 15; } ActionBar { color: white; background-color: #2E6DAD; } .title { font-size: 30; horizontal-align: center; margin: 20; } .message { ...
Remove left margin, index now fixed
.debug { border: 1px solid red;} .b-1 { border: 1px solid; } .bcolor{ background-color: #2CA6CB;} .white-with-blue-shadow { margin-left: 0.75em; text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue; color: white; font: 1.5em serif; } .white-with-blue-shadow-small { margin-left: 0.75em; tex...
.debug { border: 1px solid red;} .b-1 { border: 1px solid; } .bcolor{ background-color: #2CA6CB;} .white-with-blue-shadow { text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0.2em blue; color: white; font: 1.5em serif; } .white-with-blue-shadow-small { text-shadow: 1px 1px 2px black, 0 0 1em blue, 0 0 0...
Fix to compensate for bracket activeline background change
.CodeMirror pre { padding: 0 2px; } .CodeMirror-scroll { background-color: transparent; } /* * z-index override to make sure the cursor is visible when different addons, * such as matchbracket block the cursor's visiblity when settings a background * color as I do in the Visual Studio theme. */ .CodeMirror-cursor {...
.CodeMirror pre { padding: 0 2px; } .CodeMirror-scroll { background-color: transparent; } /* * z-index override to make sure the cursor is visible when different addons, * such as matchbracket block the cursor's visiblity when settings a background * color as I do in the Visual Studio theme. */ .CodeMirror-cursor {...
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; ...
Fix indentation and don't bother showing user generic avatar in the profile popup since it won't ever be anything else.
#my_characters { margin-top: 10px; } #chars_container span.avatar { width: 25px; height: 25px; display: inline-block; text-align: center; } #chars_container span.avatar img { max-width: 100%; max-height: 100%; margin-bottom: -7px; } #chars_container li { margin-top: 7px; } #chars_containe...
#my_characters { margin-top: 10px; } #chars_container span.avatar { width: 25px; height: 25px; display: inline-block; text-align: center; } #chars_container span.avatar img { max-width: 100%; max-height: 100%; margin-bottom: -7px; } #chars_container li { margin-top: 7px; } #chars_container .switch { float...
Make top important as to remove hover pulldown
.jumbotron { background: url("/images/croppedcat.jpg") center no-repeat; text-shadow: 0 0 1em black; color: white; } * { font-size: 16px; line-height: 2; } .popover_styles, .popover_styles:hover, .popover_styles:focus, .popover_styles:visited { text-decoration: none; color: gray; positio...
.jumbotron { background: url("/images/croppedcat.jpg") center no-repeat; text-shadow: 0 0 1em black; color: white; } * { font-size: 16px; line-height: 2; } .popover_styles, .popover_styles:hover, .popover_styles:focus, .popover_styles:visited { text-decoration: none; color: gray; positio...
Fix scrolling on signup modal
@import '_global-variables.css'; @import '_navbar.css'; @import '_buttons.css'; @import '_text.css'; @import '_footer.css'; @import '_divs.css'; @import '_pages.css'; @import '_dropzone.css'; /* The blurred background image shown on every page */ #blurred-people-background { width: 100%; height: 100%; z-index: -...
@import '_global-variables.css'; @import '_navbar.css'; @import '_buttons.css'; @import '_text.css'; @import '_footer.css'; @import '_divs.css'; @import '_pages.css'; @import '_dropzone.css'; /* The blurred background image shown on every page */ #blurred-people-background { width: 100%; height: 100%; z-index: -...
Clean up css and enhnace it some
h1 { margin-top: 0; } p:first-child { margin-top: 0; } p:last-child { margin-bottom: 0; } h1, h2, h3 { padding: 1em; text-align: center; background-color: #cccccc; border: .25em solid black; border-radius: .5em; } table { margin: 0 auto; } div.column { column-count: 2; column-gap: 2em; column-fill: aut...
div.column { background-color: #ffaa55; border: 1em solid #aa5500; border-radius: 4em; padding: 2em; margin: 2em; } h1 { margin-top: 0; } p, h1, h2, h3, div.infobox { margin: 12pt 0; } *:first-child, div.infobox:first-child { margin-top: 0; } *:last-child { margin-bottom: 0; } h1, h2, h3 { padding: 1em; ...
Handle print vs screen media.
.slide { top: 0; height: 100%; width: 100%; display: none; background: none; } .current-slide { display: block; }
.slide { width: 100%; background: none; } .current-slide { display: block; } @media screen { .slide { top: 0; height: 100%; display: none; } .current-slide { display: block; } } @media print { .slide { page-break-after: always; } }
Increase opacity on hover for header elements
/*@media screen and (min-width: 800px) { body:before, body:after { content: ""; position: fixed; background: #ac4142; left: 0; right: 0; height: 10px; } body:before { top: 0; } body:after { bottom: 0; } body { border-left: 10px solid #ac4142; ...
/*@media screen and (min-width: 800px) { body:before, body:after { content: ""; position: fixed; background: #ac4142; left: 0; right: 0; height: 10px; } body:before { top: 0; } body:after { bottom: 0; } body { border-left: 10px solid #ac4142; ...
Fix display on small devices
/* * styles for the share button */ .window-manifest-navigation > .mirador-btn.mirador-icon-canvas-cite-share { color: #929191; margin-right: 5px; } .window-manifest-navigation > .mirador-btn.mirador-icon-canvas-cite-share:hover { color: black; } /* * styles for the modal */ @media screen and (min-width: 80...
/* * styles for the share button */ .window-manifest-navigation > .mirador-btn.mirador-icon-canvas-cite-share { color: #929191; margin-right: 5px; } .window-manifest-navigation > .mirador-btn.mirador-icon-canvas-cite-share:hover { color: black; } /* * styles for the modal */ @media screen and (min-width: 80...
Change max-width for reduced font
/* LeechBlock options CSS style */ html { overflow-y: scroll; } body { background-color: #fff; color: #000; } hr { background-color: #888; color: #888; border: none; height: 1px; } legend { font-weight: bold; } #form-container { display: flex; justify-content: center; align-items: center; } #tabs { di...
/* LeechBlock options CSS style */ html { overflow-y: scroll; } body { background-color: #fff; color: #000; } hr { background-color: #888; color: #888; border: none; height: 1px; } legend { font-weight: bold; } #form-container { display: flex; justify-content: center; align-items: center; } #tabs { di...
Improve style for input component.
/* TODO: Provide different styles (analog to _button.css); */ .sc-input { max-width: 500px; height: 30px; line-height: 30px; border-radius: 15px; background: #fff; border: none; padding: 0 10px; } .sc-input.sm-centered { text-align: center; }
/* TODO: Provide different styles (analoge to _button.css); */ .sc-input { max-width: 500px; font-size: 12px; height: 30px; border-radius: 15px; background: #fff; border: none; padding: 0 10px; } .sc-input.sm-centered { text-align: center; }
Revert "Revert "Remove selected canvas element effect CSS.""
.selected-canvas-element { box-shadow: 0 0 16px black; background: rgba(255, 255, 255, 0.5); }
.selected-canvas-element { /* TODO: Add a proper selected canvas element effect. */ }
Optimize datatable style in order to improve table display
.modal-footer { border-top: 0px; } #login_modal { top:15% } th.dt-center, td.dt-center { text-align: center; } .popover-title { background-color: #000000; color: #FFFFFF; font-size: 20px; text-align:center; } #average { font-size: xx-large; color: #FF1A00; font-weight: bold; } #seenmovie...
.modal-footer { border-top: 0px; } #login_modal { top:15% } th.dt-center, td.dt-center { text-align: center; } .popover-title { background-color: #000000; color: #FFFFFF; font-size: 20px; text-align:center; } #average { font-size: xx-large; color: #FF1A00; font-weight: bold; } #seenmovie...
Add Pregressive Enhancement CSS if Flexbox not supported
/* main.css */ /* .container { background: #eee; overflow: auto; } .container .col { width: 27%; padding: 30px 3.15% 0; float: left; } /* TODO 3 - style the page @media screen and (max-width: 48rem) { .container .col { width: 95%; } } */ .container { display: -webkit-box; /* OLD - iOS 6-...
/* main.css */ /* Add Pregressive Enhancement CSS if Flexbox not supported */ .no-flexbox .container { background: #eee; overflow: auto; } .no-flexbox .container .col { width: 27%; padding: 30px 3.15% 0; float: left; } @media screen and (max-width: 48rem) { .no-flexbox .container .col { width:...
Make bottom left panel element more readable
@import "./explorer-tree-indent-and-guide.css"
@import url("./explorer-tree-indent-and-guide.css"); /* Make bottom left panel element more readable */ .statusbar-item.left.statusbar-entry { font-size: 14px; padding-left: 16px; color: white; }
Hide overflow-x on small devices
@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; }...
Move require_tree . to the bottom
/* * 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...
Remove underline on header links
body { padding-top: 60px; } .nav a.disabled, .nav a.disabled:hover { color: #666; } #cloud h3 { border-bottom: 1px solid #ddd; margin-bottom: 20px; margin-top: 40px; } #cloud a { color: #404040; } #feedback textarea { width: 40em; } #status td, #status_legend td { text-align: center;...
body { padding-top: 60px; } .nav a.disabled, .nav a.disabled:hover { color: #666; } h3 a:hover { text-decoration: none; } #cloud h3 { border-bottom: 1px solid #ddd; margin-bottom: 20px; margin-top: 40px; } #cloud a { color: #404040; } #feedback textarea { width: 40em; } #status td, ...
Remove confusing empty lines and comments
/* * 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...
Hide the "More" link in user script list since it is pretty useless.
#category-scripts > .category-icon, .addon[type=user-script] .icon, #detail-view[type=user-script] #detail-icon { list-style-image: url(chrome://greasemonkey/skin/icon32.png); } .addon.addon-view[type="user-script"] .details.button-link { display: none !important; } #greasemonkey-sort-bar { display: none; } pa...
#category-scripts > .category-icon, .addon[type=user-script] .icon, #detail-view[type=user-script] #detail-icon { list-style-image: url(chrome://greasemonkey/skin/icon32.png); } .addon.addon-view[type="user-script"] .details.button-link { display: none !important; } #greasemonkey-sort-bar { display: none; } pa...
Break words when content overflows
body { background-color: #191818; color: #fff; font-family: "Montserrat", sans-serif; } .container { width: 1240px; } .fade { color: rgba(255, 255, 255, 0.7); } .updated-at { color: rgba(0, 0, 0, 0.3); font-size: 12px !important; margin: 0; position: absolute; left: 0; right: 0; bottom: 8px...
body { background-color: #191818; color: #fff; font-family: "Montserrat", sans-serif; overflow-wrap: break-word; } .container { width: 1240px; } .fade { color: rgba(255, 255, 255, 0.7); } .updated-at { color: rgba(0, 0, 0, 0.3); font-size: 12px !important; margin: 0; position: absolute; left:...
Fix monospace font in CSS hints
/* * Copyright 2022 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. */ .hint-popup-wrapper { width: 400px; line-height: 1.1; font-size: 12px; } code { background-color: var(--color-background-elevation-1); p...
/* * Copyright 2022 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. */ .hint-popup-wrapper { width: 400px; line-height: 1.1; font-size: 12px; } code { background-color: var(--color-background-elevation-1); p...
Use flexbox for centering the content
:host { display: block; width: 100px; height: 100px; margin: 10px; text-align: center; position: relative; background: radial-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)); border-radius: 50%; font-size: 24px; text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8); vertical-align: midd...
:host { display: block; width: 100px; height: 100px; margin: 10px; position: relative; background: radial-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)); border-radius: 50%; font-size: 24px; text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8); color: #fff; } #reflection { width: 25%...
Fix up CSS for PDF in notebook outputs.
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-PDFContainer iframe { width: 100%; height: 100%; }...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-PDFContainer iframe { position: absolute; top: 0; ...
Use nicer × character for cross
.react-tagsinput { background-color: #fff; border: 1px solid #ccc; overflow: hidden; padding-left: 5px; padding-top: 5px; } .react-tagsinput-tag { background-color: #cde69c; border-radius: 2px; border: 1px solid #a5d24a; color: #638421; display: inline-block; font-family: sans-serif; font-size:...
.react-tagsinput { background-color: #fff; border: 1px solid #ccc; overflow: hidden; padding-left: 5px; padding-top: 5px; } .react-tagsinput-tag { background-color: #cde69c; border-radius: 2px; border: 1px solid #a5d24a; color: #638421; display: inline-block; font-family: sans-serif; font-size:...
Add positioning properties for elements on main page
[ng\:cloak], [ng-cloak], .ng-cloak { display: none; } .logo { height: 40px; width: 40px; } .nav-buttons { float: right; } a { text-decoration: none; } li { list-style-type: none; }
[ng\:cloak], [ng-cloak], .ng-cloak { display: none; } .logo { height: 40px; width: 40px; } .nav-buttons { float: right; } a { text-decoration: none; } li { list-style-type: none; } .movie-container { width: 100%; float: left; } .movie-list li { float: left; } .poster-container { width: 193px;...
Fix flex styling for match example
body { font-family: 'Source Sans Pro', sans-serif; padding: 0px 20px; } .title { font-size: 20pt; } .sheet { display: block; } .snippet { display: inline-flex; flex-direction: column; margin: 1em 0 1em 0; padding: 0px 20px; } .snippet > h2 { background-color: cornflowerblue; ...
body { font-family: 'Source Sans Pro', sans-serif; padding: 0px 20px; } .title { font-size: 20pt; } .sheet { display: block; } .snippet { display: inline-flex; flex-direction: column; margin: 1em 0 1em 0; padding: 0px 20px; } .snippet > h2 { background-color: cornflowerblue; ...
Change default font element to body instead of *
* { font-family: sans-serif; } #drop-zone { text-align: center; } #drop-zone .help-label { visibility: hidden; display: inline-block; margin: 0 auto; color: #999; margin: 1em; font-weight: bold; text-shadow: 1px 1px 0 #fff; } #drop-zone.drop-target { border: 3px dashed silver; background: #ddd...
body { font-family: sans-serif; } #drop-zone { text-align: center; } #drop-zone .help-label { visibility: hidden; display: inline-block; margin: 0 auto; color: #999; margin: 1em; font-weight: bold; text-shadow: 1px 1px 0 #fff; } #drop-zone.drop-target { border: 3px dashed silver; background: #...
Use steep icons on toggle buttons
.toggle-button.active a { color: #FFF; background: #282828; } #top-pane { position: absolute; left: 0; width: 100%; top: 0; height: 100vh; transition: height 0.3s; } #top-pane.contracted { height: 70vh; } #bottom-pane { position: absolute; left: 0; width: 100%; ...
.toggle-button a { font-family: steep-icons; } .toggle-button.active a { color: #FFF; background: #282828; } #top-pane { position: absolute; left: 0; width: 100%; top: 0; height: 100vh; transition: height 0.3s; } #top-pane.contracted { height: 70vh; } #bottom-pane { pos...
Remove the blur filter, as it is slow
/* Card */ .card img.main { position: absolute; width: calc(100% + 2rem); height: calc(100% + 2rem); max-width: calc(100% + 2rem); object-fit: cover; left: -1rem; top: -1rem; opacity: 0.2; filter: blur(0.5rem); } .card img.main ~ div { z-index: 1; } .card > .block:not(.subhead...
/* Card */ .card img.main { position: absolute; width: calc(100% + 2rem); height: calc(100% + 2rem); max-width: calc(100% + 2rem); object-fit: cover; left: -1rem; top: -1rem; opacity: 0.1; } .card img.main ~ div { z-index: 1; } .card > .block:not(.subheader):not(.simple) { ani...
Add background to progress bars
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); progressmeter{ min-width:140px; min-height:13px; margin:2px; border-radius:5px; border:2px solid; -moz-border-top-colors:#B26F00 #893B00; -moz-border-left-colors:#B26F00 #893B00; -moz-border-right-colors:#EED4A2 #B26F00; -moz-borde...
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); progressmeter{ min-width:140px; min-height:13px; margin:2px; border-radius:5px; border:2px solid; -moz-border-top-colors:#B26F00 #893B00; -moz-border-left-colors:#B26F00 #893B00; -moz-border-right-colors:#EED4A2 #B26F00; -moz-borde...
Update css for centering slide text horizontally
html, body { height: 100%; min-height: 100%; margin: 0; text-align: center; position: relative; } .slide { min-height:100%; position:relative; } .slide a { position: absolute; top: 50%; height: 10em; margin-top: -5em; } #slide1 { background: peachpuff; } #slide2 { background: lightcoral; } #slide3 { bac...
html, body { height: 100%; min-height: 100%; margin: 0; text-align: center; position: relative; } .slide { min-height:100%; position:relative; } .slide a { position: absolute; top: 50%; height: 10em; margin-top: -5em; margin-left: -3em; } #slide1 { background: peachpuff; } #slide2 { background: lightcor...
Fix scroll on small screens
/* TreeJS styling */ .treeview, .treeview ul { list-style-type: none; overflow: scroll; } .treeview li { text-indent: 1%; margin-top:0.2em; padding:0.15em 0 0.5em 1.5em; line-height: 22px; background-repeat:no-repeat; background-size: 24px 24px; } .treeview li.contains-items { background-image: url('icons/a...
/* TreeJS styling */ .treeview, .treeview ul { list-style-type: none; overflow: hidden; } .treeview li { text-indent: 1%; margin-top:0.2em; padding:0.15em 0 0.5em 1.5em; line-height: 22px; background-repeat:no-repeat; background-size: 24px 24px; } .treeview li.contains-items { background-image: url('icons/a...
Fix favicon sizes in password manager
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .contentPane { margin: 9px 8px...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .contentPane { margin: 9px 8px...
Make default resolved color lawngreen
.body { color: black; } .ng-promise-pending { color: orange; } .ng-promise-resolved { color: green; } .ng-promise-resolved.ng-promise-settled { color: greenyellow; } .ng-promise-rejected { color: red; } .ng-promise-rejected.ng-promise-settled { color: palevioletred; } /* First */ .first.ng-promise-re...
.body { color: black; } .ng-promise-pending { color: orange; } .ng-promise-resolved { color: lawngreen; } .ng-promise-resolved.ng-promise-settled { color: lightgreen; } .ng-promise-rejected { color: red; } .ng-promise-rejected.ng-promise-settled { color: palevioletred; } /* First */ .first.ng-promise...
Change hex to lower case
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap); /* Base Styling */ :root { --background: #0C0D25; --primary: white; font-size: 16px; } /* Document Body */ body { background: var(--background); colo...
@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap); /* Base Styling */ :root { --background: #0c0d25; --primary: white; font-size: 16px; } /* Document Body */ body { background: var(--background); colo...
Change second block technical relative stylesheet
#second_from_top { display: block; position: relative; left: 100px; top: 800px; }
#second_from_top { display: block; position: relative; left: 100px; }
Move container-fluid down on page
#login-container { margin: 0 auto; width: 40%; } .right-inner-addon { position: relative; } .right-inner-addon input { padding-right: 30px; } .right-inner-addon i { position: absolute; right: 0px; padding: 10px 12px; pointer-events: none; } .search-container { margin: 0 auto; width: 60...
#login-container { margin: 0 auto; width: 40%; } .right-inner-addon { position: relative; } .right-inner-addon input { padding-right: 30px; } .right-inner-addon i { position: absolute; right: 0px; padding: 10px 12px; pointer-events: none; } .search-container { margin: 0 auto; width: 60...