Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add margin and text color
body { background: blue; color: white; } h1 { font-style: Helvetica; color: red; } .boarding { padding: 25px 25px 25px 25px; border: solid; } #margin { margin-left: 25px; } #center { margin: auto; } a:visited { color: green; } a:link { color: red; } div { background-image: tahoeimage.jpg; }
body { background: blue; color: white; width: 100%; } header { text-align:center; } h1 { font-style: Helvetica; color: red; width: 100%; } .boarding { padding: 25px 25px 25px 25px; border: solid; } #margin { margin-left: 25px; } #center { margin: auto; } a:visited { color: green; } a:link { color: r...
Disable text highlighting in tabs
.basicTabs-container .tabs-list, .dynamicTabs-container .tabs-list { text-align: left; width: 100%; } .basicTabs-container .tabs-list .tab-item, .dynamicTabs-container .tabs-list .tab-item { font-weight: 600; font-size: 13px; display: inline-block; padding: 13px 15px; margin: 0; list-style: none; curs...
.basicTabs-container .tabs-list, .dynamicTabs-container .tabs-list { text-align: left; width: 100%; } .basicTabs-container .tabs-list .tab-item, .dynamicTabs-container .tabs-list .tab-item { font-weight: 600; font-size: 13px; display: inline-block; padding: 13px 15px; margin: 0; list-style: none; curs...
Fix chat compose area movement during pinning/unpinning.
@import 'base'; @import 'input'; .darkTheme {} .unpinned {} .form { padding: 2.4rem 1.2rem; padding-top: 10px; border-radius: 5px; } .formInput { @extend input; border: 0; height: 50px; display: block; padding: 1.2rem 1rem; line-height: 2.4rem; width: 100%; resize: none; co...
@import 'base'; @import 'input'; .darkTheme {} .unpinned {} .form { padding: 2.4rem 1.2rem; padding-top: 10px; border-radius: 5px; } .formInput { @extend input; border: 0; height: 50px; display: block; padding: 1.2rem 1rem; line-height: 2.4rem; width: 100%; resize: none; co...
Add time out information to css styling
.sliderBlank .irs-bar-edge, .sliderBlank .irs-bar { background: none; border: none; }
.sliderBlank .irs-bar-edge, .sliderBlank .irs-bar { background: none; border: none; } div#shiny-disconnected-overlay:before { content: "Your session has timed out. Please reload to start a new session"; text-align: center; font-size: 50pt; background-color: white; padding: 5%; width: 100%; position: absolute; ...
Increase the width of the sidebar
.td-todo-label { font-size: 1.5em; max-width: 200px; } .td-todo-element { border-bottom: #D7D7D7 1px solid; } .td-categories-sidebar { width: 50px; }
.td-todo-label { font-size: 1.5em; max-width: 200px; } .td-todo-element { border-bottom: #D7D7D7 1px solid; } .td-categories-sidebar { width: 100px; }
Remove box shadow from key
/* setting full-screen responsive background image to page */ html { background-image: url('./images/drum-background.jpeg'); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; background-position: center; } /* setting font of the whole body text */ body { font-f...
/* setting full-screen responsive background image to page */ html { background-image: url('./images/drum-background.jpeg'); background-repeat: no-repeat; background-size: cover; background-attachment: fixed; background-position: center; } /* setting font of the whole body text */ body { font-f...
Remove html, body selectors in favor of class
/* SYSTEM FONTS */ html, body { font-family: -apple-system, avenir, 'avenir next', roboto, noto, 'helvetica neue', helvetica, ubuntu, arial, sans-serif; } /* https://webkit.org/blog/3709/using-the-system-font-in-web-c...
/* SYSTEM FONTS */ .system-sans-serif { font-family: -apple-system, 'avenir next', avenir, roboto, noto, 'helvetica neue', helvetica, ubuntu, 'century gothic', 'franklin gothic', arial, sans-serif; } /* Reference: ht...
Add CSS for the schedule popup
p { margin: 0em 0em 5em; } table, td, tr { border: 1px solid black; border-collapse: collapse; } td.subject { width: 20em; text-align: center; font-size: 0.8em; }
Make website fill entire broswer window
*{margin:0;} h1{padding-bottom:10px;} h4{float:right;margin-top:10px;} p{margin:20px 0;} img{width:200px; height:100px; position: relative; left:400px; } .container{ width:960px; margin:0 auto; border-left:4px solid #000000; border-right:4px solid #000000; padding:0 20px; background-color: #FFFFFF; ...
body, html{min-height:100%;background-color: #999999;} *{margin:0;} h1{padding-bottom:10px;} h4{float:right;margin-top:10px;} p{margin:20px 0;} img{width:200px; height:100px; position: relative; left:400px; } .container{ width:960px; margin:0 auto; border-left:4px solid #000000; border-right:4px solid #...
Adjust text and link color in photo credit.
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 1em; padding-bottom: 3em; } .reveal .photo-credit { position: absolute; font-size: small; bottom: 1em; color: #aaa; }
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 1em; padding-bottom: 2em; } .reveal .photo-credit { position: absolute; font-size: x-small; bottom: 1em; color: #888; } .reveal .photo-credit a { color: #ccc; }
Update panels in AdminCP night theme
body { background-color: #222222; } .bg-primary { background-color: #375a7f !important; } .card { background-color: #303030 !important; border: 1px solid transparent; color: #fff; }
body { background-color: #222222; } .bg-primary { background-color: #375a7f !important; } .card { background-color: #303030 !important; border: 1px solid transparent; color: #fff; } .panel-body { background-color: #303030 !important; }
Fix slot height for three lines
.ScheduleSlot { border: 1px solid #fff; box-sizing: border-box; display: block; float: left; height: 76px; opacity: 1; position: relative; &--tone-light { color: var(--show-tone-dark); } &--active { opacity: 1; } &__inner { background: #e2e2e2; box-sizing: border-box; colo...
.ScheduleSlot { border: 1px solid #fff; box-sizing: border-box; display: block; float: left; height: 86px; opacity: 1; position: relative; &--tone-light { color: var(--show-tone-dark); } &--active { opacity: 1; } &__inner { background: #e2e2e2; box-sizing: border-box; colo...
Reduce with of help text in admin
/* When an inline has fieldsets, we don't use a blue heading, otherwise the * inline fieldset's heading is confused with the inline's heading. */ .inline-related h2 { color: #666; background-color: #f8f8f8; } .inline-related h2 .collapse-toggle { color: #447e9b; }
/* When an inline has fieldsets, we don't use a blue heading, otherwise the * inline fieldset's heading is confused with the inline's heading. */ .inline-related h2 { color: #666; background-color: #f8f8f8; } .inline-related h2 .collapse-toggle { color: #447e9b; } /* DJANGO ADMIN */ .help { max-width: 30...
Add class for breaking out of list padding
/* Override body padding in style.css */ body { padding-top: 0; } /* Override banner in style.css */ #banner h1 { font-stretch: normal; text-transform: none; font-family: "Open Sans",Calibri,Candara,Arial,sans-serif; font-size: 50px; } .footnote { font-size: 90%; } a.article-link:visited { ...
/* Override body padding in style.css */ body { padding-top: 0; } /* Override banner in style.css */ #banner h1 { font-stretch: normal; text-transform: none; font-family: "Open Sans",Calibri,Candara,Arial,sans-serif; font-size: 50px; } .footnote { font-size: 90%; } a.article-link:visited { ...
Add floatbox & fix code within
.floatright { float: right; margin: 1ex 0 1ex 1em; } .clearfix:after { content: " "; visibility: hidden; display: block; height: 0; clear: both; } figcaption h4 { font-style: italic; } .floatright figure { margin: 1ex 0; }
.floatright { float: right; margin: 1ex 0 1ex 1em; } .clearfix:after { content: " "; visibility: hidden; display: block; height: 0; clear: both; } figcaption h4 { font-style: italic; } .floatright figure { margin: 1ex 0; } .floatbox { float: right; } .floatbox pre { margin: 0...
Align dashboard icons to the top right
.grid { display: flex; flex-wrap: wrap; margin: -20px 0 0 -20px; } .grid .cell { flex: 1 0 33.3333%; padding: 20px 0 0 20px; } .grid .cell.wider { flex: 1 0 66.6666%; } .grid .cell a { color: currentColor; text-decoration: none; } .grid .cell a:hover .box { background-color: #f4f4f4; } .grid .cell ....
.grid { display: flex; flex-wrap: wrap; margin: -20px 0 0 -20px; } .grid .cell { flex: 1 0 33.3333%; padding: 20px 0 0 20px; } .grid .cell.wider { flex: 1 0 66.6666%; } .grid .cell a { color: currentColor; text-decoration: none; } .grid .cell a:hover .box { background-color: #f4f4f4; } .grid .cell ....
Add more padding to tables
table { border-collapse: collapse; } table, tr, th, td { border: 1px solid #9E9E9E; padding: 0 5px; } td { white-space: pre; }
table { border-collapse: collapse; } table, tr, th, td { border: 1px solid #9E9E9E; padding: 0.25em 0.25em; } td { white-space: pre; }
Fix css for loading logo.
html, body { width: 100%; height: 100%; } .loading-logo { background: url('/static/img/cg-logo.svg') no-repeat center; background-size: 100% 100%; height: 175px; left: 50%; max-width: calc(100% - 32px); position: absolute; top: 50%; transform: translate(-50%, -50%); width: 550px; }
html, body { width: 100%; height: 100%; } .loading-logo { background: url('/static/img/cg-logo.svg') no-repeat center; background-size: contain; height: 175px; left: 50%; max-width: calc(100% - 32px); position: absolute; top: 50%; transform: translate(-50%, -50%); width: 550px; }
Adjust sidebar margin on project overview page
.project-overview-sidebar .documents { max-height: calc(100vh - 189px); } .project-overview-sidebar .documents-card { flex-grow: 0 !important; flex-shrink: 0 !important; }
.project-overview-sidebar .documents { max-height: calc(100vh - 189px); } .project-overview-sidebar .documents-card { flex-grow: 0 !important; flex-shrink: 0 !important; } .project-overview-sidebar .card:first-child { margin: 0 0 10px 0; }
Adjust positioning for low resolution.
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 1em; padding-bottom: 2em; } .reveal .photo-credit { position: absolute; font-size: x-small; bottom: 1em; color: #888; } .reveal .photo-credit a { color: #ccc; } dt { color: #00C5CD; } .reveal .slides section .fragment...
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 1em; padding-bottom: 2em; } .reveal .photo-credit { position: absolute; font-size: x-small; bottom: 1em; color: #888; } .reveal .photo-credit a { color: #ccc; } dt { color: #00C5CD; } .reveal .slides section .fragment...
Make attribute names look a bit different form the values
fieldset { padding: 0px; } fieldset legend { cursor: pointer; cursor: hand; } fieldset legend:hover { background: #eee; } #addattributesb { margin-right: .2em; } table.attributes { width: 100%; margin: 0px; border: 0px; border-collapse: collapse; } table.attributes td.attrname { text-align: right; } table.at...
fieldset { padding: 0px; } fieldset legend { cursor: pointer; cursor: hand; } fieldset legend:hover { background: #eee; } #addattributesb { margin-right: .2em; } table.attributes { width: 100%; margin: 0px; border: 0px; border-collapse: collapse; } table.attributes td.attrname { text-align: right; } table.at...
Hide unimplemented stuff for presentation
.not-implemented { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; /*display: none;*/ } .not-implemented * { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; /*display: none;*/ }
.not-implemented { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; display: none; } .not-implemented * { color: rgba(0, 0, 255, 0.5) !important; background-color: #ddf !important; display: none !important; }
Add style rules to css sheet
body { margin: 0; height: 100%; width: 100%; } h1, footer { background-color: #000; color: #fff; margin: 0; padding-top: 20px; padding-bottom: 20px; } h1 { text-align: center; } h1, h2, span { text-transform: uppercase; } h2 { background-color: #000; color: #fff; text-align: center; } spa...
/*Base Rules*/ body { margin: 0; height: 100%; width: 100%; } h1, footer { background-color: #000; color: #fff; margin: 0; padding-top: 20px; padding-bottom: 20px; } h1 { text-align: center; } h1, h2, span { text-transform: uppercase; } h2 { background-color: #000; color: #fff; text-align:...
Add base css for cardbox app
/* Make something awesome! */ .cardstack { border: 3px solid rgb(18, 46, 83); } span.clickWholeDiv { position: absolute; width: 100%; height: 100%; top: 0; left: 0; /* edit: added z-index */ z-index: 1; /* edit: fixes overlap error in IE7/8, make sure you have an empty gif...
Move font-family declaration to body
@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: flex; flex-direction: row; justify-content: space-between; padding: 0; max-w...
@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:700); body { font-family: 'Roboto Mono'; } .header h1 { font-size: 54px; text-align: center; margin-bottom: 0; } .header ul { display: flex; flex-direction: row; justify-content: space-between; padding: 0; max-widt...
Add styling to the html file
body{ font-family: arial; font-size:18px; color:#333; margin: 0; padding:0; } header{ height:130px; padding-top:40px; background:#f4f4f4; text-align: center; border-bottom: #333 3px solid; } h1#heading{ margin: 0; padding: 0; } #container{ width:960px; margin:...
Reduce panelist section confetti background image breakpoint
.panelists-section { background-color: #141414; lost-utility: clearfix; @media only screen and (min-width : 1400px) { background-image: url(resources/images/confetti-dark.svg); background-repeat: no-repeat; background-position: right top; background-size: 400px 220px; } &__container { ma...
.panelists-section { background-color: #141414; lost-utility: clearfix; @media only screen and (min-width : 1000px) { background-image: url(resources/images/confetti-dark.svg); background-repeat: no-repeat; background-position: right top; background-size: 400px 220px; } &__container { ma...
Remove experimental "supports selector" check
@font-face { font-family: 'text-security'; src: url('text-security-compat.eot'); src: url('text-security-compat.eot?#iefix') format('embedded-opentype'), url('text-security-compat.woff2') format('woff2'), url('text-security-compat.ttf') format('truetype'); } /* Browser detection hack to enable the ...
@font-face { font-family: 'text-security'; src: url('text-security-compat.eot'); src: url('text-security-compat.eot?#iefix') format('embedded-opentype'), url('text-security-compat.woff2') format('woff2'), url('text-security-compat.ttf') format('truetype'); } /* Browser detection hack to enable the ...
Set a "max-width" and "overflow: hidden" for logs text.
/** * Tatoeba Project, free collaborative creation of multilingual corpuses project * Copyright (C) 2010 HO Ngoc Phuong Trang <tranglich@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Sof...
/** * Tatoeba Project, free collaborative creation of multilingual corpuses project * Copyright (C) 2010 HO Ngoc Phuong Trang <tranglich@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Sof...
Remove unuseful breakpoint in theme
@media (max-width: 768px) { .header { position: absolute; } /*sidebar*/ #sidebar { height: auto; overflow: hidden; position: absolute; width: 100%; z-index: 1001; } /* body container */ #main-content { margin: 0px!important; ...
@media (max-width: 768px) { .header { position: absolute; } /*sidebar*/ #sidebar { height: auto; overflow: hidden; position: absolute; width: 100%; z-index: 1001; } /* body container */ #main-content { margin: 0px!important; ...
Add a border to GVTs
/* Copyright © 2016 RunasSudo (Yingtong Li) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Thi...
/* Copyright © 2016 RunasSudo (Yingtong Li) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Thi...
Fix logo overlapping with map controls
:host { width: 100%; height: 100%; } .content { margin: 15px; } #logo { position: absolute; width: 100%; top: 1px; left: 1px; } #logo img { display: block; margin-left: auto; margin-right: auto; } #menu paper-fab { position: absolute; background: red; right: 5px; top: 5px; } .menu-toolb...
:host { width: 100%; height: 100%; } .content { margin: 15px; } #logo img { display: block; position: absolute; top: 0; left: 0; right: 0; margin: auto; } #menu paper-fab { position: absolute; background: red; right: 5px; top: 5px; } .menu-toolbar { margin: none; } .shuttle-map { widt...
Fix up some EPUB/MOBI styles
/* Styles specific to EPUB books */ body { color: purple; }
/* Styles specific to EPUB books */ .highlight pre { font-size: 82%; } code { font-size: 100%; }
Use en-dash as marker character in unordered lists
@import url('https://fonts.googleapis.com/css?family=PT+Sans'); body { font-family:"PT Sans", Verdana, sans-serif; } .inner { max-width:40em!important; }
@import url('https://fonts.googleapis.com/css?family=PT+Sans'); body { font-family:"PT Sans", Verdana, sans-serif; } .inner { max-width:40em!important; } ul>li:before { content: "–"; }
Fix favicon sizes in password manager
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); treechildren::-moz-tree-image(siteCol){ list-style-image:url(chrome://global/skin/global.png); -moz-image-region:rect(144px 16px 160px 0); width:16px; height:16px; -moz-margin-end:3px}
Tidy up list edit/delete controls.
section.ui-sortable-handle { padding: 3px; margin-bottom: 5px; } section.ui-sortable-handle h2 { margin-top: 0; } section.ui-sortable-handle.js-hover { cursor: move; border-radius: 5px; box-shadow: 0px 0px 1px 1px #999; background-color: #f8f8f8; }
section.ui-sortable-handle { padding: 3px; margin-bottom: 5px; } section.ui-sortable-handle h2 { margin-top: 0; } section.ui-sortable-handle.js-hover { cursor: move; border-radius: 5px; box-shadow: 0px 0px 1px 1px #999; background-color: #f8f8f8; } .curated-lists ul { padding-left: 0; } .curated-lists l...
Change second third block blog index css
#second_from_top { display: block; position: relative; top: 815px; left: 100px; } #third_from_top { display: block; position: relative; top: 825px; left: 100px; }
#second_from_top { display: block; position: relative; top: 800px; left: 100px; } #third_from_top { display: block; position: relative; top: 810px; left: 100px; }
Remove not longer necessary rule
.user-documents-upload > li { margin-bottom: 22px; } .user-documents-upload small { color: var(--normal-text); display:block; } .user-documents-upload .file-uploader { margin-top: 0; } .user-documents-upload .info-main { margin-top: 11px; margin-bottom: 11px; } .section-primary.user-documents-upload-rejected { ...
.user-documents-upload > li { margin-bottom: 22px; } .user-documents-upload small { color: var(--normal-text); display:block; } .user-documents-upload .info-main { margin-top: 11px; margin-bottom: 11px; } .section-primary.user-documents-upload-rejected { border-color: var(--error-background); }
Use default cursor for list items
#body-login .error-broken-link{ text-align:left;color:#fff; } #body-login .error-broken-link ul{ margin:10px 0 10px 0; } #body-login .error-broken-link ul li{ list-style: disc;list-style-position:inside; }
#body-login .error-broken-link{ text-align:left;color:#fff; } #body-login .error-broken-link ul{ margin:10px 0 10px 0; } #body-login .error-broken-link ul li{ list-style: disc;list-style-position:inside;cursor:default; }
Set width of modal children to 100% by default
/* common styling for modals */ @import '..'; .modal { @apply --modal; padding: 4rem; } .overlay { @apply --absolute-fill; background-color: rgba(0, 0, 0, 0.8); } .clickable { @apply --clickable; } .modal_contents { z-index: 1; padding: 1rem; background-color: white; } .alert_modal_contents { @...
/* common styling for modals */ @import '..'; .modal { @apply --modal; padding: 4rem; } .overlay { @apply --absolute-fill; background-color: rgba(0, 0, 0, 0.8); } .clickable { @apply --clickable; } .modal_contents { z-index: 1; width: 100%; padding: 1rem; background-color: white; } .alert_modal...
Add missing line at end of file
.header { margin-bottom: 30px; position: relative; } .header h1{ font-size: 30px; margin-bottom: 10px; } .header a{ text-decoration: none; } .header a:hover{ text-decoration: underline; } .header h3{ font-size: 20px; font-family: 'Georgia'; color:#888; } .header::after{ content: " "; width: 1...
.header { margin-bottom: 30px; position: relative; } .header h1{ font-size: 30px; margin-bottom: 10px; } .header a{ text-decoration: none; } .header a:hover{ text-decoration: underline; } .header h3{ font-size: 20px; font-family: 'Georgia'; color:#888; } .header::after{ content: " "; width: 1...
Add semantic ui and google fonts to css manifest
/* * 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...
Fix width of time column
.container { display: flex; height: 80px; background-image: linear-gradient(to right, var(--current-item-from-background-color), var(--current-item-to-background-color)); background-repeat: no-repeat; } .waitContainer { display: flex; flex-direction: column; justify-content: center; text-align: center;...
.container { display: flex; height: 80px; background-image: linear-gradient(to right, var(--current-item-from-background-color), var(--current-item-to-background-color)); background-repeat: no-repeat; } .waitContainer { display: flex; flex-direction: column; justify-content: center; text-align: center;...
Remove bullet points from third-level list items in T&Cs
/* * 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...
Include main.scss through the asset pipeline path resolver
/* *= require bower_components/c3/c3 *= require bower_components/patternfly-bootstrap-treeview/dist/bootstrap-treeview.min *= require ./main *= require ./automate_import_export *= require ./dialog_fields *= require angular *= require ./notifications *= require bower_components/angular-patternfly/dist/styles/ang...
/* *= require bower_components/c3/c3 *= require bower_components/patternfly-bootstrap-treeview/dist/bootstrap-treeview.min *= require main *= require ./automate_import_export *= require ./dialog_fields *= require angular *= require ./notifications *= require bower_components/angular-patternfly/dist/styles/angul...
Remove the gradient; it looks silly.
body, textarea { font-size: 12pt; font-family: "Courier", monospace; } #title { font-size: 14pt; padding-bottom: 40px; } #conversion_table { border-spacing: 0; width: 100%; max-width: 600px; } #conversion_table td { height: 48px; vertical-align: top; } #conversion_table td:first-...
body, textarea { font-size: 12pt; font-family: "Courier", monospace; } #title { font-size: 14pt; padding-bottom: 40px; } #conversion_table { border-spacing: 0; width: 100%; max-width: 600px; border-collapse: collapse; } #conversion_table td { height: 48px; vertical-align: top;...
Use the typical Fork style background color.
body { overflow-y: scroll; } #content { padding-bottom: 50px; } h2, h3 { float: left; } textarea { resize: vertical; } .page-header { margin: 20px 0px 20px 0px; } .clickToEdit { position: absolute; width: 100%; height: 0px; margin: 10px 0px 10px 0px; text-align: center; } ....
html { min-height: 100%; background-color: #EBF3F9; } body { overflow-y: scroll; background-color: transparent; } #content { padding-bottom: 50px; } h2, h3 { float: left; } textarea { resize: vertical; } .page-header { margin: 20px 0px 20px 0px; } .clickToEdit { position: absol...
Update font color for <body>.
body { padding-top: 50px; } .skin-52prog { padding: 40px 15px; text-align: center; }
body { padding-top: 50px; color: #5a5a5a; } .skin-52prog { padding: 40px 15px; text-align: center; }
Switch inline code from yellow to blue
.hero.is-primary { background-color: #4abdac; } footer.footer .github-fork-ribbon-wrapper .github-fork-ribbon { background-color: #4abdac; } a, .card-content a h3 { color: #4abdac; } .menu-list a.is-active { background-color: #fc4a1a; } a.nav-item.is-tab.is-active, a.nav-item.is-tab.is-active:hover { bord...
.hero.is-primary { background-color: #4abdac; } footer.footer .github-fork-ribbon-wrapper .github-fork-ribbon { background-color: #4abdac; } a, .card-content a h3 { color: #4abdac; } .menu-list a.is-active { background-color: #fc4a1a; } a.nav-item.is-tab.is-active, a.nav-item.is-tab.is-active:hover { bord...
Change top block technical stylesheet
#top { display:block; display: absolute; background-color:; top: 90px; } #second_from_top { display: block; position: relative; }
#top { display:block; display: absolute; background-color:; top: 100px; } #second_from_top { display: block; position: relative; }
Enable text to wrap within error boundary stacks
.ErrorBoundary { height: 100%; width: 100%; background-color: white; color: red; padding: 0.5rem; overflow: auto; } .Header { font-size: var(--font-size-sans-large); font-weight: bold; } .Stack { margin-top: 0.5rem; white-space: pre; font-family: var(--font-family-monospace); font-size: var(--...
.ErrorBoundary { height: 100%; width: 100%; background-color: white; color: red; padding: 0.5rem; overflow: auto; } .Header { font-size: var(--font-size-sans-large); font-weight: bold; } .Stack { margin-top: 0.5rem; white-space: pre-wrap; font-family: var(--font-family-monospace); font-size: v...
Update the css for footer
header { font-size: 3em; margin: auto; padding: 0% 0% 0% 0%; left: -10em; } #nav-1 { display: block; font-size: 1.5em; border: none; top: -100em; } #li-1 { margin: auto; display: inline-table; position: relative; padding: 0% 5% 0% 5%; left: -4em; } * { font-family: Courier New; } html { ...
header { font-size: 3em; margin: auto; padding: 0% 0% 0% 0%; left: -10em; } #nav-1 { display: block; font-size: 1.5em; border: none; top: -100em; } #li-1 { margin: auto; display: inline-table; position: relative; padding: 0% 5% 0% 5%; left: -4em; } * { font-family: Courier New; } html { ...
Enforce large-ish min-height for embedded pdfs in notebook outputs.
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ /* When drag events occur, `p-mod-override-cursor` is adde...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-Notebook .jp-Cell .jp-OutputArea .jp-PDFViewer { min...
Remove some garbage from CSS
html,body{ height: 100% } footer { /* bottom: 0px !important; left: 0; position: fixed !important; right: 0; */ height: 24px; width:100%; position: absolute !important; margin: 0px !important; left: 0; bottom: 0; } #holder { min-height: 100%; position:relative...
html,body{ height: 100% } footer { height: 24px; width:100%; position: absolute !important; margin: 0px !important; left: 0; bottom: 0; } #holder { min-height: 100%; position:relative; } #content-holder{ padding-bottom: 24px; }
Change to on demand scrollbar
.highlight { background-color: #272822; color: #f8f8f2; font-size: 10pt; overflow: scroll; } .code { color: #f8f8f2; } /* line numbers */ .l { color: #90908a; background-color: #3c3d37; } /* comment */ .c { color: #75715e; } /* function? */ .k { color: #66d9ef; } /* brackets () */ .p { color: ...
.highlight { background-color: #272822; color: #f8f8f2; font-size: 10pt; overflow: auto; } .code { color: #f8f8f2; } /* line numbers */ .l { color: #90908a; background-color: #3c3d37; } /* comment */ .c { color: #75715e; } /* function? */ .k { color: #66d9ef; } /* brackets () */ .p { color: #f...
Add rule to platform apps default CSS to allow user selection within content-editable elements.
/* * Copyright (c) 2012 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. * * A style sheet for Chrome apps. */ @namespace "http://www.w3.org/1999/xhtml"; body { -webkit-user-select: none; cursor: default; } webv...
/* * Copyright (c) 2012 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. * * A style sheet for Chrome apps. */ @namespace "http://www.w3.org/1999/xhtml"; body { -webkit-user-select: none; cursor: default; } webv...
Increase contrast of red text on model answer results page *Accessibility
/* modelAnswer.html */ #pageContents .panel { overflow: auto; } #pageContents button { margin: 10px; float: right; } #answer { margin-top: 1em; } #pageContents .panelImg { text-align: center; padding-top: 1em; } #pageContents .panelImg img { max-width: 65%; } .x_mobile #pageConten...
/* modelAnswer.html */ #pageContents .panel { overflow: auto; } #pageContents button { margin: 10px; float: right; } #answer { margin-top: 1em; } #pageContents .panelImg { text-align: center; padding-top: 1em; } #pageContents .panelImg img { max-width: 65%; } .x_mobile #pageConten...
Remove underline from menu heading
.menu__heading { display: block; vertical-align: middle; text-transform: uppercase; text-decoration: none; color: #333; font-size: 80%; line-height: 1.5em; padding: 5px 20px; } @media screen and (min-width: 35.5em) { .menu__heading { display: inline-block; } }
.menu__heading { display: block; vertical-align: middle; text-transform: uppercase; text-decoration: none; color: #333; font-size: 80%; line-height: 1.5em; padding: 5px 20px; } .menu__heading:hover { text-decoration: none; } @media screen and (min-width: 35.5em) { .menu__headin...
Remove magic numbers from select.seats.css
section.select-seats { display: flex; flex-direction: row; } div.seat-info div { border: 1px dotted; padding: 0.5rem; } .theater-seat-map svg { max-width: 520px; max-height: 620px; } .theater-seat-map svg rect.stage { stroke-width: 1; fill: none; stroke: #000; } .theater-seat-map...
section.select-seats { display: flex; flex-direction: row; } div.seat-info div { border: 1px dotted; padding: 0.5rem; } .theater-seat-map svg { border: 1px solid black; } .theater-seat-map svg rect.stage { stroke-width: 1; fill: none; stroke: #000; } .theater-seat-map svg text.stage-...
Fix wrong selector in css, also mixed tabs&spaces indentation
body { text-align: center; } .game { border: 1px solid black; width: 250px; margin: 0 auto; } .your-move-message, opponent-move-message { display: none; display: none; }
body { text-align: center; } .game { border: 1px solid black; width: 250px; margin: 0 auto; } #your-move-message, #opponent-move-message { display: none; display: none; }
Fix font-stretch none > normal
/* Override banner in style.css */ #banner h1 { font-stretch: none; text-transform: none; } .footnote { font-size: 90%; } a.article-link:visited { color: #aaa; } /* Fix for Chromium wrapping the dates in archive list */ .archive-date { white-space: nowrap; } /* Add scroll bars to code snippets *...
/* Override banner in style.css */ #banner h1 { font-stretch: normal; text-transform: none; } .footnote { font-size: 90%; } a.article-link:visited { color: #aaa; } /* Fix for Chromium wrapping the dates in archive list */ .archive-date { white-space: nowrap; } /* Add scroll bars to code snippets...
Fix visual style for disabled input in iPad;
@import "bootstrap.min.css";@import "bootstrap-theme.min.css";html{position:relative;min-height:100%}body{padding-top:60px;margin-bottom:75px}footer{position:absolute;bottom:0;width:100%;height:45px;line-height:45px}footer p,footer ul{margin-bottom:0}.page-header{margin-top:20px}.g2000n-sum{font-weight:bold}.form-contr...
@import "bootstrap.min.css";@import "bootstrap-theme.min.css";html{position:relative;min-height:100%}body{padding-top:60px;margin-bottom:75px}footer{position:absolute;bottom:0;width:100%;height:45px;line-height:45px}footer p,footer ul{margin-bottom:0}.page-header{margin-top:20px}.g2000n-sum{color:#000;font-weight:bold}...
Add red color to error message
.login_form{ display: none; } .signup_form{ display: none; }
.login_form{ display: none; } .signup_form{ display: none; } #error{ color: red; }
Fix line height on skinny screens
form table li { list-style-type: none; } .form-indent { margin-left: 2.5em; } .horizontal { width: 30em; } .horizontal li { float: left; margin: 0; } .horizontal li label { width: 4em; display: block; float: left; } #recurrence-options { float: left; } #recurrence-options li { margin-bottom: 4px; } #a...
form table li { list-style-type: none; } .form-indent { margin-left: 2.5em; } .horizontal { width: 30em; } .horizontal li { float: left; margin: 0; } .horizontal li label { width: 4em; display: block; float: left; } #recurrence-options { float: left; } #recurrence-options li { margin-bottom: 4px; } #a...
Add pseudo classes for anchor tags
.synopsis { color: #7E8184; /* Light gray */ font-style: italic; } .synopsis em { font-style: normal; } .page { width: 600px; margin: 0 auto; } .button { color: #FFF; background-color: #5995DA; /* Blue */ font-weight: bold; padding: 20px; text-align: center; bord...
.synopsis { color: #7E8184; /* Light gray */ font-style: italic; } .synopsis em { font-style: normal; } .page { width: 600px; margin: 0 auto; } .button { color: #FFF; background-color: #5995DA; /* Blue */ font-weight: bold; padding: 20px; text-align: center; bord...
Make forum type a bit bigger
/* Theme Name: Harp Column Child Theme URI: http://example.com/smartmag-child/ Description: SmartMag Child Theme for Harp Column Author: Hugh Brock Author URI: http://example.com Template: smart-mag Version: 1.0.0 */ @import url("../smart-mag/style.css"); /* =Theme customization starts h...
/* Theme Name: Harp Column Child Theme URI: http://example.com/smartmag-child/ Description: SmartMag Child Theme for Harp Column Author: Hugh Brock Author URI: http://example.com Template: smart-mag Version: 1.0.0 */ @import url("../smart-mag/style.css"); /* =Theme customization starts h...
Add required body padding for fixed-top
.footer { bottom: 0; width: 100%; /* Set the fixed height of the footer here */ height: auto; color: #efefef; background-color: #333; } footer a { color: #9af7fe; } .features .glyphicon{ font-size: 32px; } .quote{ background-color: #444; color: #e1e1e1; margin: 2em 0; border: none; } .quote bl...
body { padding-top: 70px; } .footer { bottom: 0; width: 100%; /* Set the fixed height of the footer here */ height: auto; color: #efefef; background-color: #333; } footer a { color: #9af7fe; } .features .glyphicon{ font-size: 32px; } .quote{ background-color: #444; color: #e1e1e1; margin: 2em ...
Increase column width to 200px
.container { display: flex; flex-direction: row; } .column { margin-right: 8px; min-width: 173px; } table { width: 100%; } .withButtons tr { height: 23px; } button:disabled { visibility: hidden; } .standings { border: 1px solid black; border-collapse: collapse; } .standings td { border: 1px so...
.container { display: flex; flex-direction: row; } .column { margin-right: 8px; min-width: 200px; } table { width: 100%; } .withButtons tr { height: 23px; } button:disabled { visibility: hidden; } .standings { border: 1px solid black; border-collapse: collapse; } .standings td { border: 1px so...
Use AnonymousPro for code blocks.
@import 'fonts.css'; @import 'header.css'; @import 'nav.css'; @import 'blog.css'; @import 'footer.css'; @import 'jekyll-github.css'; .container { max-width: 725px; } .content { margin: 0 auto; font-family: 'rubiklight'; } img { max-width: 100%; } h1,h2,h3,h4 { font-family: 'rubikmedium'; } p { font-size...
@import 'fonts.css'; @import 'header.css'; @import 'nav.css'; @import 'blog.css'; @import 'footer.css'; @import 'jekyll-github.css'; .container { max-width: 725px; } .content { margin: 0 auto; font-family: 'rubiklight'; } img { max-width: 100%; } h1,h2,h3,h4 { font-family: 'rubikmedium'; } p { font-size...
Remove gray highlight in between tap and actual focus
/** * Copyright (C) 2015 Wasabeef * * 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 law or agreed to in...
/** * Copyright (C) 2015 Wasabeef * * 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 law or agreed to in...
Remove background image via CSS.
#container { width: 95%; margin: 0 auto; } .masthead { margin: 0 auto; max-width: 320px; } body { color: rgba(71, 66, 59, 1); background-color: rgba(242, 249, 248, 1); font-size: large; } h1 { color: rgba(17, 113, 134, 1); } h2 { color: rgba(17, 113, 134, 1); /*color: rgba(133, 179, 194, 1);*/ }...
#container { width: 95%; margin: 0 auto; } .masthead { margin: 0 auto; max-width: 320px; } body { color: rgba(71, 66, 59, 1); background-color: rgba(242, 249, 248, 1); font-size: large; } h1 { color: rgba(17, 113, 134, 1); } h2 { color: rgba(17, 113, 134, 1); /*color: rgba(133, 179, 194, 1);*/ }...
Remove unnecessary padding from input field
.field input.youtube { background-image: url('../images/field-icon-youtube.png'); background-position: 6px center; background-repeat: no-repeat; background-size: 28px 20px; padding-left: 40px; } .field .youtube-active input.youtube { border-bottom-left-radius: 0; border-bottom-right-radius: 0; pa...
.field input.youtube { background-image: url('../images/field-icon-youtube.png'); background-position: 6px center; background-repeat: no-repeat; background-size: 28px 20px; padding-left: 40px; } .field .youtube-active input.youtube { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } ...
Modify css to make articles easier to read (for me)
.highlight { background-color: #f8f8f8; } body { font-family: 'Lora', 'Times New Roman', 'serif'; font-size: 18px; line-height: 1.42857143; }
.highlight { background-color: #f8f8f8; } body { font-family: 'Georgia', 'Lora', 'Times New Roman', 'serif'; font-size: 1.2rem; line-height: 1.7rem; text-align: justify center; } article { max-width: 900px; } article p { text-align: justify center; } main article { margin: auto; padding-right: 20p...
Add css to nav element.
body { background-color: #cc9900; } .medium { height: 144px; width: 144px; background-color: #ff4719; border: 3px solid black; /*padding: 9px;*/ } #picture { height: 108px; width: 108px; margin: auto; } header { height: 144px; width: 610px; background-color: #ff4719; float: right; border: 3px solid bla...
body { background-color: #cc9900; } .medium { height: 144px; width: 144px; background-color: #ff4719; border: 3px solid black; /*padding: 9px;*/ } #picture { height: 108px; width: 108px; margin: auto; } header { height: 144px; width: 610px; background-color: #ff4719; float: right; border: 3px solid bla...
Add a background to index page and center the body content
body { background: blue; }
body { background: #e6ffff; max-width: 700px; width: 50%; margin: 0 auto; text-align: center; }
Set legend item svg to flex-basis auto to fix faulty width constraint in parent element.
.wrapper { list-style: none; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; } .li { composes: wrapper; width: 100%; } .label-symbol-wrapper { composes: wrapper; flex: 1 1 auto; } .clickable { cursor: pointer; } .svg { margin-right: 0...
.wrapper { list-style: none; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; } .li { composes: wrapper; width: 100%; } .label-symbol-wrapper { composes: wrapper; flex: 1 1 auto; } .clickable { cursor: pointer; } .svg { margin-right: 0...
Replace button border with shadow
.select-button { display: block; width: 2em; height: 2em; margin: 0 0.2em; background: inherit; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 50%; font: inherit; font-size: 1em; white-space: nowrap; color: inherit; } .dark .select-button-font { border: 1px solid rgba(255, 255, 255, 0.1); } .selec...
.select-button { display: block; width: 2em; height: 2em; margin: 0 0.2em; background: inherit; border: none; box-shadow: inset 0 0 2px; border-radius: 50%; font: inherit; font-size: 1em; white-space: nowrap; color: inherit; } .select-button-group { display: flex; align-items: center; justify-content:...
Remove unused import of ui-typogrphy
@import '@teamleader/ui-colors'; @import '@teamleader/ui-typography'; :root { --label-color: var(--color-teal-darkest); } .label { display: block; color: var(--label-color); }
@import '@teamleader/ui-colors'; :root { --label-color: var(--color-teal-darkest); } .label { display: block; color: var(--label-color); }
Set size of custom XML dialog to be the same as the edit XML dialog
/** * Copyright (C) 2011 Orbeon, Inc. * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU Lesser General Public License as published by the Free Software Foundation; either version * 2.1 of the License, or (at your option) any later version. * * This program i...
/** * Copyright (C) 2011 Orbeon, Inc. * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU Lesser General Public License as published by the Free Software Foundation; either version * 2.1 of the License, or (at your option) any later version. * * This program i...
Fix content padding on desktops
/* * 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...
Remove overflow CSS in prep of fixing
.variword-sentence { position: absolute; } .variword-sentence * { overflow-y: visible; } .variword-sentence .list { display: inline-block; vertical-align: text-top; position: relative; } .variword-sentence ul { display: block; position: relative; vertical-align: baseline; } .variword-sentence li { display: blo...
.variword-sentence { position: absolute; } .variword-sentence .list { display: inline-block; vertical-align: text-top; position: relative; } .variword-sentence ul { display: block; position: relative; vertical-align: baseline; } .variword-sentence li { display: block; list-style: none; } .variword-sentence ...
Add 'cursor:pointer;' to clickable buttons in paging control
.slick-pager { width: 100%; height: 26px; border: 1px solid gray; border-top: 0; background: url('../images/header-columns-bg.gif') repeat-x center bottom; vertical-align: middle; } .slick-pager .slick-pager-status { display: inline-block; padding: 6px; } .slick-pager .ui-icon-container { display: i...
.slick-pager { width: 100%; height: 26px; border: 1px solid gray; border-top: 0; background: url('../images/header-columns-bg.gif') repeat-x center bottom; vertical-align: middle; } .slick-pager .slick-pager-status { display: inline-block; padding: 6px; } .slick-pager .ui-icon-container { display: i...
Set background color as black in photo viewer.
html, body { height: 100%; margin: 0; overflow: hidden; }
html, body { background-color: black; height: 100%; margin: 0; overflow: hidden; }
Fix half ello button bug in firefox
#ello-icon { padding: 0; margin: 0; } span.icon { margin: 0 auto; display: block; position: relative; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); } span.icon.small { width: 18px; } span.icon.medium { width: 24px; } span.icon.larg...
#ello-icon { padding: 0; margin: 0; } span.icon { margin: 0 auto; display: block; position: relative; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); } span.icon.small { width: 18px; } span.icon.medium { width: 24px; } span.icon.large { width: 40px; } span.icon...
Make sure color picker doesn't change height all the time
.color-picker { width: 100%; padding: 2em; font-size: 70%; line-height: 1.4em; position: absolute; box-sizing: border-box; bottom: 0; } .color-picker, .swatch--meta-control { transition: opacity 300ms; opacity: 0; } .swatch:hover .color-picker, .swatch:hover .swatch--meta-control { ...
.color-picker { width: 100%; height: 12.5em; padding: 2em; font-size: 70%; line-height: 1.4em; position: absolute; box-sizing: border-box; bottom: 0; } .color-picker, .swatch--meta-control { transition: opacity 300ms; opacity: 0; } .swatch:hover .color-picker, .swatch:hover .swat...
Fix z-indices for iframe drag hack so invisible div takes priority.
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-PDFContainer iframe { position: absolute; top: 0; ...
/*----------------------------------------------------------------------------- | Copyright (c) Jupyter Development Team. | Distributed under the terms of the Modified BSD License. |----------------------------------------------------------------------------*/ .jp-PDFContainer iframe { position: absolute; z-index:...
Hide the page link on the record lists.
table.recordlist { width: 100%; margin-top: 1em; } table.recordlist thead tr { border-bottom: solid 1px; } table.recordlist tr:nth-child(odd) td { background-color: #FFEBEE; }
table.recordlist { width: 100%; margin-top: 1em; } table.recordlist thead tr { border-bottom: solid 1px; } table.recordlist tr:nth-child(odd) td { background-color: #FFEBEE; } @media print { table.recordlist td:last-child, th:last-child { display: none; } }
Add style sheet for Lato light web fonts
/* * Stylesheet which loads thin (font-weight:300) Lato web fonts. */ /* Webfont: LatoLatin-Light */ @font-face { font-family: 'LatoLatinWebLight'; src: url('/css/common/fonts/lato/latin/LatoLatin-Light.eot'); /* IE9 Compat Modes */ src: url('/css/common/fonts/lato/latin/LatoLatin-Light.eot?#iefix') format('embedde...
Add note about using css 'object-fit' to mimic background-image
/* * Object Fit * You can use object-fit and object-position to mimic similar functionality * from background-image without having to use background images * Supported everywhere except IE and Edge * http://caniuse.com/#feat=object-fit */ img.cover{ object-position: cover; object-position: 50% 50%; }
Change the color of some location bar elements
/* [XUL] Advanced locationbar tweak */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* for the environment on which "Advanced locationbar" is installed */ .textbox-presentation-protocol, /* .textbox-presentation-subdomain, */ /* .textbox-presentation-port, */ .textbox-presentation-doma...
/* [XUL] Advanced locationbar tweak */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* for the environment on which "Advanced locationbar" is installed */ .textbox-presentation-protocol, /* .textbox-presentation-subdomain, */ /* .textbox-presentation-port, */ .textbox-presentation-doma...
Align logo anchor tags with their img tags.
.btn-custom { width: 150px !important; } li {list-style-type: none;} .logos li { float: left; width: 150px; height: 100px; padding: 10px; text-align: center; line-height: 200px; } .logos img { max-height: 100%; max-width: 100%; width: auto; vertical-align: middle; } .logo_block { margin-top: 20px...
.btn-custom { width: 150px !important; } li {list-style-type: none;} .logos li { float: left; width: 150px; height: 100px; padding: 10px; text-align: center; line-height: 90px; } .logos img { max-height: 100%; max-width: 100%; width: auto; vertical-align: middle; } .logo_block { margin-top: 20px ...
Add another css file for the batch stuff
.batch_task { margin: 5px; border: 1px solid #999; border-radius: 5px; -moz-border-radius: 5px; padding: 5px; background-color: #FCFCFC; } .progress_outer { float: right; width: 200px; border: 1px; solid #999; height: 20px; } .progress_inner { float: left; width: 0%; ...
Fix nested row expanders layout.
body { background-color: yellow; } .zambezi-grid-cell > .nested-indicator { } .zambezi-grid-cell > .nested-indicator.is-expand:after { content: '▣'; } .zambezi-grid-cell > .nested-indicator.is-expand:hover { color: red; } .zambezi-grid-cell > .nested-indicator.is-collapse:after { content: '▢'; } .zambezi-...
body { background-color: yellow; } .zambezi-grid-cell.nested-expander-cell { overflow: visible; } .zambezi-grid-cell > .nested-indicator { font-size: 16px; font-family: monospace; white-space: pre; color: #555; } .zambezi-grid-cell > .nested-indicator.is-collapse:hover, .zambezi-grid-cell > .nested-indic...
Change size of Move money dialog
.modal-budget-move-money .modal, .modal-budget-overspending .modal { width: 20em; } .ynab-select-options { height: 15em; }
Add top margin to search results box
#lblDistance{ color:white; font-weight: bold; text-shadow: 2px 2px 2px black, 2px -2px 2px black, -2px 2px 2px black, -2px -2px 2px black; } .container-fluid{ margin-top: 15px; position: absolute; } #search-results{ background-color: #ffffff; opacity...
#lblDistance{ color:white; font-weight: bold; text-shadow: 2px 2px 2px black, 2px -2px 2px black, -2px 2px 2px black, -2px -2px 2px black; } .container-fluid{ margin-top: 15px; position: absolute; } #search-results{ margin-top: 10px; background-color:...
Update District card to have object-fit and use smaller font for supporting copy
.district { width: 100%; height: 100%; border: solid 1px var(--color-greyLighter); background-color: var(--color-white); } .district:hover { color: var(--color-greyDark); } .imageContainer, .content { vertical-align: top; } .imageContainer { width: 100%; } .image { width: 100%; height: 100%; } .c...
.district { width: 100%; height: 100%; border: solid 1px var(--color-greyLighter); background-color: var(--color-white); } .district:hover { color: var(--color-greyDark); } .imageContainer, .content { vertical-align: top; } .imageContainer { width: 100%; } .image { width: 100%; height: 100%; obj...
Fix hero background size on mobile, adjust positioning
.hero { display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; width: 100%; height: 50vh; } .heroBackground { position: absolute; top: -5%; left: -5%; width: 110%; height: 110%; background-image: url(../images/hero.jpg); ...
.hero { display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; width: 100%; height: 50vh; } .heroBackground { position: absolute; /* Make the image larger than normal and then mask it so it has clean edges */ top: -5%; left: -5%; ...
Unify a tag hover effect
/* ====================================================== common. =======================================================*/ h2 { padding-left:40px; line-height: 62px; background: transparent url(../image/parts/head-score.png) no-repeat; } .ui.main.container { margin-top: 4em; } body { background: transpar...
/* ====================================================== common. =======================================================*/ h2 { padding-left:40px; line-height: 62px; background: transparent url(../image/parts/head-score.png) no-repeat; } .ui.main.container { margin-top: 4em; } body { background: transpar...
Include styles to fix common subtle css errors
/* callimachus.css */ .noauth .protected { display: none !important; } .wait,.wait * { cursor:wait; } .drag-over { cursor:copy; } time { white-space:nowrap; } [dropzone] .ui-state-highlight { white-space:nowrap; } iframe.ui-widget-content.ui-dialog-content { margin:0; padding:0; } htm...
Update with main / Position fix
body { background-color:white; position: fixed; } #side { background-color: palegreen; width: 230px; height: 100%; position: fixed; float:left; padding: 20px; margin-top:-10px; left: 0px; } #side .title { font-family: "Casual Affair"; font-size: 30px; tex...
body { background-color:white; } #side { background-color: palegreen; width: 230px; height: 100%; position: fixed; float:left; padding: 20px; margin-top:-10px; left: 0px; } #side .title { font-family: "Casual Affair"; font-size: 30px; text-align: center; padding: 10px; } #side .description ...