Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add hacker theme css file
body { font-family: monospace; background-color: #444; } .window { background-color: #444; font-size: 12px; } .window .window-content, .window.private-1on1 .window-content { background-color: black; } .window .timestamp { margin-right: 8px; } .window .window-messages { color: #A5A5A5; } ...
Put background image on container.
/* https://coolors.co/087e8b-ff5a5f-33312e-f5f5f5-ff9042 metallic seaweed: rgba(8, 126, 139, 1); pastel red: rgba(255, 90, 95, 1); jet: rgba(51, 49, 46, 1); white smoke: rgba(245, 245, 245, 1); mango tango: rgba(255, 144, 66, 1);*/ .page { background-image: url('./custom/background.jpg'); background-size: cover; } ...
/* https://coolors.co/087e8b-ff5a5f-33312e-f5f5f5-ff9042 metallic seaweed: rgba(8, 126, 139, 1); pastel red: rgba(255, 90, 95, 1); jet: rgba(51, 49, 46, 1); white smoke: rgba(245, 245, 245, 1); mango tango: rgba(255, 144, 66, 1);*/ .container { background-image: url('./custom/background.jpg'); background-size: cove...
Add some space above right aligned images
div.figure p.caption { position: relative; } article.center-title > h2 { position: relative; align: center; text-align: center; } table.citation { font-size: 0.6em; margin-top: 30px; }
div.figure p.caption { position: relative; } article.center-title > h2 { position: relative; align: center; text-align: center; } table.citation { font-size: 0.6em; margin-top: 30px; } img.align-right { margin-top: 1em; }
Add table rounder javascript class
body { font: 14px "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif; padding-left: 40px; } h1 { padding-top: 20px; font-weight: bold; font: 24px; /* "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif; */ } p { margin-top: 5px; padding-left: 20px; } .fail { back...
body { font: 14px "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif; padding-left: 40px; } h1 { padding-top: 20px; font-weight: bold; font: 24px; /* "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif; */ } p { margin-top: 5px; padding-left: 20px; } .fail { back...
Add styling to main tag
body { background-color: #03041c; color: #c6c6c9; font-family: pt-sans, sans-serif; } .footer a { color: #c6c6c9; font-family: pt-sans, sans-serif; font-size: 20px; text-decoration: none; text-align: center; width: 200px; bottom: 10px; }
body { background-color: #03041c; color: #c6c6c9; font-family: pt-sans, sans-serif; } main{ line-height: 1.5em; margin: 10%; } .footer a { color: #c6c6c9; font-family: pt-sans, sans-serif; font-size: 20px; text-decoration: none; text-align: center; width: 200px; bottom: 10px; }
Add absolute position to tips
.flag_and_country { float: right; } .country { float: right; } .flag { float: right; } .tip { float: right; } th.header { background-image: url(../img/small.gif); cursor: pointer; font-weight: bold; background-repeat: no-repeat; background-position: right top; padding-left: 20px; ...
.flag_and_country { float: right; } .country { float: right; position: absolute; } .flag { float: right; position: absolute; } .tip { float: right; } th.header { background-image: url(../img/small.gif); cursor: pointer; font-weight: bold; background-repeat: no-repeat; background-posit...
Fix height of preview tab
body { height: 100%; } iframe { border: 0; } .fill-height { height: 100%; } .menu-item { display: block; max-height: 40px; line-height: 40px; padding: 0px 28px; } .menu-parent-item { color: #888; border-bottom: 1px solid rgba(0, 0, 0, 0.12); } .menu-sub-item { text-transform...
body { height: 100%; } iframe { border: 0; } md-tabs-content-wrapper, md-tab-content, md-tab-content > div, .fill-height { height: 100%; } .menu-item { display: block; max-height: 40px; line-height: 40px; padding: 0px 28px; } .menu-parent-item { color: #888; border-bottom: 1px so...
Remove comments in CSS files
/* custom properties */ /* custom selectors */ /* usage */h1,h2,h3,h4,h5,h6{color:#000;color:rgba(0,0,0,.9)}.highlight,pre{background:#212121;color:#f5f5f5}.highlight .string,pre .string{color:#ffeb3b}.highlight .comment,pre .comment{color:#727272}.highlight .keyword,pre .keyword{color:#ff4081}.highlight .built_in,pr...
h1,h2,h3,h4,h5,h6{color:#000;color:rgba(0,0,0,.9)}.highlight,pre{background:#212121;color:#f5f5f5}.highlight .string,pre .string{color:#ffeb3b}.highlight .comment,pre .comment{color:#727272}.highlight .keyword,pre .keyword{color:#ff4081}.highlight .built_in,pre .built_in{color:#00bcd4}
Fix styles for permission modal.
.modalContent { padding: 0; position: relative; min-height: 500px; } .modalFooter { width: 100%; display: flex; justify-content: space-between } .searchField { margin-bottom: calc(var(--control-margin-bottom) / 2); } .resetButtonWrap { &.resetButton { border-color: rgba(0, 0, 0, 0.62); colo...
.modalContent { padding: 0; position: relative; min-height: 50vh; } .modalFooter { width: 100%; display: flex; justify-content: space-between } .searchField { margin-bottom: calc(var(--control-margin-bottom) / 2); } .resetButtonWrap { &.resetButton { border-color: rgba(0, 0, 0, 0.62); color...
Use font-url instead of url
@font-face { font-family: 'Montserrat-Black'; src: url('Montserrat-Black.eot?#iefix') format('embedded-opentype'), url('Montserrat-Black.otf') format('opentype'), url('Montserrat-Black.woff') format('woff'), url('Montserrat-Black.ttf') format('truetype'), url('Montserrat-Black.svg#Montserrat-Black') format...
@font-face { font-family: 'Montserrat-Black'; src: font-url('Montserrat-Black.eot?#iefix') format('embedded-opentype'), font-url('Montserrat-Black.otf') format('opentype'), font-url('Montserrat-Black.woff') format('woff'), font-url('Montserrat-Black.ttf') format('truetype'), font-url('Montserrat-Black.svg#...
Fix an IE related bug
.app { display: flex; flex-direction: column; min-height: 100vh; } .modal-content { font-size: 140%; } main { flex: 1; } footer { padding: 1em; } .center { margin-left: auto; margin-right: auto; } .light { color: #ddd; } .dark { color: #666; } /* from http://www.mademyday.de/css-height-equals-...
.app { display: flex; flex-direction: column; height: 100vh; } .modal-content { font-size: 140%; } main { flex: 1 0 auto; } footer { padding: 1em; } .center { margin-left: auto; margin-right: auto; } .light { color: #ddd; } .dark { color: #666; } /* from http://www.mademyday.de/css-height-equa...
Add margin-bottom on confirmation page
.position-relative { position: relative; } .center-text { text-align: center; } .space_top { margin-top: 30px; } .hidden { display: none; } .same-line { white-space: nowrap; } .blue-section { background-color: #004897; color: white; } .field-boolean input[type="checkbox"] { margin-...
.position-relative { position: relative; } .center-text { text-align: center; } .space_top { margin-top: 30px; } .hidden { display: none; } .same-line { white-space: nowrap; } .blue-section { background-color: #004897; color: white; } .field-boolean input[type="checkbox"] { margin-...
Add some MirrorManager specific CSS
/* * Mirrormanager2 specific CSS */ /* Stealed this from flask-admin */ form.icon button { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border: medium none; line-height: normal; padding: 0; text-decoration: none; } /* Stealed this from bootstrap */ label, select, button, input[type="but...
Set style to table element
body { background-color: var(--base-color); font-family: var(--font-family); font-size: 14px; word-break: break-word; -webkit-text-size-adjust: 100%; } a { color: var(--link-color); text-decoration: none; } img { max-width: 100%; }
body { background-color: var(--base-color); font-family: var(--font-family); font-size: 14px; word-break: break-word; -webkit-text-size-adjust: 100%; } a { color: var(--link-color); text-decoration: none; } img { max-width: 100%; } table { display: block; width: 100%; overflow: auto; border-s...
Remove animation that changes overflow declaration; intermittently causes scroll bar to appear on stage load
.wrapper { --height: 95.5vh; display: flex; /* height declaration, seemingly redundant, is neededto ensure IE 10 & 11 render columns with * proper height. Otherwise they're collapsed in IE. */ height: var(--height); min-height: var(--height); flex-direction: column; animation: allowLowerThirdAppearance...
.wrapper { --height: 95.5vh; display: flex; /* height declaration, seemingly redundant, is neededto ensure IE 10 & 11 render columns with * proper height. Otherwise they're collapsed in IE. */ height: var(--height); min-height: var(--height); flex-direction: column; }
Set unit font size to an even 12px.
.Legend { margin-top: 20px; padding: 4px 10px 0; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14); overflow: hidden; text-align: center; } .wrapper { display: inline-block; vertical-align: top; width: 100%; } .footnotes { font-size: 80%; } .container { max-width: 180px; overflow: hidden; margin-left: auto; ...
.Legend { margin-top: 20px; padding: 4px 10px 0; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14); overflow: hidden; text-align: center; } .wrapper { display: inline-block; vertical-align: top; width: 100%; } .footnotes { font-size: 12px; } .container { max-width: 180px; overflow: hidden; margin-left: auto; ...
Clear the excerpt in CSS
#dwls-results { position: absolute; z-index: 9999; list-style: none; margin: 0; padding: 0; background-color: #204a87; color: #fff; width: 13em; } #dwls-results .dwls_thumbnail_wrapper { float: left; width: 50px; height: 50px; background-color: #000; background-size: contain; margin: 5px; } .dwls_meta {...
#dwls-results { position: absolute; z-index: 9999; list-style: none; margin: 0; padding: 0; background-color: #204a87; color: #fff; width: 13em; } #dwls-results .dwls_thumbnail_wrapper { float: left; width: 50px; height: 50px; background-color: #000; background-size: contain; margin: 5px; } .dwls_meta {...
Add sans-serif for fallback rendering
/* Common Styling */ body{ background: #fff; color:#222; font-family: 'Roboto',Verdana,Helevetica; font-size: 18px; font-weight: 300; } /* Layout */ main{ max-width: 500px; margin: 6em auto 0.8em; padding: 1em; } ul{ padding: 0; } li{ display: inline-block; margin: 0 au...
/* Common Styling */ body{ background: #fff; color:#222; font-family: 'Roboto',Verdana,Helevetica,sans-serif; font-size: 18px; font-weight: 300; } /* Layout */ main{ max-width: 500px; margin: 6em auto 0.8em; padding: 1em; } ul{ padding: 0; } li{ display: inline-block; m...
Remove box shadow from images
/* =Reveal.js -------------------------------------------------------------- */ body.reveal { text-align: center; } .reveal h1, .branding h1 { font-size: 2em; padding-bottom: .5em; line-height: 1em; } .reveal h2 { line-height: 1.5em; } .reveal ul li { padding: 2px; line-...
/* =Reveal.js -------------------------------------------------------------- */ body.reveal { text-align: center; } .reveal h1, .branding h1 { font-size: 2em; padding-bottom: .5em; line-height: 1em; } .reveal h2 { line-height: 1.5em; } .reveal ul li { padding: 2px; line-...
Add a title to help people keep track of where they are the in presentation
.reveal blockquote { width: 85%; } .reveal a { color: orange; } .highlight { color: lightblue; } cite { color: lightgrey; }
.reveal blockquote { width: 85%; } .deemphasized-title { color: rgba(220, 163, 163, 0.8); font-size: 0.75em; } .reveal a { color: orange; } .highlight { color: lightblue; } cite { color: lightgrey; }
Add a dimmer class to de-emphasize text
.reveal blockquote { width: 85%; } .deemphasized-title { color: rgba(220, 163, 163, 0.8); font-size: 0.75em; } .reveal p { color: #ddd; } .reveal a { color: orange; } .highlight { color: lightblue; } cite { color: rgba(190, 228, 253, 0.67) }
.reveal blockquote { width: 85%; } .deemphasized-title { color: rgba(220, 163, 163, 0.8); font-size: 0.75em; } .dim { opacity: 0.2; } .reveal p { color: #ddd; } .reveal a { color: orange; } .highlight { color: lightblue; } cite { color: rgba(190, 228, 253, 0.67) }
Fix e-ripple.vue cover child element
.root { display: block; position: absolute; z-index: 9000; background-color: rgba(0, 0, 0, 0.2); border-radius: 100%; width: 100px; height: 100px; margin-left: -50px; margin-top: -50px; transform: scale(0); cursor: pointer; } .root[color="light"] { background-color: rgba...
.root { display: block; position: absolute; z-index: 9000; background-color: rgba(0, 0, 0, 0.2); border-radius: 100%; width: 100px; height: 100px; margin-left: -50px; margin-top: -50px; transform: scale(0); cursor: pointer; pointer-events: none; } .root[color="light"] { ...
Make our custom colour take precedence over Bootstrap's :D
.quote-author:before { content: "-"; } .tag_list { font-size: 10px; float: left; position: inherit; width: auto; padding: 0; list-style: none; } .avatar { margin-right: 10px; } .display_none { display: none; } footer.inner { margin-left: auto; margin-right: auto; } hr { border-top: 1px sol...
.quote-author:before { content: "-"; } .tag_list { font-size: 10px; float: left; position: inherit; width: auto; padding: 0; list-style: none; } .avatar { margin-right: 10px; } .display_none { display: none; } footer.inner { margin-left: auto; margin-right: auto; } hr { border-top: 1px so...
Set line-height on about texts
.about{ width: 100%; max-width: 960px; margin: 0 auto; } .about__text-container__text{ font-size: 1.1rem; margin-top: 1rem; }
.about{ width: 100%; max-width: 960px; margin: 0 auto; } .about__text-container__text{ font-size: 1.1rem; margin-top: 1rem; line-height: 1.6rem; }
Fix error page new test form layout
body.error .inner .icon { color: #08C; width: auto; font-size: 100px; position: absolute; left: -38px; } body.error .inner section { margin-left:60px; height:400px; } body.error .inner section h2 { margin-bottom:30px; } body.error .inner section h2 em { font-style: normal; op...
body.error .inner .icon { color: #08C; width: auto; font-size: 100px; position: absolute; left: -38px; } body.error .inner section { margin-left:60px; height:400px; } body.error .inner section h2 { margin-bottom:30px; } body.error .inner section h2 em { font-style: normal; op...
Make the kata navigation full width.
#katas-navigation { width: 100%; color: var(--navigation-foreground-color); background-color: var(--navigation-background-color); } #katas-navigation .headline, #katas-navigation a { padding: 0.5em; } #katas-navigation a { background-color: var(--navigation-hover-color); color: var(--navigation-foreground-...
#katas-navigation { width: 100%; color: var(--navigation-foreground-color); background-color: var(--navigation-background-color); } #katas-navigation .headline, #katas-navigation a { padding: 0.5em; white-space: nowrap; } #katas-navigation a { background-color: var(--navigation-hover-color); color: var(-...
Add fixture for remote testing.
body { font-family: Arial; } h1 { color: blue; } .headline { font-size: 24px; } td { padding: 5px; }
Hide default border on top of RST versions.
@import 'css/theme.css'; .wy-nav-side { background: rgb(240, 240, 240); } .wy-side-nav-search { background: #556270; } .wy-side-nav-search input[type=text] { border-radius: 0; } .wy-nav-content-wrap { position: relative; } .wy-nav-content { background: #FCFCFC; max-width: 900px; } .wy-men...
@import 'css/theme.css'; .wy-nav-side { background: rgb(240, 240, 240); } .wy-side-nav-search { background: #556270; } .wy-side-nav-search input[type=text] { border-radius: 0; } .wy-nav-content-wrap { position: relative; } .wy-nav-content { background: #FCFCFC; max-width: 900px; } .wy-men...
Disable pointer-events restriction for hinclude
#canvasloader-container { position: fixed; top: 50%; left: 50%; width: 50px; height: 50px; margin-top: -25px; margin-left: -25px; padding: 4px 0px; text-align: center; z-index: 2000; background-color: #333; -webkit-border-radius: 5px; -moz-border-radius: 5px; ...
#canvasloader-container { position: fixed; top: 50%; left: 50%; width: 50px; height: 50px; margin-top: -25px; margin-left: -25px; padding: 4px 0px; text-align: center; z-index: 2000; background-color: #333; -webkit-border-radius: 5px; -moz-border-radius: 5px; ...
Make logo responsive, tweak nav bar alignment
/* navbar link color: #59445C */ /* navbar bg color: #EEE */ .html { font-size: 14px; } .main { width: 80%; height: 90%; margin: .5rem auto; } .navbar { width: 100%; height: 3rem; padding: 1.75rem; background-color: #EEE; } .navbar__list { list-style: none; } .navbar__item { padding-right: 3rem; floa...
/* navbar link color: #59445C */ /* navbar bg color: #EEE */ .html { font-size: 14px; } .main { width: 80%; height: 90%; margin: .5rem auto; } .navbar { width: 100%; height: 3rem; padding: 1.75rem; background-color: #EEE; } .navbar__list { list-style: none; } .navbar__item { padding-right: 3rem; floa...
Add style to center text
@font-face { font-family: "oswald"; src: url("../res/fonts/oswald.ttf") format("opentype"); } ul { list-style-type: none; padding-left: 14px; } .splash { display: none; position: fixed; top: 0; width: 100%; height: 100%; background-color: white; z-index: 999; } .splash-text { color: #000;...
@font-face { font-family: "oswald"; src: url("../res/fonts/oswald.ttf") format("opentype"); } ul { list-style-type: none; padding-left: 14px; } .center { text-align: center; } .splash { display: none; position: fixed; top: 0; width: 100%; height: 100%; background-color: white; z-index: 99...
Make space between nav sections smaller.
table { width: 100%; border-collapse: collapse; } th { background: #333; color: white; font-weight: bold; } td, th { padding: 6px; border: 1px solid #ccc; text-align: left; } .SafeCall { background: #bfb; } .BlockedCall { background: #fbb; } .NeutralCall { background: #e...
table { width: 100%; border-collapse: collapse; } th { background: #333; color: white; font-weight: bold; } td, th { padding: 6px; border: 1px solid #ccc; text-align: left; } .SafeCall { background: #bfb; } .BlockedCall { background: #fbb; } .NeutralCall { background: #e...
Make the main window draggable
code { font-family: inherit; } .wrapper { display: flex; flex: 1; } .wrapper_vertical { flex-direction: column; } .content { flex: 1; }
body { -webkit-app-region: drag; } code { font-family: inherit; } .wrapper { display: flex; flex: 1; } .wrapper_vertical { flex-direction: column; } .content { flex: 1; }
Reduce vertical minimum height of each spcies sction in baseline experiments landing page
/* browse baseline/plant experiments */ .species-nav .species_item {min-height: 340px; text-align: center;} .species-nav .species_item h4 {text-align: center;} .species-nav .species_item ul li {text-align: center;font-size: 94%;} .species-nav .species_item span {font-size: 700%;/*fallback*/font-size: 5.1vw} .species-na...
/* browse baseline/plant experiments */ .species-nav .species_item {min-height: 300px; text-align: center;} .species-nav .species_item h4 {text-align: center;} .species-nav .species_item ul li {text-align: center;font-size: 94%;} .species-nav .species_item span {font-size: 700%;/*fallback*/font-size: 5.1vw} .species-na...
Fix white on white => loginButtons
/* CSS declarations go here */ /* ###### loginButtons ##### */ .navbar-inverse .form-control .dropdown-menu { color: #208FEA; } /* ###### ##### */
/* CSS declarations go here */ /* ###### loginButtons ##### */ #login-email { color: #208FEA; } #login-password { color: #208FEA; } /* ###### ##### */
Add wrapping for AMA text.
/* Additional styling applied to the RTD theme. */ /* Better distinction of blockquotes against normal paragraphs. */ .rst-content blockquote { margin-left: 0; padding: 0 1em; border-left: 0.25em solid #ddd; color: #777; }
/* Additional styling applied to the RTD theme. */ /* Better distinction of blockquotes against normal paragraphs. */ .rst-content blockquote { margin-left: 0; padding: 0 1em; border-left: 0.25em solid #ddd; color: #777; } /* Wrapping the text in AMA */ .hljs.nimrod { white-space: pre-wrap }
Make more specific css rules
#single-script-page #run-script-btn { float: right; } #single-script-page .ui-collapsible { clear: both; } #single-script-page .dual-action-footer { display: block; } #single-script-page ul { margin-top: 1em; } #single-script-page ul li { padding: 0; } #single-script-page ul li a { margin: 0; }...
#single-script-page #run-script-btn { float: right; } #single-script-page .ui-collapsible { clear: both; } #single-script-page .dual-action-footer { display: block; } #single-script-page .log-list ul { margin-top: 1em; } #single-script-page .log-list ul li { padding: 0; } #single-script-page .log-l...
Add hover color that is the same as the selected color
.command-panel { background: #515151; padding: 3px; } .command-panel .preview-list { max-height: 300px; overflow: auto; margin-bottom: 3px; position: relative; background: #161616; } .command-panel .preview-list { cursor: default; } .command-panel .preview-list li.selected { background: #444; } .c...
.command-panel { background: #515151; padding: 3px; } .command-panel .preview-list { max-height: 300px; overflow: auto; margin-bottom: 3px; position: relative; background: #161616; } .command-panel .preview-list { cursor: default; } .command-panel .preview-list li.selected, .command-panel .preview-li...
Add css file for registration page
form { margin-left: 1%; } input[type=text], input[type=password], input[type=email] { width: 50%; padding: 5px 20px; margin: 8px 0; display: block; border: 1px solid #ccc; box-sizing: border-box; } button { background-color: #1bc0bd; color: white; padding: 14px 20px; margin: 8...
Replace 'Menlo' with 'SF Mono'
#wrapper { height: 100%; z-index: 0; } .CodeMirror { font-family: 'Roboto Mono', Menlo, 'Lucida Console', Monaco, monospace; height: auto; /* CodeMirror has a default z-index of 4. Set to 0 to avoid collisions with fixed header. */ z-index: 0; } .CodeMirror-linenumbers { background-color: #fafafa; } .Code...
#wrapper { height: 100%; z-index: 0; } .CodeMirror { font-family: 'Roboto Mono', 'SF Mono', 'Lucida Console', Monaco, monospace; height: auto; /* CodeMirror has a default z-index of 4. Set to 0 to avoid collisions with fixed header. */ z-index: 0; } .CodeMirror-linenumbers { background-color: #fafafa; } ....
Set text size for nodes and edges
graph { fill-color: white; } node { size-mode: fit; shape: rounded-box; fill-color: white; stroke-mode: none; /* stroke-color: */ padding: 3px, 2px, 5px, 5px; text-color: white; text-style: bold; text-background-mode: rounded-box; text-background-color: #009688; text-padding: 4px, 4px; text-offset: 0px, ...
graph { fill-color: white; } node { size-mode: fit; shape: rounded-box; fill-color: white; stroke-mode: none; /* stroke-color: */ padding: 3px, 2px, 5px, 5px; text-color: white; text-style: bold; text-background-mode: rounded-box; text-background-color: #009688; text-padding: 4px, 4px; text-offset: 0px, ...
Increase html and body height
/* You can add global styles to this file, and also import other style files */
/* You can add global styles to this file, and also import other style files */ html { height: 100%; } body { height: 100%; }
Set max-width of the text in the examples
body { font-family: sans-serif; font-size: 16px; margin: 50px; }
body { font-family: sans-serif; font-size: 16px; margin: 50px; max-width: 800px; }
Add top bar padding for Visio widget on Android
.on_android { display: inherit; } body > nav, main > *, body #chat_widget header { padding-top: 3rem; } body #chat_widget { padding-top: 0; height: 100%; } .drawer + .drawer_close.button.color { top: 3rem; } body .drawer { top: 10rem; height: calc(100% - 10rem); } body ul.context_menu {...
.on_android { display: inherit; } body > nav, main > *, body #chat_widget header, body #visio header { padding-top: 3rem; } body #chat_widget { padding-top: 0; height: 100%; } .drawer + .drawer_close.button.color { top: 3rem; } body .drawer { top: 10rem; height: calc(100% - 10rem); } bo...
Drop support older FxButton versions
/* FxButton * id: {c6448328-31f7-4b12-a2e0-5c39d0290307} * URL: https://addons.mozilla.org/firefox/addon/fxbutton/ */ #fx-button, /* Fix for older (< 1.1) version */ #fxbutton { list-style-image: url(chrome://browser/skin/symbolic-icons/gear.svg) !important; /* list-style-image: url(chrome://browser/skin/symbolic...
/* FxButton * id: {c6448328-31f7-4b12-a2e0-5c39d0290307} * URL: https://addons.mozilla.org/firefox/addon/fxbutton/ */ #TabsToolbar #appmenu-toolbar-button.fxbutton:not(:first-child) > .toolbarbutton-icon, toolbar:not(#TabsToolbar) #appmenu-toolbar-button.fxbutton > .toolbarbutton-icon { list-style-image: url(chrom...
Add style to aside block
body { padding-top: 50px; padding-right: 200px; padding-bottom: 250px; padding-left: 200px; font-family: sans-serif; background-color: #F9F8EE; } body h1 { font-family: Arial; color: #000001; } body q { font-size: 15px; } body aside { background-color: #888; }
body { padding-top: 50px; padding-right: 200px; padding-bottom: 250px; padding-left: 200px; font-family: sans-serif; background-color: #F9F8EE; } body h1 { font-family: Arial; color: #000001; } body q { font-size: 15px; } body aside { display:block; background-color: #888; }
Change Blog Margin and Text Align
body { background-color: #15ccfb; font-family: "Roboto"; } #first { text-align: center; margin: 0px 250px 0px 250px; border: 5px solid green; background-color: white; } #second { text-align: center; margin: 0px 250px 0px 250px; border: 5px solid green; background-color: white; } #third { text-align: cente...
body { background-color: #15ccfb; font-family: "Roboto"; } #first { text-align: left; margin: 0px 250px 0px 150px; border: 5px solid green; background-color: white; } #second { text-align: left; margin: 0px 250px 0px 150px; border: 5px solid green; background-color: white; } #third { text-align: left; ma...
Decrease spacing between changes items
@import 'part:@sanity/base/theme/variables-style'; .root { background: var(--component-bg); height: 100%; display: flex; flex-direction: column; } .header { border-bottom: 1px solid var(--hairline-color); } .mainNav { display: flex; } .title { flex: 1; min-width: 0; margin: 0; font: inherit; l...
@import 'part:@sanity/base/theme/variables-style'; .root { background: var(--component-bg); height: 100%; display: flex; flex-direction: column; } .header { border-bottom: 1px solid var(--hairline-color); } .mainNav { display: flex; } .title { flex: 1; min-width: 0; margin: 0; font: inherit; l...
Create file and insertet all 'donate' from 8-button
/* ## Donate The donate button, for all campaigns, that takes you to the payment module in a modal window. Is currently placed in top-right, and bottom of each project page. - Create examples on different placing - Make sure examples have spacing and are easy to evaluate <pre>BLOCK f-button-donate</pre> ``` <div c...
Revert "attempt to change background color"
#globi-panel-top-left { background: white; } #globi-panel-top-right { background: white; } #globi-panel-bottom-left { background: white; } #globi-panel-bottom-right { background: white; } table.interactions-result { margin-top: 10px; border-collapse: collapse; ...
table.interactions-result { margin-top: 10px; border-collapse: collapse; font-size: 11px; } table.interactions-result .odd { background-color: #e7e7e7; } table.interactions-result .odd { background-color: #d7d7d7; ...
Move css style into its own file
.background { fill: #eee; } line { stroke: #fff; stroke-opacity: 0.5; shape-rendering: crispEdges; } textarea { padding: 2px; width: 714px; height: 360px; } .axis path, .axis line { fill: none; stroke: black; shape-rendering: crispEdges; } .axis text { font-family: sans-serif; font...
Make login look slightly better on mobile devices
#loginbox { border-style: double; border-width: 10px; } #loginform { margin-top: 5px; margin-bottom: 5px; margin-left: 5px; } @media only screen and (max-width: 760px) { #touchcanvas { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } } body { text-align: cente...
#loginbox { border-style: double; border-width: 10px; } #loginform { margin-top: 5px; margin-bottom: 5px; margin-left: 5px; } @media only screen and (max-width: 760px) { #touchcanvas { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } input { position: absolu...
Add media query to remove about me padding on small screens
/* * The site CSS. Excuse all the !importants, materialize.css likes to define a lot of their * own odd rules, and sometimes overriring them is a bit tricky! */ .my-face { border-radius: 50%; } #about-me { margin-top: 60px; } .about-description { padding-right: 55px; padding-left: 55px; } .form-i...
/* * The site CSS. Excuse all the !importants, materialize.css likes to define a lot of their * own odd rules, and sometimes overriring them is a bit tricky! */ .my-face { border-radius: 50%; } #about-me { margin-top: 60px; } .about-description { padding-right: 55px; padding-left: 55px; } @media...
Fix home page footer padding
/*PAGE LAYOUT*/ html, body { height:100%; text-align:center; } .wrap { min-height: 100%; height: auto; /* Negative indent footer by its height */ margin: 0 auto -190px; /* Pad bottom by footer height */ padding: 0 0 190px; } /*-------------------------------------------- /*columns*/...
/*PAGE LAYOUT*/ html, body { height:100%; text-align:center; } .wrap { min-height: 100%; height: auto; /* Negative indent footer by its height */ margin: 0 auto -190px; /* Pad bottom by footer height */ padding: 0 0 190px; } /*-------------------------------------------- /*columns*/...
Tweak background color again. Definitely a productive use of time.
body { margin: 0px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #A0CAED; } div#header { margin: 0; padding-left: 50px; padding-top: 20px; padding-bottom: 20px; background-color: #650dff; } div#header h1 { margin: 0; color...
body { margin: 0px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; background-color: #A0C6ED; } div#header { margin: 0; padding-left: 50px; padding-top: 20px; padding-bottom: 20px; background-color: #650dff; } div#header h1 { margin: 0; color...
Fix image size in RSS feed
.avatar-box { // background-color: red; } .avatar-icon { width: 48px; height: 48px; } .title-box { // background-color: pink; width:100%; } .title-name { margin-left: 10px; font-weight: bold; font-size: large; color: rgb(42, 90, 138); } .title-user { margin-left: 12px; margin-top: 10px; font-size: s...
.avatar-box { // background-color: red; } .avatar-icon { width: 48px; height: 48px; } .title-box { // background-color: pink; width:100%; } .title-name { margin-left: 10px; font-weight: bold; font-size: large; color: rgb(42, 90, 138); } .title-user { margin-left: 12px; margin-top: 10px; font-size: s...
Change static width to min-width
* { box-sizing: border-box; font-family: monospace; font-size: 16px; } .app-watcher { width: 300px; } .app-watcher__db { padding: 6px 9px; border-radius: 3px; border: solid 1px #c7c7c7; width: 100%; } .app-watcher__submit-btn { width: 100%; border-radius: 3px; border: none; background-color: ...
* { box-sizing: border-box; font-family: monospace; font-size: 16px; } .app-watcher { min-width: 300px; } .app-watcher__db { padding: 6px 9px; border-radius: 3px; border: solid 1px #c7c7c7; width: 100%; } .app-watcher__submit-btn { width: 100%; border-radius: 3px; border: none; background-col...
Apply placeholder styles to TextPropertyEditors
/* TODO: use variables! */ .sc-container-editor > .sc-text-node:only-child > .sc-text-property.sm-empty:before, .sc-text-input .sc-text-property.sm-empty:before { content: attr(data-placeholder); position: absolute; color: var(--t-placeholder-text-color); font-weight: var(--t-normal-font-weight); }
.sc-container-editor > .sc-text-node:only-child > .sc-text-property.sm-empty:before, .sc-text-input .sc-text-property.sm-empty:before, .sc-text-property-editor .sc-text-property.sm-empty:before { content: attr(data-placeholder); position: absolute; color: var(--t-placeholder-text-color); font-weight: var(--t-no...
Add custom CSS for the portal
@font-face { font-family: 'l-lt'; src: url('fonts/l-lt.eot'); src: url('fonts/l-lt.eot?#iefix') format('embedded-opentype'), url('fonts/l-lt.woff') format('woff'), url('fonts/l-lt.ttf') format('truetype'), url('fonts/l-lt.svg#l-lt') format('svg'); font-weight: normal; font...
Make the "warning" more visible
#note { position: absolute; z-index: 999999; top: 0; left: 0; right: 0; background: #fde073; text-align: center; line-height: 2.5; overflow: hidden; -webkit-box-shadow: 0 0 5px black; -moz-box-shadow: 0 0 5px black; box-shadow: 0 0 5px black; }
#note { position: fixed; z-index: 999999; top: 0; left: 0; right: 0; background: #fde073; text-align: center; line-height: 2.5; overflow: hidden; -webkit-box-shadow: 0 0 5px black; -moz-box-shadow: 0 0 5px black; box-shadow: 0 0 5px black; }
Fix CSS selectors in FindingOptions
.FindingOptions > .RouteSummary > .segments { padding: 0; display: block; text-align: center; } .FindingOptions > .RouteSummary > .segments > .segment { display: inline; } .FindingOptions > .RouteSummary > .segments > .segment > .shield { margin: 6px 6px -4px 0; height: 22px; } .FindingOptions > .RouteS...
.FindingOptions .RouteSummary { margin: 15px 0; } .FindingOptions .RouteSummary > .segments { padding: 0; display: block; text-align: center; } .FindingOptions .RouteSummary > .segments > .segment { display: inline; } .FindingOptions .RouteSummary > .segments > .segment > .shield { margin: 6px 6px -4px ...
Set the debug canvas to not recieve pointer events
.server { overflow: hidden; border: 1px solid black; } .center { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .window { ...
.server { overflow: hidden; border: 1px solid black; } .center { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); -o-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .window { ...
Add sassoon for hard-to-read styles
/* Low Literacy/Dyslexic Style Same layout, different typeface */ body { font-family: "Comic Sans MS", "MS Comic Sans", "Chalkboard", "Marker Felt", Verdana, sans-serif; font-size: 110%; } #wrapper hgroup h1 span, article header h1 span, aside .chapters-navigation li a .part-label { text-transform: none !...
/* Low Literacy/Dyslexic Style Same layout, different typeface */ body { font-family: "Sassoon Sans W01", "Comic Sans MS", "MS Comic Sans", "Chalkboard", "Marker Felt", Verdana, sans-serif; font-size: 110%; } #wrapper hgroup h1 span, article header h1 span, aside .chapters-navigation li a .part-label { te...
Hide overflow caused by excessively long urls.
/* * Copyright 2019 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. */ .media-attributes-view { border-bottom: 1px solid var(--divider-color); } .media-property-renderer { line-height: 20px; height: 28px; padd...
/* * Copyright 2019 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. */ .media-attributes-view { border-bottom: 1px solid var(--divider-color); } .media-property-renderer { line-height: 20px; height: 28px; padd...
Fix video layout in landscape mode
body { margin: 0; } .mainContainer { width: 100%; height: 100vh; } .joystick { text-align: center; position: relative; } .moveJoystick { background-color: lightblue; } .rotationJoystick { background-color: lightcoral; } @media screen and (orientation:landscape) { .moveJoystick { ...
body { margin: 0; } .mainContainer { width: 100%; height: 100vh; } .joystick { text-align: center; position: relative; } .moveJoystick { background-color: lightblue; } .rotationJoystick { background-color: lightcoral; } @media screen and (orientation:landscape) { .moveJoystick { ...
Add styling for the error messages on survey
/* Custom Stylesheet */ /* CU Colors CU GOLD: #CFB87C Black: #000000 CU Dark Gray: #565A5C CU Light Gray: #A2A4A3 Black Alternative: #212121; */ .icon-block { padding: 0 15px; } .icon-block .material-icons { font-size: inherit; } nav { background-color: #212121; } nav ul li:hover { background-color: #CFB...
/* Custom Stylesheet */ /* CU Colors CU GOLD: #CFB87C Black: #000000 CU Dark Gray: #565A5C CU Light Gray: #A2A4A3 Black Alternative: #212121; */ .icon-block { padding: 0 15px; } .icon-block .material-icons { font-size: inherit; } nav { background-color: #212121; } nav ul li:hover { background-color: #CFB...
Make font size large. Use same color for h1 & h2s.
#container { width: 95%; margin: 0 auto; } body { color: rgba(71, 66, 59, 1); background-color: rgba(242, 249, 248, 1); } h1 { color: rgba(17, 113, 134, 1); } h2 { color: rgba(133, 179, 194, 1); } a:visited { color: rgba(119, 119, 119, 1); } a { color: rgba(167, 183, 183, 1); } #avatar { backg...
#container { width: 95%; margin: 0 auto; } 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);*/ } a:visited { color: rgba(119, 119, 119, 1); } a {...
Increase text size and change colour
.temp { background-color: black; background: black; color: white; font-family: Arial; }
.temp { background-color: black; background: black; color: yellow; font-family: Arial; font-size: 50px; }
Fix Annotataed Diagram page which had stopped working if hightlight was set to oval or rectangle
/* annotatedDiagram.html */ #imageHolder, #canvas, #hsHolder { position: absolute; margin: 0; } #pageContents .hotspot { position: absolute; cursor: pointer; } #pageContents .oval { -moz-border-radius: 50% 50%; border-radius: 50% 50%; } #hsHolder a.selected, #hsHolder .hsGroup.selected a {...
/* annotatedDiagram.html */ #imageHolder, #canvas, #hsHolder { position: absolute; margin: 0; } #pageContents .hotspot { position: absolute; cursor: pointer; } #pageContents .oval { -moz-border-radius: 50% 50%; border-radius: 50% 50%; } #hsHolder .hotspot.selected, #hsHolder .hsGroup.selec...
Fix newline character (CR+LF -> LF)
body { color: #333; } input[type=search]::search-cancel-button, input[type=search]::search-decoration { appearance: none; } .global-header { background: #003760; } .main { background: #fff; } .global-footer { background: #003760; }
body { color: #333; } input[type=search]::search-cancel-button, input[type=search]::search-decoration { appearance: none; } .global-header { background: #003760; } .main { background: #fff; } .global-footer { background: #003760; }
Hide help link in Private Browsing tab
/* Firefox userContent.css */ /* -------------------------------------------------------------------------- */ /* Private Browsing Tab */ /* -------------------------------------------------------------------------- */ @-moz-document url("about:privatebrowsing") {...
/* Firefox userContent.css */ /* -------------------------------------------------------------------------- */ /* Private Browsing Tab */ /* -------------------------------------------------------------------------- */ @-moz-document url("about:privatebrowsing") {...
Add a missing comma to a selector.
.Button { transition: background-color 0.2s; display: inline-block; padding: 0.6em 1em; background: hsla(31, 15%, 50%, 0.15); color: inherit; border: 0; border-radius: 2px; cursor: pointer; font-size: 0.8125em; font-weight: 300; line-height: normal; text-decoration: none; white-space: nowrap; ...
.Button { transition: background-color 0.2s; display: inline-block; padding: 0.6em 1em; background: hsla(31, 15%, 50%, 0.15); color: inherit; border: 0; border-radius: 2px; cursor: pointer; font-size: 0.8125em; font-weight: 300; line-height: normal; text-decoration: none; white-space: nowrap; ...
Add height to app for background videos
@value montserrat from './common/typography.css'; /* * Add any global styles here */ * { box-sizing: border-box; } body { margin: 0; } .app { composes: box from './common/layout.css'; font-family: montserrat; font-weight: normal; font-smoothing: antialiased; }
@value montserrat from './common/typography.css'; /* * Add any global styles here */ * { box-sizing: border-box; } body { margin: 0; } .app { composes: box from './common/layout.css'; height: 100%; font-family: montserrat; font-weight: normal; font-smoothing: antialiased; }
Fix display on mobile devices
#app footer { background-color: #00d1b2; margin-top: 2em; } #app footer p, #app footer i, #app footer a { color: white; } #app footer a { font-weight: bold; } #app > section { padding-top: 2em; background-color: transparent; } body { background: url(/images/background.png); height: ...
#app footer { background-color: #00d1b2; margin-top: 2em; } #app footer p, #app footer i, #app footer a { color: white; } #app footer a { font-weight: bold; } #app > section { padding-top: 2em; background-color: transparent; } body { background: url(/images/background.png); height: ...
Make styling apply to invalid <select> elements
#form-data { /*display : block;*/ display: none; font-family: monospace; white-space: pre; border: 2px solid black; } input:invalid { box-shadow: 0 0 5px 1px red; } input:focus:invalid { outline: none; }
#form-data { /*display : block;*/ display: none; font-family: monospace; white-space: pre; border: 2px solid black; } form :invalid { box-shadow: 0 0 5px 1px red; } form :focus:invalid { outline: none; }
Set black button on hover and focus
.begin { background: #15848F; } .end { background: #DC143C; } .form button.begin, .form button.end { float: none; margin-left: 45%; }
.begin { background: #15848F; } .end { background: #DC143C; } .form button:hover, .form button:focus { background: black; } .form button.begin, .form button.end { float: none; margin-left: 45%; }
Add some padding to anchors in table for easier clickability.
.anchor { text-decoration: none; font-size: medium; opacity: 0.20; } .anchor:hover { opacity: 1; } table { border-collapse: collapse; } table > thead > tr:last-child > th { vertical-align: bottom; } table > tbody > tr > th { position: relative; } table > tbody > tr > th > .anchor { ...
.anchor { text-decoration: none; font-size: medium; padding: 0.25em 0 0 0.25em; opacity: 0.20; } .anchor:hover { opacity: 1; } table { border-collapse: collapse; } table > thead > tr:last-child > th { vertical-align: bottom; } table > tbody > tr > th { position: relative; } table > ...
Use OS X default background color
html, body { font: 13px Helvetica Neue, Lucida Grande, sans-serif; height: 100%; margin: 0; } /* MARK: - Editor */ .editor { display: -webkit-flex; -webkit-flex-direction: row; height: 100%; } .layers-panel { width: 200px; } .canvas { -webkit-flex: 1; } .inspector-panel { width: 200px; }
html, body { font: 13px Helvetica Neue, Lucida Grande, sans-serif; height: 100%; margin: 0; background: rgb(236, 236, 236); } /* MARK: - Editor */ .editor { display: -webkit-flex; -webkit-flex-direction: row; height: 100%; } .layers-panel { width: 200px; } .canvas { -webkit-flex: 1; } .inspector-p...
Fix arrow hover border style.
html { height: 100%; } body { height: 100%; margin: 0; padding: 0; background-color: #333; color: #ccc; } A:link, A:visited, A:active { color: #ccc; text-decoration: none; } A:hover { color: #fff; text-decoration: underline; } img.arrow { border-width: 0px; vertical-align: text-top; } img { border: solid 2...
html { height: 100%; } body { height: 100%; margin: 0; padding: 0; background-color: #333; color: #ccc; } A:link, A:visited, A:active { color: #ccc; text-decoration: none; } A:hover { color: #fff; text-decoration: underline; } img { border: solid 2px #ccc; } img:hover { border: solid 8px #fff; } .selected {...
Move dim from skins to hovers.
/* HOVER EFFECTS Put the hide-child class on a parent element and any nested element with the child class will be hidden and displayed on hover or focus. <div class="hide-child"> <div class="child"> Hidden until hover or focus </div> <div class="child"> Hidden until hover or focus </div> <div clas...
/* HOVER EFFECTS Put the hide-child class on a parent element and any nested element with the child class will be hidden and displayed on hover or focus. <div class="hide-child"> <div class="child"> Hidden until hover or focus </div> <div class="child"> Hidden until hover or focus </div> <div clas...
STOP WRAPPING ON MOBILE IT DOESN'T MAKE ANY SENSE
body { padding-top: 70px; } .social-icons { width: 200px; } ul.social-slide a { background-image: url('/images/social-sprite.png'); height: 62px; width: 64px; margin: 10px; display: block; transition: all ease 0.3s; } .facebook { background-position: -10px -10px; } .facebook:hover { background-position:...
body { padding-top: 70px; } .social-icons { width: 220px; } ul.social-slide a { background-image: url('/images/social-sprite.png'); height: 62px; width: 64px; margin: 10px; display: block; transition: all ease 0.3s; } .facebook { background-position: -10px -10px; } .facebook:hover { background-position:...
Use monospace font for cost
.add-item { margin: 6px; }
.add-item { margin: 6px; } .item-cost { font-family: "Lucida Console", Monaco, monospace; }
Add import bootstrap to assest pipeline
/* * 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 bug causing funny formatting on contact form checkboxes.
form.contact-form label { float: left; width: 150px; display: block; text-align: right; margin-right: 5px; margin-bottom: 3px; } form.contact-form input, form.contact-form select, form.contact-form textarea { float: left; margin-bottom: 3px; margin-right: 5px; } form.contact-form br { clear: left;...
form.contact-form label { float: left; width: 150px; display: block; text-align: right; margin-right: 5px; margin-bottom: 3px; } form.contact-form input, form.contact-form select, form.contact-form textarea { float: left; margin-bottom: 3px; margin-right: 5px; } form.contact-form br { clear: left;...
Improve Blog Switcher's Use of Space
.switcher { width: 100px; background-color: #282D31; display: flex; flex-direction: column; justify-content: space-between; } .switcher ul { list-style: none; margin: 0; padding: 0; } .switcher .switch-btn { height: 60px; width: 60px; margin: 20px; border-radius: 5px; ...
.switcher { width: 60px; background-color: #282D31; display: flex; flex-direction: column; justify-content: space-between; } .switcher ul { list-style: none; margin: 0; padding: 0; } .switcher .switch-btn { height: 40px; width: 40px; margin: 10px; border-radius: 5px; ...
Make inactive edges light gray instead of invisible
.blurb div { border-style: groove; background-color: yellow; overflow: scroll; } .vertex.tac text { text-anchor: end; } .vertex.asoiaf text { text-anchor: start; } .vertex.selected text { font-weight: bold; } line.edge { visibility: hidden; stroke: blue; stroke-width: 2px; } line.edge.active { visibilit...
.blurb div { border-style: groove; background-color: yellow; overflow: scroll; } .vertex.tac text { text-anchor: end; } .vertex.asoiaf text { text-anchor: start; } .vertex.selected text { font-weight: bold; } line.edge { stroke: LightGray; stroke-width: 2px; pointer-events: none; } line.edge.active { st...
Add styling to list items
/* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; border-radius: 10px; } .main-content { width: 300px; border: solid #ccc 1px; border-radius: 10px; margin: 10px; } .a...
/* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; border-radius: 10px; } .main-content { width: 300px; border: solid #ccc 1px; border-radius: 10px; margin: 10px; } .a...
Remove margin from title to give more room on page
form { text-align: center; } div.parameters, div.signature { text-align: left; display: inline-block; vertical-align: top; margin: 0 20px; } input[type=text] { width: 200px; } input.large { width: 500px; } input.small { width: 80px; } textarea.curl { font-family: monospace; width: 500px; height: 8...
form { text-align: center; } div.parameters, div.signature { text-align: left; display: inline-block; vertical-align: top; margin: 0 20px; } input[type=text] { width: 200px; } input.large { width: 500px; } input.small { width: 80px; } textarea.curl { font-family: monospace; width: 500px; height: 8...
Fix icons set as background in IE
/* IE hacks ==================================== */ * html .active-scaffold-header, .active-scaffold li.form-element, .active-scaffold li.sub-section { zoom: 1; } * html .active-scaffold td .messages-container { border-top: solid 1px #DAFFCD; } .active-scaffold-header div.actions a.show_search { background-image:...
/* IE hacks ==================================== */ * html .active-scaffold-header, .active-scaffold li.form-element, .active-scaffold li.sub-section { zoom: 1; } * html .active-scaffold td .messages-container { border-top: solid 1px #DAFFCD; } * html .active-scaffold-header div.actions a.show_search { background...
Fix max-height for children actions
/*nanny styles*/ .content{ background-color: #fff; padding: 1px 20px 0 20px; } .content h4{ color: #8dc63f; font-weight: bold; } .info{ min-height: 20px; max-height: 150px; overflow-y: auto; padding: 19px; margin-bottom: 20px; } .dotted-line{ height: 15px; border-bottom-style: dotted; border-bottom...
/*nanny styles*/ .content{ background-color: #fff; padding: 1px 20px 0 20px; } .content h4{ color: #8dc63f; font-weight: bold; } .info{ min-height: 20px; max-height: 150px; overflow-y: auto; padding: 19px; margin-bottom: 20px; } .dotted-line{ height: 15px; border-bottom-style: dotted; border-bottom...
Revert to previous layout for search bars
.footer-logos img { height: 50px; margin: 10px 5% 10px 0px; vertical-align: baseline; } aside.multi-line-header { padding-top: 1.2em; } .page-header h1 { text-align: center; margin-bottom: 1.5em; font-size: 24px; } h1.article-header { font-size: 2em; } #geography-select-wrapper .browse-only { ...
.footer-logos img { height: 50px; margin: 10px 5% 10px 0px; vertical-align: baseline; } aside.multi-line-header { padding-top: 1.2em; } .page-header h1 { text-align: center; margin-bottom: 1.5em; font-size: 24px; } h1.article-header { font-size: 2em; } #geography-select-wrapper .browse-only { ...
Remove borders from images within links (those are ugly!)
/*================================================== * Exhibit styles * * Note that almost all CSS code is in themes. *================================================== */ .exhibit-ui-protection div { margin: 0; padding: 0; } .exhibit-ui-protection table { font-size: 100%; } .exhibit-ui-protection...
/*================================================== * Exhibit styles * * Note that almost all CSS code is in themes. *================================================== */ .exhibit-ui-protection div { margin: 0; padding: 0; } .exhibit-ui-protection table { font-size: 100%; } .exhibit-ui-protection...
Add spacing (margin-top) above headings
header img { height: 100px; display: block; margin: 0 auto; } h2, h3 { color: #e33333; } img { max-width: 100%; }
header img { height: 100px; display: block; margin: 0 auto; } h1, h2, h3 { color: #e33333; margin-top: 1.5rem; } img { max-width: 100%; }
Add nut file for Safari hack
.card,.modal .overlay ~ *{box-shadow:0 0 .6em rgba(17,17,17,0.2);border-radius:.2em;border:0;overflow:hidden;margin:.3em;text-align:left;background:#fff;padding:.6em}.card>*,.modal .overlay ~ *>*{width:100%;display:block}.card h1,.card h2,.card h3,.card h4,.card h5,.card h6,.modal .overlay ~ * h1,.modal .overlay ~ * h2...
Make [hidden] display: none !important, because Chrome doesn't
body { background-color: #312164; color: #f6f4fc; font-family: Rokkitt, serif; text-align: center; } /* Normalizations */ input::-moz-focus-inner, button::-moz-focus-inner /*Remove button padding in FF*/ { border: 0; padding: 0; } input /*Remove red shadow on invalid inputs*/ { box-shadow: none; } a {...
body { background-color: #312164; color: #f6f4fc; font-family: Rokkitt, serif; text-align: center; } /* Normalizations */ input::-moz-focus-inner, button::-moz-focus-inner /*Remove button padding in FF*/ { border: 0; padding: 0; } input /*Remove red shadow on invalid inputs*/ { box-shadow: none; } a {...
Add simple template with useful selectors
/** * =========================== * Your Style Goes Here * =========================== **/
/** * ============================================================================= * This is the file where all your styling should go in. * Instead of modifying the styles found in the monogatari.css file or others, * you should overwrite those styles in this file. * * The CSS selectors shown are not an extensi...
Adjust attribution alignment and size.
.reveal section img { border: 0; background: none; } .reveal h1, .reveal h2, .reveal h3, .reveal h4 { text-transform: none; } .reveal .attribution { background-color: rgba(0, 0, 0, 0.6); color: #fff; padding: 2px 15px; display: inline-block; position: absolute; top: 5px 5px; } #attribution { posi...
.reveal section img { border: 0; background: none; } .reveal h1, .reveal h2, .reveal h3, .reveal h4 { text-transform: none; } .reveal .attribution { background-color: rgba(0, 0, 0, 0.6); color: #fff; padding: 2px 15px; display: inline-block; position: absolute; top: 5px 5px; } #attribution { posi...
Add triangle to bottom left of tooltip
.hx-tooltip { box-shadow: none; border: none; background-color: #686868; font-size: 12px; color: white; font-weight: 600; padding: 10px 15px; border-radius: 3px; } .hx-tooltip:before { }
.hx-tooltip { box-shadow: none; margin-bottom: 7px; border: none; background-color: #686868; font-size: 12px; color: white; font-weight: 600; padding: 10px 15px; border-radius: 3px; overflow: visible; } .hx-tooltip:before { font-size: 0; content: ' '; position: absol...
Connect the main menu, go through the links.
/* { font-size: 14px; box-sizing: border-box; position: absolute; right: 250px; top: 0px; border-radius: 5px; border: 0px; background-color: blue; text-align: center; */ nav a { display: inline-block; padding: 18px 30px; color: #fff !important; font-weight: bold; ...
.main-menu { display: inline-block; margin: 60px auto 45px; box-shadow: 0 1px 1px #ccc; font-family: 'Open Sans Semibold', sans-serif; } .main-menu a { display: inline-block; padding: 18px 30px; color: #fff !important; font-weight: bold; font-size: 13px; text-decoration: none !i...
Remove left margin on first item in list social
@import "./_icon-social.css"; .list-social { padding: 0; margin: 0; list-style-type: none; &__item { padding: 0; display: inline-block; font-size: 0; margin-left: 5px; } &__link { &:first-child { margin-left: 0; } } }
@import "./_icon-social.css"; .list-social { padding: 0; margin: 0; list-style-type: none; &__item { padding: 0; display: inline-block; font-size: 0; margin-left: 5px; &:first-child { margin-left: 0; } } }