Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Change font: to font-size and font-family
/* Copyright (C) 2015 The Android Open Source Project 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 w...
/* Copyright (C) 2015 The Android Open Source Project 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 w...
Tweak font sizes on email subscription page for consistency
/* Event show page styling */ body { background-color: #000; } .form-container { padding: 10px; padding-left: 20px; margin-top: 120px; border-radius: 10px; color: black; background-color: white; font-size: 1.2rem; } @media only screen and (min-width: 960px) { /* horizontally center event containe...
/* Event show page styling */ body { background-color: #000; } .form-container { padding: 10px; padding-left: 20px; margin-top: 120px; border-radius: 10px; color: black; background-color: white; } @media only screen and (min-width: 960px) { /* horizontally center event container with extra top and b...
Make feature images span 100% of the page
.thumbnail { display: inline-block; padding: 4px; margin-bottom: 20px; line-height: 1.42857143; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; -webkit-transition: border .2s ease-in-out; -o-transition: border .2s ease-in-out; transition: border .2s ease-in-ou...
.thumbnail { display: inline-block; padding: 4px; margin-bottom: 20px; line-height: 1.42857143; background-color: #fff; border: 1px solid #ddd; border-radius: 4px; -webkit-transition: border .2s ease-in-out; -o-transition: border .2s ease-in-out; transition: border .2s ease-in-ou...
Add some responsive utilities for setting the aspect ratio.
/* UTILITIES */ .aspect-ratio { height: 0; padding-top: 56.25%; position: relative; } .aspect-ratio--object { bottom: 0; height: 100%; left: 0; position: absolute; right: 0; top: 0; width: 100%; z-index: 100; } .overflow-container { overflow-y: scroll; } .center { marg...
/* UTILITIES */ .aspect-ratio { height: 0; padding-top: 56.25%; position: relative; } .aspect-ratio--object { bottom: 0; height: 100%; left: 0; position: absolute; right: 0; top: 0; width: 100%; z-index: 100; } .overflow-container { overflow-y: scroll; } .center { mar...
Allow code blocks to take more space
.button-example { font-size: 1.5em; } .controls-lock { background-image: url(/images/lock.png); bottom: 10px; height: 110px; opacity: .7; position: fixed; right: 10px; -webkit-transition: opacity .5s ease-in-out; -moz-transition: opacity .5s ease-in-out; -ms-transition: opacity .5s ease-in-out; -...
.button-example { font-size: 1.5em; } .controls-lock { background-image: url(/images/lock.png); bottom: 10px; height: 110px; opacity: .7; position: fixed; right: 10px; -webkit-transition: opacity .5s ease-in-out; -moz-transition: opacity .5s ease-in-out; -ms-transition: opacity .5s ease-in-out; -...
Optimize background for smaller resolutions
html,body{margin:0;padding:0}body{background:#230d26 url("http://i.cubeupload.com/0VIA9H.png") no-repeat fixed left top}.mainmenufooter a{color:#ccc}.mainmenufooter a:hover{color:#e5e5e5}.menugroup .button{color:#fff;border:solid 1px #000;background:#333}.menugroup .button:hover{color:#fff;border:solid 1px #000;backgro...
html,body{margin:0;padding:0}body{background:#230d26 url("http://i.cubeupload.com/NmOrpo.png") no-repeat fixed left top}.mainmenufooter a{color:#ccc}.mainmenufooter a:hover{color:#e5e5e5}.menugroup .button{color:#fff;border:solid 1px #000;background:#333}.menugroup .button:hover{color:#fff;border:solid 1px #000;backgro...
Fix jump in form container width
body { margin: 0px 0px 0px 0px; } div#form-container { margin-left:auto; margin-right:auto; } @media screen and (max-width: 492px) { div#form-container { width: 320px; } } @media screen and (max-width: 800px) and (min-width: 492px) { div#form-container { width: 75%; } } @media screen and (min...
body { margin: 0px 0px 0px 0px; } div#form-container { margin-left:auto; margin-right:auto; } @media screen and (max-width: 492px) { div#form-container { width: 369px; } } @media screen and (max-width: 800px) and (min-width: 492px) { div#form-container { width: 75%; } } @media screen and (min...
Stop text wrapping in tab menu
.tab-menu-title { -webkit-user-select: none; cursor: pointer; font-size: 11.5px; } .select-element { width: 16px; height: 16px; margin-top: 4px; margin-right: 10px; padding: 3px; }
.tab-menu-title { -webkit-user-select: none; cursor: pointer; font-size: 11.5px; white-space: nowrap; } .select-element { width: 16px; height: 16px; margin-top: 4px; margin-right: 10px; padding: 3px; }
Add less padding to top list
#logo-text { font-size: 30px; } #all-blogs { padding-top: 50px; } .card-content { padding: 1rem; }
#logo-text { font-size: 30px; } #all-blogs { padding-top: 40px; } .card-content { padding: 1rem; }
Add bottom margin to a grid in the page
/* MAIN LAYOUT */ body { min-height: 700px; min-width: 1200px; width: 100%; height: 100%; } #web-content { position: absolute; height: 100%; display: flex; flex-direction: column; align-items: stretch; } #header { } #menuAndPageWrapper { display: flex; flex-direction: row; align-items: stretch; flex...
/* MAIN LAYOUT */ body { min-height: 700px; min-width: 1200px; width: 100%; height: 100%; } #web-content { position: absolute; height: 100%; display: flex; flex-direction: column; align-items: stretch; } #header { } #menuAndPageWrapper { display: flex; flex-direction: row; align-items: stretch; flex...
Fix horizontal movement of modal in small view
.liquid-target-container.has-targets { bottom: 0; overflow-y: auto; } .modal-dialog { z-index: 2002; margin: 0 10px !important; padding-top: 10px !important; } @media (min-width: 768px) { .modal-dialog { width: 600px; margin: 0 auto !important; padding-top: 30px !important; } } .modal-backd...
.liquid-target-container.has-targets { bottom: 0; overflow-y: auto; } .modal-dialog { z-index: 2002; margin: 0 auto !important; padding: 10px !important; } @media (min-width: 768px) { .modal-dialog { width: 600px; margin: 0 auto !important; padding: 30px !important; } } .modal-backdrop { ...
Add CSS to goal listings
.container { margin: 0 auto; width: 720px; padding: 20px; } .pillar-name { font-weight: bold; } .error-messages { color: red; font-size: 10px; } span.active { color: red; } .checked-box { background: url('../images/checkbox_checked.png'); background-repeat: no-repeat; width: 10px; height: 10px...
.container { margin: 0 auto; width: 720px; padding: 20px; } .pillar-name { font-weight: bold; } .error-messages { color: red; font-size: 10px; } span.active { color: red; } .checked-box { background: url('../images/checkbox_checked.png'); background-repeat: no-repeat; width: 10px; height: 10px...
Modify / Remove padding-bottom in body which doesn't look in need
body { padding-top: 70px; padding-bottom: 30px; } .theme-dropdown .dropdown-menu { position: static; display: block; margin-bottom: 20px; } .theme-showcase > p > .btn { margin: 5px 0; } .theme-showcase .navbar .container { width: auto; }
body { padding-top: 70px; padding-bottom: 0px; } .theme-dropdown .dropdown-menu { position: static; display: block; margin-bottom: 20px; } .theme-showcase > p > .btn { margin: 5px 0; } .theme-showcase .navbar .container { width: auto; }
Clean up new styles - Remove formtastic-bootstrap require - Change font size so we can override defaults with rems
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path...
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path...
Add more styling for having a map canvas within a map container
html, body, #map-canvas { height: 100%; margin: 0; padding: 0;}
html, body { height: 100%; margin: 0; padding: 0;} #map-canvas { height: 400px; border-radius: 16px 16px; border-color: #fff; border-style: solid; box-shadow: 2px 2px 10px #B1B1B1; margin-top: 25px; border-width: 7px; } #map-canvas { height: 384px; width: 100%; }
Make floated elements selectable in editor
.outer { margin-left: 8%; margin-right: 8%; } .outer-full { margin-left: 0; margin-right: 0; } .item { margin-left: auto; margin-right: auto; max-width: 700px; } .item-full { margin-left: 0; margin-right: 0; max-width: none; } .clear { clear: both; } @media (min-width: 950px) { .inner-left,...
.outer { margin-left: 8%; margin-right: 8%; } .outer-full { margin-left: 0; margin-right: 0; } .item { margin-left: auto; margin-right: auto; max-width: 700px; } .item-full { margin-left: 0; margin-right: 0; max-width: none; } .clear { clear: both; } @media (min-width: 950px) { .inner-left,...
Scale down the button font size even further.
.slide { background: none; top: 0; height: 100%; display: none; } .current-slide { display: block; } .controls { opacity: 0; } .controls:hover { opacity: .3; } .controls .control-button { position: absolute; top: 0; height: 100%; display: block; background: #ccc; ...
.slide { background: none; top: 0; height: 100%; display: none; } .current-slide { display: block; } .controls { opacity: 0; } .controls:hover { opacity: .3; } .controls .control-button { position: absolute; top: 0; height: 100%; display: block; background: #ccc; ...
Add scroll bar styling to be hidden
.SelectCompetitionContainer { height: 85%; width: 100%; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: space-between; align-items: center; } .SelectCompetitionContainer p { font-size: 1.6vw; } .CardsContainer { height: 75%; width: 100%; display: flex; align-items: c...
.SelectCompetitionContainer { height: 85%; width: 100%; display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: space-between; align-items: center; } .SelectCompetitionContainer p { font-size: 1.6vw; } .CardsContainer { height: 75%; width: 100%; display: flex; align-items: c...
Fix document pane title overflow
@import 'part:@sanity/base/theme/variables-style'; .root { /* display: block; */ } .mainNav { display: flex; } .title { flex: 1; min-width: 0; padding: 1em; line-height: 17px; cursor: default; @nest .isCollapsed & { transform: rotate(90deg); transform-origin: calc(49px / 2) calc(49px / 2); ...
@import 'part:@sanity/base/theme/variables-style'; .root { /* display: block; */ } .mainNav { display: flex; } .title { flex: 1; min-width: 0; padding: 1em; line-height: 17px; cursor: default; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; @nest .isCollapsed & { transform:...
Remove unnecessary margins from lvalue widget causing it to get more spacing than other widgets
.lvalue .widget-body { padding: 0; text-align: center; min-height: 152px; } .lvalue .last { margin: 10px auto; text-align: center; height: 44px; } .lvalue .short.last { font-size: 44px; } .lvalue .long.last { font-size: 24px; color: #555; } .lvalue .time { margin: 8px auto; margin-right: 12px; fo...
.lvalue .widget-body { padding: 0; text-align: center; } .lvalue .last { margin: 10px auto; text-align: center; height: 44px; } .lvalue .short.last { font-size: 44px; } .lvalue .long.last { font-size: 24px; color: #555; } .lvalue .time { font-size: 12px; text-align: right; color: #808080; } .lvalue...
Tweak css for footer and corners
--- --- /** * Icons */ .icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; } .icon > svg path { fill: #828282; } footer { padding-top: 10px; width: 100%; min-height: 70px; } .landing-footer { position: absolute; bottom: 0; } .site-header, .page-content...
--- --- /** * Icons */ .icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; } .icon > svg path { fill: #828282; } footer { padding-top: 10px; width: 100%; min-height: 40px; vertical-align: middle; } .landing-footer { position: absolute; bottom: 0; } ....
Change position of instructions panel.
a:link { color: #fff; } a:visited { color: #fff; } #urbgen_viewer { background-color: #fff; } #info_container { position: fixed; } #instructions { display: none; top: 10px; left: 10px; width: 50vw; height: 70vh; padding: 25px; overflow: scroll; background-color: white; position: relative; ...
a:link { color: #fff; } a:visited { color: #fff; } #urbgen_viewer { background-color: #fff; } #info_container { position: fixed; } #instructions { display: none; top: 20px; left: 10px; width: 50vw; height: 70vh; padding: 25px; overflow: scroll; background-color: white; position: relative; ...
Add Lato font family and update logo image relative width
/* Main css file */ body, html { margin: 0; padding-top: 50px; width: 100%; height: 100%; } img, embed, object, video { max-width: 100%; align-content: center; } nav, a, button { min-width: 48px; min-height: 48px; } #logo-border { border-bottom: 3px solid #bcbbbb; } #portfolio {...
/* Main css file */ body, html { margin: 0; padding-top: 50px; width: 100%; height: 100%; font-family: 'Lato', sans-serif; } img, embed, object, video { max-width: 100%; align-content: center; } nav, a, button { min-width: 48px; min-height: 48px; } #logo-border { border-botto...
Adjust style for field elements
.pokemon-pane { display: inline-block; width: 48%; margin: auto; } .results-pane { height: 15%; } #results > h3 { margin: 0px; } .results-list { display: inline-block; width: 48%; margin: 0px; padding: 0px; } li { list-style-type: none; display: inline; } .results-move-name, .results-move-damage { text-alig...
.pokemon-pane { display: inline-block; width: 48%; margin: auto; } .pokemon-pane h3 { margin-top: 4px; margin-bottom: 8px; } .field-pane { display: inline-block; width: 30%; margin: auto; margin-top: 8px; text-align: center; } #field-details { width: 20%; } .results-pane { height: 15%; } #results > h3 { ma...
Improve the look of "contact match" email editing dialog for non-admin users Done
a.contact-button { background: transparent none left top no-repeat; } .contact-button .fa.fa-envelope { vertical-align: baseline; margin-right: 3px; } .contact-dialog { overflow: hidden; } .contact-dialog h2 { margin-top: 0; } .contact-dialog textarea[name="message"]{ height: 380px; resize: none; overfl...
a.contact-button { background: transparent none left top no-repeat; } .contact-button .fa.fa-envelope { vertical-align: baseline; margin-right: 3px; } .contact-dialog { overflow: hidden; } .contact-dialog h2 { margin-top: 0; } .contact-dialog textarea[name="message"]{ height: 380px; resize: none; overfl...
Put C4 status links at the bottom
body { font-family: Arial, Helvetica, sans-serif; } h1, h2 { padding: 1em; text-align: center; } h1 { font-size: 72px; } footer { text-align: right; }
body { font-family: Arial, Helvetica, sans-serif; } h1, h2 { padding: 1em; text-align: center; } h1 { font-size: 72px; } footer { position: absolute; bottom: 1em; right: 1em; }
Fix border color in GitHub’s dark mode
.npmhub-deps { list-style: none; padding: 0 !important; } .npmhub-deps > li { padding: 10px; border-bottom: 1px solid #ddd; } .npmhub-deps > li:last-child { border-bottom: none; } li.npmhub-empty { opacity: 0.6; } .npmhub-deps em { color: darkgray; } .npmhub-header { float: right; margin-right: 3px; }...
.npmhub-deps { list-style: none; padding: 0 !important; } .npmhub-deps > li { padding: 10px; border-bottom: 1px solid var(--color-border-primary, #ddd); } .npmhub-deps > li:last-child { border-bottom: none; } li.npmhub-empty { opacity: 0.6; } .npmhub-deps em { color: darkgray; } .npmhub-header { float: ...
Make the mode colors darker.
.receipt_index { width: 2em; max-width: 2em; } .receipt_vendor_id { width: 5em; max-width: 5em; } .receipt_item { width: auto; } .receipt_code { width: 8em; max-width: 8em; text-align: center; } td.receipt_code { font-family: monospace; } .receipt_price { width: 5...
.receipt_index { width: 2em; max-width: 2em; } .receipt_vendor_id { width: 5em; max-width: 5em; } .receipt_item { width: auto; } .receipt_code { width: 8em; max-width: 8em; text-align: center; } td.receipt_code { font-family: monospace; } .receipt_price { width: 5...
Make buttons a bit less ugly.
body { font-family: sans-serif; } .player-controls { margin: 1.5em; } .control { padding: .5em; background: grey; border: dotted black; border-width: .3em; margin: 1em; display: inline; }
body { font-family: sans-serif; } .player-controls { margin: 1.5em; } .control { padding: .5em; background: grey; border: solid black; border-radius: .5em; border-width: 1px; margin: .5em; display: inline; }
Work around IE white-space bug.
div.vex-tabdiv { font-family: Arial, sans-serif; font-size: 18px; padding: 10px; color: #554; } div.vex-tabdiv .vex-canvas { background: #eed; border: 10px solid #ddc; } div.vex-tabdiv .editor { background: #cfc; border: 10px solid #afa; font-family: Courier; font-size: 14px; } div.vex-tabdiv .ed...
div.vex-tabdiv { font-family: Arial, sans-serif; font-size: 18px; padding: 10px; color: #554; white-space: pre; } div.vex-tabdiv .vex-canvas { background: #eed; border: 10px solid #ddc; } div.vex-tabdiv .editor { background: #cfc; border: 10px solid #afa; font-family: Courier; font-size: 14px; }...
Remove the color from h3 tags in class "panel"
.navbar-static-top { margin-bottom: 19px; } .panel { width: 100%; background-color: #f8f8f8; border: 1px solid #e7e7e7; border-radius: 2px; padding: 5px 15px; } .panel h3 { margin-bottom: 25px; color: #337ab7; } .panel form { margin-bottom: 25px; } .comment {...
.navbar-static-top { margin-bottom: 19px; } .panel { width: 100%; background-color: #f8f8f8; border: 1px solid #e7e7e7; border-radius: 2px; padding: 5px 15px; } .panel h3 { margin-bottom: 25px; } .panel form { margin-bottom: 25px; } .comment { padding: 5px; ...
Add padding to bottom of every page
body { padding-top: 100px; } textarea { height: 150px; font-family: monospace; font-size: 16px; } .container { max-width: 40em; }
body { padding-top: 100px; padding-bottom: 100px; } textarea { height: 150px; font-family: monospace; font-size: 16px; } .container { max-width: 40em; }
Add space to pass lint test
:--root { /*Colors */ --color-text-secondary: #888; /* Typography */ --text-size-rem-small: 0.6875; --letter-spacing: 0.5px; --baseline-measure-rem: 1.5rem; }
:--root { /* Colors */ --color-text-secondary: #888; /* Typography */ --text-size-rem-small: 0.6875; --letter-spacing: 0.5px; --baseline-measure-rem: 1.5rem; }
Change font size of our services description
.Service { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 85px; } .Service>.icon>img { height: 70px; } .Service>.name>h3 { font-weight: bold; }
.Service { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 85px; } .Service>.name>h3 { font-weight: bold; } @media screen and (min-width: 320px) { .Service>.icon>img { height: 80px; } .Service>.name>h3 { font-size: 20pt; }...
Change color of highlighted templates
/** * @file * Style for Template sidebar panel. */ body { padding: 0; margin: 0; } #template-panel .message { padding: 5px 10px; } #template-panel ul { list-style: none outside none; margin: 0; padding: 0; } #template-panel ul li { margin: 0; padding: 0; min-height: 18px; overflow: hidden; } #t...
/** * @file * Style for Template sidebar panel. */ body { padding: 0; margin: 0; } #template-panel .message { padding: 5px 10px; } #template-panel ul { list-style: none outside none; margin: 0; padding: 0; } #template-panel ul li { margin: 0; padding: 0; min-height: 18px; overflow: hidden; } #t...
Make text background more transparent.
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.9); 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: 3em; } .reveal .photo-credit { position: absolute; font-size: small; bottom: 1em; color: #aaa; }
Fix signin form width bug
/* Sign in /* ---------------------------------------------------------- */ .gh-signin { position: relative; margin: 30px auto; padding: 40px; max-width: 400px; border: #dae1e3 1px solid; background: #f8fbfd; border-radius: 5px; text-align: left; } .gh-signin .form-group { margin-b...
/* Sign in /* ---------------------------------------------------------- */ .gh-signin { position: relative; margin: 30px auto; padding: 40px; max-width: 400px; width: 100%; border: #dae1e3 1px solid; background: #f8fbfd; border-radius: 5px; text-align: left; } .gh-signin .form-gro...
Fix min-width to give browser action popup a usable width
* { box-sizing: border-box; margin: 0; } body { padding: 10px; } fieldset { border: 1px solid; display: flex; flex-direction: column; padding-top: 0; width: 100%; } form > fieldset > *:nth-child(even) { margin-top: 20px; } fieldset fieldset { border-color: #DDDDDD; } fieldset fie...
* { box-sizing: border-box; margin: 0; } body { min-width: 400px; padding: 10px; } fieldset { border: 1px solid; display: flex; flex-direction: column; padding-top: 0; width: 100%; } form > fieldset > *:nth-child(even) { margin-top: 20px; } fieldset fieldset { border-color: #...
Use CSS variable to change the width easily
/* Comfortable layout for JMA */ @namespace url("http://www.w3.org/1999/xhtml"); @-moz-document domain("www.jma.go.jp") { /* Common */ body { width: 75vw !important; min-width: 1000px !important; margin: 0 auto !important; } #main, table.forecast { width: calc(75vw - 340px) !important; min...
/* Comfortable layout for JMA */ @namespace url("http://www.w3.org/1999/xhtml"); @-moz-document domain("www.jma.go.jp") { /* Common */ :root { --page-width: 75vw; } body { width: var(--page-width) !important; min-width: 1000px !important; margin: 0 auto !important; } #main, table.forecast...
Set CSS defaults for tables.
html, body { padding:0px; font-size:12px; font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, Helvetica, sans-serif; background-color: #fff; color: #222; line-height:1.5; } h1, h2, h3, tt { color: #000 } h1 { padding-top:0px; margin-top:0px;} h2 { color:#333333; padding-top:0.5em; } h3 { paddin...
html, body { padding:0px; font-size:12px; font-family:"Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, Helvetica, sans-serif; background-color: #fff; color: #222; line-height:1.5; } h1, h2, h3, tt { color: #000 } h1 { padding-top:0px; margin-top:0px;} h2 { color:#333333; padding-top:0.5em; } h...
Add horizontal padding to preview panel
:host { @apply overflow-y-auto h-full w-full block; border-color: var(--color-neutral-300); }
:host { @apply overflow-y-auto h-full w-full block px-4; border-color: var(--color-neutral-300); }
Remove border line under headers
h2 { font-size: 2rem; margin-bottom: 1.25rem; margin-top: 1.25rem; scroll-margin-top: 0.5rem; padding-bottom: 0.3rem; border-bottom: 1px solid hsla(210,18%,87%,1); } h3 { font-size: 1.5rem; margin-bottom: 1.25rem; margin-top: 1.25rem; scroll-margin-top: 0.5rem; } h4 { font-size: 1.25rem; marg...
h2 { font-size: 2rem; margin-bottom: 1.25rem; margin-top: 1.25rem; scroll-margin-top: 0.5rem; } h3 { font-size: 1.5rem; margin-bottom: 1.25rem; margin-top: 1.25rem; scroll-margin-top: 0.5rem; } h4 { font-size: 1.25rem; margin-bottom: 1.25rem; scroll-margin-top: 0.5rem; } .sidebar-tree p.indente...
Add missing styles to example
body { font-family: Arial; background-color:#dadada; } #drop { width:200px; height:100px; background-color:#aaaaaa; border-radius:10px; padding:10px; }
Remove preview borders around all elements, add separating line between all sections, add margin to table
html { background-color: honeydew; padding-left: 12px; } body { font-family: Arial; font-size: 15px; } header { font-family: Papyrus, fantasy; font-size: 30px; padding-left: 10px; margin-top: -25px; margin-bottom: -40px; border: 1px blue; } section { display: block; border: 1px solid black; } h2 { fon...
html { background-color: honeydew; padding-left: 12px; } body { font-family: Arial; font-size: 15px; } header { font-family: Papyrus, fantasy; font-size: 30px; padding-left: 10px; margin-top: -25px; margin-bottom: -40px; } section { display: block; border-top: solid gray 1px; } h2 { font-family: Copper...
Fix css to signal that the componant can be removed from the DOM, removes warning
.Image { position: absolute; height: 400px; width: 400px; } .example-enter { opacity: 0.01; transition: opacity .5s ease-in; } .example-enter.example-enter-active { opacity: 1; } .example-leave { opacity: 1; transition: opacity .5s ease-in; } .example-leave.example-leave-active { opacity: 0.01; }
.Image { position: absolute; height: 400px; width: 400px; } .example-enter { opacity: 0.01; transition: opacity .5s ease-in; } .example-enter.example-enter-active { opacity: 1; } .example-leave { opacity: 1; transition: opacity .5s ease-in; } .example-leave.example-leave-active { opacity: 0; }
Update backgroud color to match navbar
.explorer { margin-left: -15px; background-color: #fafafa; height: 100%; }
.explorer { margin-left: -15px; background-color: #f8f8f8; height: 100%; }
Make p visible in .well
html, body { margin: 20px; }
html, body { margin: 20px; } .well p { color: #555555; }
Add CSS for todo list
/* Back to top button style*/ .back-to-top { cursor: pointer; position: fixed; bottom: 20px; right: 20px; display:none; } /* Thumbnail with caption */ .thumbnail.with-caption { display: inline-block; background: #f5f5f5; } .thumbnail.with-caption p { margin: 0; padding-top: 0.5e...
/* Back to top button style*/ .back-to-top { cursor: pointer; position: fixed; bottom: 20px; right: 20px; display:none; } /* Thumbnail with caption */ .thumbnail.with-caption { display: inline-block; background: #f5f5f5; } .thumbnail.with-caption p { margin: 0; padding-top: 0.5e...
Fix height of CAC theme pages.
@font-face { font-family: 'Sorts Mill Goudy'; src: url('../../fonts/goudystm.woff') format('woff'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Sorts Mill Goudy'; src: url('../../fonts/goudystm-italic.woff') format('woff'); font-weight: normal; font-style: ital...
@font-face { font-family: 'Sorts Mill Goudy'; src: url('../../fonts/goudystm.woff') format('woff'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Sorts Mill Goudy'; src: url('../../fonts/goudystm-italic.woff') format('woff'); font-weight: normal; font-style: ital...
Set cursor for data-click attribute
/* dna.js Template Cloner ~~ dnajs.org/license.html */ .dna-template, .dna-panels >* { display: none; } .dna-menu >* { cursor: pointer; }
/* dna.js Template Cloner ~~ dnajs.org/license.html */ .dna-template, .dna-panels >* { display: none; } [data-click], .dna-menu >* { cursor: pointer; }
Improve padding and background gradient color for better legibility
#version-warning-banner { margin: 10px 0; padding: 5px 10px; border-radius: 4px; letter-spacing: 1px; color: #fff; text-shadow: 0 0 2px #000; text-align: center; font-size: 0.9em; background: #004b6b repeating-linear-gradient( 135deg, transparent, transparent 56px, rgba(255, 255, 255...
#version-warning-banner { margin: 10px 0; padding: 10px; border-radius: 4px; letter-spacing: 1px; color: #fff; text-shadow: 0 0 2px #000; text-align: center; font-size: 0.9em; background: #004b6b repeating-linear-gradient( 135deg, transparent, transparent 20px, rgba(255, 255, 255, 0....
Add missing legacy CSS file
nav, .navbar-brand { font-size: 22px; } nav a { color: #333; text-decoration: none; } nav .dropdown-toggle { padding: 14.5px } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { outline: 2px solid #85bffd; } .navbar-default .navbar-nav > .active > a, .navbar...
Add css style for Chinese version
body { width: 600px; margin: 0 auto; margin-top: 10px; margin-bottom: 50px; background-color: white; line-height: 1.5; font-size: 100%; } h1{ font-size: 180%; font-weight: bold; text-indent: 0px; } h2{ font-size: 140%; color: CornflowerBlue; font-weight: bold; t...
Fix X button position on boxes for admins
body { padding-top: 51px; } .text-center { padding-top: 20px; } .col-xs-12 { /*background-color: #fff;*/ } #sidebar { height: 100%; padding-right: 0; } #sidebar .nav { width: 95%; } #sidebar li { border:0 #f2f2f2 solid; border-bottom-width:1px; } /* collapsed sidebar styles */ @media screen and (max-...
body { padding-top: 51px; } .text-center { padding-top: 20px; } .col-xs-12 { /*background-color: #fff;*/ } #sidebar { height: 100%; padding-right: 0; } #sidebar .nav { width: 95%; } #sidebar li { border:0 #f2f2f2 solid; border-bottom-width:1px; } /* collapsed sidebar styles */ @media screen and (max-...
Hide top level bullet points
body { background: #FBFBFB; color: #333; font-family: Verdana, sans-serif; } #container { margin: auto; width: 7.5in; padding: .5in; } #contact { float: right; text-align: right; /*margin-top: -5px;*/ } #contact p { margin: .5em; } /** { clear: both; }*/ a { text-decoration: none; ...
body { background: #FBFBFB; color: #333; font-family: Verdana, sans-serif; } #container { margin: auto; width: 7.5in; padding: .5in; } #contact { float: right; text-align: right; /*margin-top: -5px;*/ } #contact p { margin: .5em; } /** { clear: both; }*/ a { text-decoration: none; ...
Change default colour of main menu
/* Site nav (including tag buttons) */ #main-nav { left: 0; top: 0; right: 0; z-index: 99; opacity: 0.8; position: fixed; padding: 1rem 10% 1rem 10%; background-color: {{ .Get "alt_bg" }}; } #main-nav .button { margin: 0; } /* Site nav dropdown boxes align left */ #main-nav .is-dropdown-sub...
/* Site nav (including tag buttons) */ #main-nav { left: 0; top: 0; right: 0; z-index: 99; opacity: 0.8; position: fixed; padding: 1rem 10% 1rem 10%; background-color: {{ .Get "alt_bg" }}; } #main-nav .button { margin: 0; } /* Site nav dropdown boxes align left */ #main-nav .is-dropdown-sub...
Add a file with light theme
/* This file is included into run_prettify.js file to make dark theme for the code preview */ pre code { font-weight: 500; } pre.prettyprint { background-color: white; } pre .nocode { background-color: none; color: #000 } pre .str { color: #6a8759; } /* string */ pre .kwd { color: #cc7832; } /* keywords */ pre .com { c...
Add margin-right to title buttons for spacing
.editor-options { text-align: right } .editor-options button { margin-left: 20px } .title-buttons { margin-left: 20px } .period-title { margin-bottom: 0 }
.editor-options { text-align: right } .editor-options button { margin-left: 20px } .title-buttons { margin-left: 20px } .title-buttons a { margin-right: 10px; } .period-title { margin-bottom: 0 }
Fix down rig orientation class
.rotateCounterClock { -webkit-transform-origin: center bottom; -webkit-transform: rotate(-90deg) translateY(13%) translateX(5%); width: 424px; } .rotateCounterClock.up { -webkit-transform: rotate(90deg) translateY(85%) translateX(-5%); } .rotateCounterClock.down { -webkit-transform: rotate(-90deg)...
.rotateCounterClock { -webkit-transform-origin: center bottom; -webkit-transform: rotate(-90deg) translateY(13%) translateX(5%); width: 424px; } .rotateCounterClock.up { -webkit-transform: rotate(90deg) translateY(85%) translateX(-5%); } .rotateCounterClock.down { -webkit-transform: rotate(-90deg)...
Fix 'and more genes' popup
.enrichment { overflow: hidden; } .enrichment-sources-popover { width: 100px; height: 66vh; max-height: 600px; overflow-y: scroll; text-align: center; padding: 0.5em 0.25em; } .enrichment-popover-link { cursor: pointer; } @media( --small-width-viewport ){ .enrichment-sources-popover { font-size...
.enrichment { overflow: hidden; } .enrichment-sources-popover { width: 100px; max-height: 66vh; overflow-y: scroll; text-align: left; padding: 0.5em 0.25em; } .enrichment-popover-link { cursor: pointer; } @media( --small-width-viewport ){ .enrichment-sources-popover { font-size: 0.8em; } }
Add effect for disabling sidebar
body { -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none; color: #212121; cursor: default; font-family: Helvetica, Arial, sans-serif; margin: 0; overflow: hidden; -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; user-select: none; } .sidebar { bord...
body { -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none; color: #212121; cursor: default; font-family: Helvetica, Arial, sans-serif; margin: 0; overflow: hidden; -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; user-select: none; } .sidebar { bord...
Use yellow highlight for non-published employees
.EmployeeList_List { width:100% } .EmployeeList_ListItem { text-align: left; } .EmployeeList_ListItemWrapper { display:table-row } .EmployeeList_ListItem.NonPublished { /* opacity:0.33; */ background-color:#fcc; } .EmployeeList_EditLink { margin-right:4px } .EmployeeList_DetailsLink { display:table-cell; } ....
.EmployeeList_List { width:100% } .EmployeeList_ListItem { text-align: left; } .EmployeeList_ListItemWrapper { display:table-row } .EmployeeList_ListItem.NonPublished { /* opacity:0.33; */ background-color:#ffc; } .EmployeeList_EditLink { margin-right:4px } .EmployeeList_DetailsLink { display:table-cell; } ....
Fix mkdocs sidebar scrolling for now.
/* Left for CSS overrides we need to make in the future */ /* Fix badge on RTD Theme */ .rst-other-versions { text-align: left; } .rst-other-versions a { border: 0; } .rst-other-versions dl { margin: 0; }
/* Left for CSS overrides we need to make in the future */ /* Fix badge on RTD Theme */ .rst-other-versions { text-align: left; } .rst-other-versions a { border: 0; } .rst-other-versions dl { margin: 0; } /* Fix Mkdocs sidebar */ nav.stickynav { position: absolute; }
Make pages/columns smaller in barebones test so they show up in smaller screens
/* Used for temporary items that should never be visible */ .offscreen { position: absolute; top: -200%; right: -200%; visibility: hidden; } /* Make sure seams aren't visible */ .chrome, .viewer, .grid, .column { overflow: hidden; } body.treesaver { font-size: 14px; line-height: 20px; overflow: hidden...
/* Used for temporary items that should never be visible */ .offscreen { position: absolute; top: -200%; right: -200%; visibility: hidden; } /* Make sure seams aren't visible */ .chrome, .viewer, .grid, .column { overflow: hidden; } body.treesaver { font-size: 14px; line-height: 20px; overflow: hidden...
Move output CSS into monospace class.
.monospace { font-family: monospace; } .source-code { height: 250px; overflow: scroll; white-space: pre; /* keep this line to support earlier browsers */ white-space: pre-wrap; }
.monospace { font-family: monospace; white-space: pre; /* keep this line to support earlier browsers */ white-space: pre-wrap; } .source-code { height: 250px; overflow: scroll; }
Add small margin to content
/* * 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...
Add a little css to the readers and authors list, since the list component is only in Bootstrap 3
body { padding-top: 40px; padding-bottom: 40px; background-color: #eee; } .form-signin { max-width: 330px; padding: 15px; margin: 0 auto; } .form-signin .form-signin-heading{ margin-bottom: 10px; } .form-signin .form-control { position: relative; height: auto; -webkit-box-sizing: border-box; ...
body { padding-top: 40px; padding-bottom: 40px; background-color: #eee; } .form-signin { max-width: 330px; padding: 15px; margin: 0 auto; } .form-signin .form-signin-heading{ margin-bottom: 10px; } .form-signin .form-control { position: relative; height: auto; -webkit-box-sizing: border-box; ...
Improve login form spacing on desktop
.container { margin: 0 auto; overflow: hidden; padding: var(--container-padding); /* fixes panel disappearing in iOS 11 due to overflow: scroll on parent container and -webkit-overflow-scrolling: touch on parent */ -webkit-transform: translate3d(0, 0, 0); } .heading { align-items: baseline; display: f...
.container { margin: 0 auto; overflow: hidden; padding: var(--container-padding); /* fixes panel disappearing in iOS 11 due to overflow: scroll on parent container and -webkit-overflow-scrolling: touch on parent */ -webkit-transform: translate3d(0, 0, 0); } .heading { align-items: baseline; display: f...
Fix navigation link underline style
.container { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-bottom: 3px solid #FFB700; padding: 1rem .75rem 1rem; } .header { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; } .header h1, .header a { font-s...
.container { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-bottom: 3px solid #FFB700; padding: 1rem .75rem 1rem; } .header { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; } .header h1, .header a { font-s...
Fix left alignment of stats bar
/* 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. */ #statistics { background-color: white; bottom: 0; border-top: 1px solid black; height: 15px; margin: 0; opacity: 0.85; padding: 0; ...
/* 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. */ #statistics { background-color: white; left: 0; bottom: 0; border-top: 1px solid black; height: 15px; margin: 0; opacity: 0.85; pa...
Fix appearance corruption on forward button
/* [XUL] Navigation bar tweak */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #urlbar dropmarker, #urlbar-go-button, #urlbar-reload-button, #urlbar-stop-button, .search-go-button, #new-tab-button, .tabs-newtab-button, #alltabs-button { visibility: collapse !important; } #nav-bar .to...
/* [XUL] Navigation bar tweak */ @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #urlbar dropmarker, #urlbar-go-button, #urlbar-reload-button, #urlbar-stop-button, .search-go-button, #new-tab-button, .tabs-newtab-button, #alltabs-button { visibility: collapse !important; } #nav-bar .to...
Fix header bar width in datatables
body { padding-top: 220px; padding-bottom: 30px; } pre { white-space: pre; float: left; } .navbar-header .breadcrumb { padding-bottom: 8px; margin-bottom: 0px; margin-top: 8px; background-color: #F8F8F8; } .navbar-header .breadcrumb li { margin-left: -10px; } .rounded-right { border-radius: 0 14px 14p...
body { padding-top: 220px; padding-bottom: 30px; } pre { white-space: pre; float: left; } .navbar-header .breadcrumb { padding-bottom: 8px; margin-bottom: 0px; margin-top: 8px; background-color: #F8F8F8; } .navbar-header .breadcrumb li { margin-left: -10px; } .rounded-right { border-radius: 0 14px 14p...
Set a minimum width to avoid visible reflow
body { font-family: sans-serif; margin: 0; } #recent { list-style: none; margin: 0; padding: 0; } .host { align-items: center; display: flex; justify-content: space-between; padding: 0.6em; } .host:nth-child(odd) { background-color: #f6f6f6; } .hostname { white-space: nowrap; } .actions { margin-left: ...
body { font-family: sans-serif; margin: 0; min-width: 430px; } #recent { list-style: none; margin: 0; padding: 0; } .host { align-items: center; display: flex; padding: 0.6em; } .host:nth-child(odd) { background-color: #f6f6f6; } .hostname { flex: 1; text-align: right; white-space: nowrap; } .actions ...
Make the space between sections more clear
html, body { height: 100%; } body { background-color: black; color: green; padding: 0 4rem; font-family: monospace; } body * { font-size: 1rem; } hr { border: none; } hr:before { content: '--' } a { text-decoration: none; color: lightgreen; font-weight: bold; } a:before { content: '['; } a:after...
html, body { height: 100%; } body { background-color: black; color: green; padding: 0 4rem; font-family: monospace; } body * { font-size: 1rem; } hr { border: none; } hr:before { content: '--' } a { text-decoration: none; color: lightgreen; font-weight: bold; } a:before { content: '['; } a:after...
Fix for cropped code illustration bug
.slides .code-illustration { width: 700px; height: 480px; overflow: hidden; margin: 0 auto; } .slides .code-illustration img { max-width: none; max-height: none; position: absolute; left: 0px; }
.slides .code-illustration { width: 700px; height: 480px; overflow: hidden; margin: 0 auto; position: relative; } .slides .code-illustration img { max-width: none; max-height: none; position: absolute; left: 0px; }
Correct textarea font for production
a:link, a:visited, a:hover, a:active { color: rgb(186, 186, 186); /* 50% gray */ } body { background-color: rgb(123, 123, 123); /* 20% gray */ color: rgb(255, 255, 255); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Lucida Grande", Arial, sans-serif; line-height: 1.2; } #con...
a:link, a:visited, a:hover, a:active { color: rgb(186, 186, 186); /* 50% gray */ } body { background-color: rgb(123, 123, 123); /* 20% gray */ color: rgb(255, 255, 255); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Lucida Grande", Arial, sans-serif; line-height: 1.2; } #con...
Use new names for popup fields
#map { margin: 0; } #dropmap { height: 10rem; } .leaflet-popup-content { margin: 0; } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background-color: #888; line-height: normal; } .plug-popup { width: 180px; display: block; position: relative; } .popup-image { width: 180px; } .plug-cluster { b...
#map { margin: 0; } #dropmap { height: 10rem; } .leaflet-popup-content { margin: 0; } .leaflet-popup-content-wrapper, .leaflet-popup-tip { background-color: #888; line-height: normal; } .plug-popup { width: 180px; display: block; position: relative; } .popup-image { width: 180px; } .plug-cluster { b...
Remove margin left and right from body and give height and width 100% of the viewport
body { margin-left: 21.5%; margin-right: auto; } h1 { margin-left: 33%; font-family: sans-serif; } #board { height: 400px; width: 800px; background-color: #3399ff; padding: 5px; } .cell { height: 94px; width: 191px; background-color: #ffcc33; display: inline-block; margin: 3px; } p { mar...
body { height: 100vh; width: 100vw; } h1 { margin-left: 33%; font-family: sans-serif; } #board { height: 400px; width: 800px; background-color: #3399ff; padding: 5px; } .cell { height: 94px; width: 191px; background-color: #ffcc33; display: inline-block; margin: 3px; } p { margin: 38px; ...
Add tenth to index stylesheet
#second_from_top { display: block; position: relative; top: 1680px; left: 100px; } #third_from_top { display: block; position: relative; top: 1690px; left: 100px; } #fourth_from_top { display: block; position: relative; top: 1700px; left: 100px; } #fifth_from_top { display: block; position: relative; top: 1710px; ...
#second_from_top { display: block; position: relative; top: 410px; left: 100px; } #third_from_top { display: block; position: relative; top: 420px; left: 100px; } #fourth_from_top { display: block; position: relative; top: 430px; left: 100px; } #fifth_from_top { display: block; position: relative; top: 440px; left...
Revert "Comment out media query"
#blue { color: #27c2dc; } /*@media only screen and (max-width: 460px) { #resume-first-link { margin-bottom: 5%; } }*/ /*[id*="project-"]:hover { background-color: red; background: url("http://imgur.com/xDQAOms"); }*/ /*#project-1:hover { background: url("http://i.imgur.com/xDQAOms.png"); }*/
#blue { color: #27c2dc; } @media only screen and (max-width: 460px) { #resume-first-link { margin-bottom: 5%; } } /*[id*="project-"]:hover { background-color: red; background: url("http://imgur.com/xDQAOms"); }*/ /*#project-1:hover { background: url("http://i.imgur.com/xDQAOms.png"); }*/
Apply max-width:100% to all images inside typography blocks.
.picturefill img { max-width: 100%; height: auto; } /* Hide the controls for a carousel if it only has one item. */ .carousel.items-1 .carousel-control, .carousel.items-1 .carousel-indicators { display: none; }
.picturefill img, .typography img { max-width: 100%; height: auto; } /* Hide the controls for a carousel if it only has one item. */ .carousel.items-1 .carousel-control, .carousel.items-1 .carousel-indicators { display: none; }
Rename and update version to 1.0.0
/* Theme Name: nadando Theme URI: https://github.com/sparkartgroupinc/nadando Author: sparkart Author URI: http://developers.sparkart.com Description: Makes everything disappear — it’s all about the JSON! Version: 0.4.0 License: MIT Tags: nothingness, json, api Text Domain: nadando */
/* Theme Name: wp-solidus Theme URI: https://github.com/solidusjs/wp-solidus Author: sparkart Author URI: http://developers.sparkart.com Description: Headless WordPress theme for use with the WordPress JSON API and Solidus Version: 1.0.0 License: MIT Tags: solidus, json, api Text Domain: wp-solidus */
Set employee list width to 100%
.EmployeeList_List { } .EmployeeList_ListItem { text-align: left; } .EmployeeList_ListItemWrapper { display:table-row } .EmployeeList_ListItem.NonPublished { /* opacity:0.33; */ background-color:#fcc; } .EmployeeList_EditLink { margin-right:4px } .EmployeeList_Photo { display:table-cell;margin-right:8px; } ...
.EmployeeList_List { width:100% } .EmployeeList_ListItem { text-align: left; } .EmployeeList_ListItemWrapper { display:table-row } .EmployeeList_ListItem.NonPublished { /* opacity:0.33; */ background-color:#fcc; } .EmployeeList_EditLink { margin-right:4px } .EmployeeList_Photo { display:table-cell;margin-righ...
Add styles for rated hackers
/* Put your CSS here */ /* html, body { */ /* margin: 20px; */ /* } */ /* */ /* @keyframes domChanged { from { background: yellow; } } */ /* @-webkit-keyframes domChanged { from { background: yellow; } } */ /* .ember-view { animation: domChanged 1s; -webkit-animation: domChanged 1s; } */
.rated-user, .rated-user:link, .rated-user:visited, .rated-user:hover, .rated-user:active { text-decoration: none !important; font-weight: bold; } .user-red { color: red !important; } .user-orange { color: #FF8C00 !important; } .user-violet { color: #A0A !important; } .user-blue { color: blue !important...
Add styles to filter items as well
.fileBrowser { height: 500px; width: 100%; } .fb-breadcrumbs { background-color: #efefef; padding: 10px; } .fb-sidebar { width: 25%; display: block; height: 500px; float: left; background-color: aliceblue; } .fb-main { width: 55%; float: left; padding: 0; } .fb-infoba...
.fileBrowser { height: 500px; width: 100%; } .fb-breadcrumbs { background-color: #efefef; padding: 10px; } .fb-sidebar { width: 25%; display: block; height: 500px; float: left; background-color: aliceblue; } .fb-main { width: 55%; float: left; padding: 0; } .fb-infoba...
Fix scrolling of days in iOS Safari
:local(.component) { display: flex; flex-direction: column; max-height: 100%; width: 100%; border-bottom: 1px solid #ccc; } :local(.days), :local(.header) { display: flex; align-items: flex-start; } :local(.daysWrapper) { position: relative; border-top: 1px solid #ccc; overflow: auto; -webkit-ov...
:local(.component) { display: flex; flex-direction: column; max-height: 100%; width: 100%; border-bottom: 1px solid #ccc; } :local(.days), :local(.header) { display: flex; align-items: flex-start; } :local(.daysWrapper) { position: relative; border-top: 1px solid #ccc; overflow: auto; flex: 1 1 ...
Add a button bg color
nav.top-bar { background: #86A02D; } nav.top-bar h1 { background: #86A02D; } nav.top-bar h1 a{ font-size: 1.5em; } .top-bar-section li a:not(.button) { background: #86A02D !important; } .top-bar-section li a:hover { background: #4d591a !important; } ul { list-style-type: none; } .container {...
nav.top-bar { background: #86A02D; } nav.top-bar h1 { background: #86A02D; } nav.top-bar h1 a{ font-size: 1.5em; } .top-bar-section li a:not(.button) { background: #86A02D !important; } .top-bar-section li a:hover { background: #4d591a !important; } ul { list-style-type: none; } .container {...
Fix center icon and text
.Practice { display: flex; flex-direction: row; padding: 80px 0 40px 0; } @media screen and (min-width: 320px) { .Practice>img { height: 60px; padding-right: 20px; } } @media screen and (min-width: 425px) { .Practice>img { height: 60px; padding-right: 20px; } } @media screen and (min-wi...
.Practice { display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 80px 0 40px 0; } @media screen and (min-width: 320px) { .Practice>img { height: 60px; padding-right: 20px; } } @media screen and (min-width: 425px) { .Practice>img { height: 60px; pad...
Update style for post list page
.author-photo { background-color: #222; }
.author-photo { background-color: #222; } .post-list li a { font-size: 1rem; text-decoration: underline; font-weight: normal; } .post-list li > a { font-size: 1.5rem; text-transform: uppercase; text-decoration: none; font-weight: bold; } .post-list li { margin-bottom: 55px; } ....
Adjust size of tables and only adjust the first column on mobile
td:nth-child(1){ white-space: nowrap; }
.md-typeset__table { min-width: 100%; } @media only screen and (min-width: 768px) { td:nth-child(1){ white-space: nowrap; } }
Make the editor vertically scrollable
.video-container { /*width: 80%;*/ max-width: 1200px; padding-top: 1em; padding-right: 0.5em; padding-left: 1em; } .editor-container { width: 100%%; padding-top: 1em; padding-left: 0.5em; padding-right: 1em; } .ql-editor { height: calc(100% - 80px); min-height: 10em; }
.video-container { /*width: 80%;*/ max-width: 1200px; padding-top: 1em; padding-right: 0.5em; padding-left: 1em; } .editor-container { padding-top: 1em; padding-left: 0.5em; padding-right: 1em; } .ql-editor { min-height: 10rem; max-height: 30rem; overflow: scroll; }
Make banner also max-width fixed
#content { border-top: solid 1px #8C001A; } #content div { margin-right: auto; margin-left: auto; max-width: 630px; }
#container div { margin-right: auto; margin-left: auto; max-width: 630px; } #content { border-top: solid 1px #8C001A; }
Remove bottom margin in action bar.
header { margin-left: 5px; margin-right: 5px; padding-top: 10px; padding-bottom: 10px; background-color: #000080; color: #ffff00; border-radius: 10px; text-align: center; /* height:30px; */ } footer { padding: 20px 0; text-align:center; } input[type='text'], input[type='pas...
header { margin-left: 5px; margin-right: 5px; padding-top: 10px; padding-bottom: 10px; background-color: #000080; color: #ffff00; border-radius: 10px; text-align: center; /* height:30px; */ } footer { padding: 20px 0; text-align:center; } input[type='text'], input[type='pas...
Fix a mistype and adjust word transparency in the status box
.video-status, .video-status-keep-showing { position: absolute; left: 15px; top: 15px; color: rbga(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.6); padding: 10px 7px; border-radius: 10px; font-family: 'Open Sans'; z-index: 100000; font-size: 18px; text-align: center; width: 80px; display: ...
.video-status, .video-status-keep-showing { position: absolute; left: 15px; top: 15px; color: rgba(255, 255, 255, 1.0); background: rgba(0, 0, 0, 0.6); padding: 10px 7px; border-radius: 10px; font-family: 'Open Sans'; z-index: 100000; font-size: 18px; text-align: center; width: 80px; display: ...
Add padding to article cards to increase readability.
body { background-color: #eaf1f1; font-family: 'Istok Web', sans-serif; line-height: 1.6; padding-top: 50px; } h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; letter-spacing: 2px; } .card { min-height: 650px; margin-bottom: 100px; box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75)...
body { background-color: #eaf1f1; font-family: 'Istok Web', sans-serif; line-height: 1.6; padding-top: 50px; } h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; letter-spacing: 2px; } .card { min-height: 650px; margin-bottom: 100px; box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75)...
Remove the right margin on the last tab
#main { display: table; margin: 0px auto; } .nav-tabs { margin: 0; } .nav-tabs .active a, .nav-tabs .active a:hover { color: #000; background-color: #eee; } #options, #results { display: none; } #results { cursor: pointer; } #results #number { font-size: 36px; } #results #text { font-size: 20px; } #results...
#main { display: table; margin: 0px auto; } .nav-tabs { margin: 0; } .nav-tabs li:last-child a { margin-right: 0 !important; } .nav-tabs .active a, .nav-tabs .active a:hover { color: #000; background-color: #eee; } #options, #results { display: none; } #results { cursor: pointer; } #results #number { font...
Apply new colors for machine states
div.item.status_broken { background-color: black; filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity: 0.8; opacity: 0.8; } div.item.status_usable { background-color: white; filter:alpha(opacity=30); -moz-opacity:0.3; -khtml-opacity: 0.3; opacity: 0.3; } div.item.status_inuse { background-col...
i/*div.item.status_broken { background-color: black; filter:alpha(opacity=80); -moz-opacity:0.8; -khtml-opacity: 0.8; opacity: 0.8; }*/ div.item.status_usable { background-color: white; filter:alpha(opacity=30); -moz-opacity:0.3; -khtml-opacity: 0.3; opacity: 0.3; } div.item.status_unusable { backgro...
Bring headers back into view
body { font: 75% georgia, sans-serif; line-height: 1.88889; color: #555753; margin: 0; padding: 0; } header { margin: 0; padding-top: 20px; height: 87px; color: #333; background-color: #eee; font: sans-serif; } header h1 { margin-top: 10px; display: block; width: 219px; height: 87px; float: le...
body { font: 75% georgia, sans-serif; line-height: 1.88889; color: #555753; margin: 0; padding: 0; } header { margin: 0; padding-top: 20px; height: 87px; color: #333; background-color: #eee; font: sans-serif; } header h1 { margin-top: 10px; display: block; width: 219px; height: 87px; float: le...
Add section comments in CSS file
* { box-sizing: border-box; } html, body { width: 100%; height: 100%; padding: 0; margin: 0; overflow: hidden; background-color: #111; } #chart { width: 100%; } .morris-hover.morris-default-style { border-radius: none; background: none; border: none; text-shadow: none;...
/* GENERAL */ * { box-sizing: border-box; } html, body { width: 100%; height: 100%; padding: 0; margin: 0; overflow: hidden; background-color: #111; } /* CHART VIEW */ #chart { width: 100%; } .morris-hover.morris-default-style { border-radius: none; background: none; borde...
Add tool switcher hover effect
@import 'part:@sanity/base/theme/variables-style'; .root { position: relative; display: flex; text-decoration: none; padding: 0.75em; white-space: nowrap; opacity: 0.6; @nest .default & { flex-direction: row; align-items: center; } } .horizontal { align-items: center; } .vertical { flex-...
@import 'part:@sanity/base/theme/variables-style'; .root { position: relative; display: flex; text-decoration: none; padding: 0.75em; white-space: nowrap; opacity: 0.6; @nest .default & { flex-direction: row; align-items: center; } @nest &:hover { opacity: 1; } } .horizontal { alig...