Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Fix position of the Review Changes avatars stack | @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... |
Add horizontal scroll to code blocks | body { display: grid; }
body > header { grid-area: header; }
body > main { grid-area: main; }
body > footer { grid-area: footer; }
body > nav { grid-area: nav; }
table { width: 100%; }
@media screen and (max-width: 900px) {
body {
grid-template-areas:
'header'
'nav'
'main'
... | body { display: grid; }
body > header { grid-area: header; }
body > main { grid-area: main; }
body > footer { grid-area: footer; }
body > nav { grid-area: nav; }
table { width: 100%; }
@media screen and (max-width: 900px) {
body {
grid-template-areas:
'header'
'nav'
'main'
... |
Revert "Add a new default 'none' value for pointer-events to allow the event to go "through" the element and target whatever is "underneath" that element instead" | body {
background-color: #000;
color: #fff;
/* Allow mouse dragging. */
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
user-select: none;
/* disable touch panning/zooming */
-ms-touch-action: none;
touch-action: none;
/*... | body {
background-color: #000;
color: #fff;
/* Allow mouse dragging. */
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
-webkit-user-select: none;
user-select: none;
/* disable touch panning/zooming */
-ms-touch-action: none;
touch-action: none;
/*... |
Fix nav-search on narrow screen | .tabbable {
position: relative;
}
.filterable {
position: relative;
padding-top: 3em;
}
.filter-table {
position: absolute;
top: 0;
right: 0;
}
/* copy of col-sm-4, without float:left */
#nav-search {
width: 33%;
position: relative;
min-height: 1px;
padding-right: 15px;
padd... | .tabbable {
position: relative;
}
.filterable {
position: relative;
padding-top: 3em;
}
.filter-table {
position: absolute;
top: 0;
right: 0;
}
/* copy of col-sm-4, without float:left */
#nav-search {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
... |
Use flow grid for calendar container | .calendar {
display: flex;
flex-direction: column;
margin: auto;
background-color: #fff;
padding: 20px;
width: 80%;
min-width: 250px;
height: 80%;
max-height: 600px;
min-height: 500px;
box-shadow: 0px 0px 20px #a9a9a9;
--calendar-border-radius: 10px;
border-radius: var(--calendar-border-radiu... | .calendar {
display: flex;
flex-direction: column;
margin: auto;
background-color: #fff;
padding: 20px;
width: 80%;
min-width: 250px;
height: 80%;
max-height: 600px;
min-height: 500px;
box-shadow: 0px 0px 20px #a9a9a9;
--calendar-border-radius: 10px;
border-radius: var(--calendar-border-radiu... |
Correct amp-audio styling on Twenty Sixteen and Twenty Seventeen. | .amp-wp-unknown-size [src] {
/** Worst case scenario when we can't figure out dimensions for an image. **/
/** Force the image into a box of fixed dimensions and use object-fit to scale. **/
object-fit: contain;
}
amp-fit-text blockquote,
amp-fit-text h1,
amp-fit-text h2,
amp-fit-text h3,
amp-fit-text h4,
amp-fit-t... | .amp-wp-unknown-size [src] {
/** Worst case scenario when we can't figure out dimensions for an image. **/
/** Force the image into a box of fixed dimensions and use object-fit to scale. **/
object-fit: contain;
}
amp-fit-text blockquote,
amp-fit-text h1,
amp-fit-text h2,
amp-fit-text h3,
amp-fit-text h4,
amp-fit-t... |
Add a fallback css class | .x-theme-neptune .gx-tree-radio {
background-image: url('http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-neptune/images/form/radio.png');
}
.x-theme-classic .gx-tree-radio {
background-image: url('http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-classic/images/form/radio.gif');
}
.x-theme-access ... | .x-theme-neptune .gx-tree-radio {
background-image: url('http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-neptune/images/form/radio.png');
}
.x-theme-classic .gx-tree-radio {
background-image: url('http://cdn.sencha.com/ext/gpl/4.2.1/resources/ext-theme-classic/images/form/radio.gif');
}
.x-theme-access ... |
Make the longcat container full-size | /* vim: set ts=2 sw=2: */
/* Normalize body/html to fill whole browser window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
#the_longcat_container {
/* Use flexbox to put the longcat to the bottom center. */
display: flex;
justify-content: center;
align-items: flex-end;
}
#the_longcat {
wid... | /* vim: set ts=2 sw=2: */
/* Normalize body/html to fill whole browser window. */
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#the_longcat_container {
height: 100%;
width: 100%;
/* Use flexbox to put the longcat to the bottom center. */
display: flex;
justify-content: center;
... |
Add bottom border to first second and third divs | body {
height: 100vh;
width: 100vw;
background-image: url("../img/space.jpg");
background-size: cover;
color: #fff;
font-family: sans-serif;
}
h1 {
font-family: 'Audiowide', cursive;
text-align: center;
font-size: 4em;
}
#board {
height: 60%;
width: 40%;
margin: 0 auto;
border: 1px solid #70... | body {
height: 100vh;
width: 100vw;
background-image: url("../img/space.jpg");
background-size: cover;
color: #fff;
font-family: sans-serif;
}
h1 {
font-family: 'Audiowide', cursive;
text-align: center;
font-size: 4em;
}
#board {
height: 60%;
width: 40%;
margin: 0 auto;
border: 1px solid #70... |
Remove Google Fonts import in favor of Font Magician PostCSS plugin | @import url('//fonts.googleapis.com/css?family=Roboto:400,300,500');
@import 'normalize.css';
:root {
box-sizing: border-box;
font-size: 16px;
font-family: Roboto, sans-serif;
color: #212121;
background: #f5f5f5;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a:not([type="button"]) {
col... | @import 'normalize.css';
:root {
box-sizing: border-box;
font-size: 16px;
font-family: "Roboto", sans-serif;
color: #212121;
background: #f5f5f5;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a:not([type="button"]) {
color: #222;
border-bottom: 1px solid #222;
text-decoration: n... |
Add nice backdrop from subtlepatterns.com | body {
background-color: black;
}
div.editor textarea {
background-color: #333;
color: #ddd;
}
div.source textarea {
background-color: #322;
color: #aaf;
}
div.preview {
background-color: #111;
color: #3a3;
}
div.source {
background-color: #322;
}
div.help {
color: #666;
border-l... | body {
background: url(http://subtlepatterns.com/patterns/zwartevilt.png) black;
}
div.editor textarea {
background-color: #333;
color: #ddd;
}
div.source textarea {
background-color: #322;
color: #aaf;
}
div.preview {
background-color: #111;
color: #3a3;
}
div.source {
background-color:... |
Add Bootstrap and showing module info | body {
margin-top: 2em;
margin-bottom: 2em;
}
.container-full {
padding-top: 10%;
background-color: transparent;
}
h1,
h2 {
text-align: center;
} | |
Revert "Add 0 margin to body, html" | body, html {
background-image: url(images/arch-linux-minimalistic-rainbow.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
margin: 0;
}
a:link {
color: white;
}
a:visited {
color: lightgrey;
}
.element {
text-decoration: none;
... | body, html {
background-image: url(images/arch-linux-minimalistic-rainbow.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
}
a:link {
color: white;
}
a:visited {
color: lightgrey;
}
.element {
text-decoration: none;
color: blac... |
Add style to the example | @import url('https://fonts.googleapis.com/css?family=Cabin|Open+Sans:400,400i,700');
html {
color: #c7c7c7;
background: #323232;
font-family: "Open Sans";
font-size: 0.9em;
}
body {
}
p {
}
h1 {
color: #dfeb29;
font-family: Cabin;
font-variant: small-caps;
}
h2 {
color: #35a3d9;
... | |
Add bg in body tag | #project1, #project2, #project3 {
display: none;
}
.wrap {
margin: auto;
width: 50%;
border: 2px solid #eeecec;
padding: 70px;
margin-top: 50px;
}
a {
color: #000080;
font-family: sans-serif;
}
img {
display: block;
margin: auto;
width: 80%;
align-self: center;
}
.footer ... | #project1, #project2, #project3 {
display: none;
}
body {
background: linear-gradient(black,white);
}
.wrap {
margin: auto;
width: 50%;
border: 2px solid #eeecec;
padding: 70px;
margin-top: 50px;
}
a {
color: #000080;
font-family: sans-serif;
}
img {
display: block;
margin: auto;... |
Make the breadcrumbs bold for emphasis. | div.s3contents {
border: 1px dashed #ccc;
padding: 4px;
}
div.s3crumbs {
padding: 4px;
background-color: #eee;
border-bottom: 1px dashed black;
margin-bottom: 8px;
}
div.s3crumbs > span {
margin-right: 6px;
}
div.s3crumbs > button {
margin-left: 6px;
}
div.s3entry {
padding: 4px;... | div.s3contents {
border: 1px dashed #ccc;
padding: 4px;
}
div.s3crumbs {
padding: 4px;
background-color: #eee;
border-bottom: 1px dashed black;
margin-bottom: 8px;
font-weight: bold;
}
div.s3crumbs > span {
margin-right: 6px;
}
div.s3crumbs > button {
margin-left: 6px;
}
div.s3en... |
Move panzoombar down a bit | /* This is the fullscreen template css */
html, body {
height: 100%;
margin: 0;
}
.region#top {
position: absolute;
z-index: 2000;
background: url('top_bg.png') 0 100% repeat-x;
width: 100%;
}
.region#content {
height: 100%;
}
| /* This is the fullscreen template css */
html, body {
height: 100%;
margin: 0;
}
.region#top {
position: absolute;
z-index: 2000;
background: url('top_bg.png') 0 100% repeat-x;
width: 100%;
}
.region#content {
height: 100%;
}
.olControlPanZoomBar {
top: 40px!important
}
|
Add a default and really simple css file | body {
background: rgb(215, 215, 215);
}
#page {
position: relative;
width: 1050px;
margin: 0pt auto;
background: rgb(255, 255, 255)
}
#main h1 {
border-top: 1px solid rgb(233, 233, 233);
margin: 20px;
}
table {
width: 80%;
text-align: left;
margin: 20px;
margin-left: 40px... | |
Optimize layout for wide viewport | .webshell {
height: 100vh;
background-color: #000;
color: #fff;
font-family: monospace;
font-size: 18px;
}
.prompt {
position: relative;
float: left;
padding-right: 1em;
margin-top: 1em;
}
.input {
outline: none;
clear: left;
}
.prompt:after {
position: absolute;
top: 0;
right: 0.1em;
c... | .webshell {
height: 100vh;
background-color: #000;
color: #fff;
font-family: monospace;
font-size: 18px;
line-height: 1.2;
}
.prompt {
position: relative;
float: left;
padding-right: 1em;
margin-top: 1em;
}
.input {
outline: none;
clear: left;
}
.prompt:after {
position: absolute;
top: 0;... |
Add italic font for code editor. | @font-face {
font-family: 'Consolas';
src: url('/Consolas.ttf');
}
@font-face {
font-family: 'ConsolasBold';
src: url('/ConsolasBold.ttf');
}
.syntax-text-area {
-fx-font: 16px 'Consolas';
}
.syntax-text-area .gutter .note {
-fx-pref-width: 16px;
-fx-cursor: HAND;
}
.s... | @font-face {
font-family: 'Consolas';
src: url('/Consolas.ttf');
}
@font-face {
font-family: 'ConsolasBold';
src: url('/ConsolasBold.ttf');
}
@font-face {
font-family: 'ConsolasItalic';
src: url('/ConsolasItalic.ttf');
}
.syntax-text-area {
-fx-font: 16px 'Consolas';
}
... |
Add Century Gothic and Calibri to top of font list | body {
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
background-color: #1E1E7F;
color: #fff;
line-height: 1.2;
margin: 0;
}
html, body {
height: 100%;
}
#header {
background-color: #0E163D;
padding: 1px 20px;
}
a:link, a:visited {
color: #fff;
}
| body {
font-family: "Century Gothic", "Calibri", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
background-color: #1E1E7F;
color: #fff;
line-height: 1.2;
margin: 0;
}
html, body {
height: 100%;
}
#header {
background-color: #0E163D;
padding: 1px 20px;
}
a:link, a:visited {
co... |
Use larger font-size for paragraph text | .content {
padding: 1em;
}
p {
font-family: serif;
text-align: left;
}
.footer hr {
margin: 0;
padding: 0;
}
.footer .content{
margin: 0;
padding: 0.5em 1em 0 1em;
}
.social {
display: inline;
text-align: right;
}
a.btn {
font-family: sans-serif;
}
.well {
background-c... | .content {
padding: 1em;
}
p {
font-family: serif;
text-align: left;
font-size: 13.5pt;
}
.footer hr {
margin: 0;
padding: 0;
}
.footer .content{
margin: 0;
padding: 0.5em 1em 0 1em;
}
.social {
display: inline;
text-align: right;
}
a.btn {
font-family: sans-serif;
}
.... |
Remove left margin on .controls | .form-horizontal .control-label {
width: 40px;
}
.form-horizontal .controls {
margin-left: 60px;
}
.btn-toolbar {
display: inline-block;
margin: 0;
} | .form-horizontal .controls {
margin-left: 0;
}
.btn-toolbar {
display: inline-block;
margin: 0;
} |
Fix Continue style when insensitive | @define-color boxes_bg_color shade (@theme_bg_color, 0.5);
@define-color boxes_sidebar_bg_color mix (@theme_bg_color, @boxes_bg_color, 0.5);
@define-color boxes_selected_color #5f8dd3;
#TopbarLabel {
font-size: 14;
font-weight: bold;
}
#CollectionLabel {
font-size: 11;
font-weight: bold;
backgroun... | @define-color boxes_bg_color shade (@theme_bg_color, 0.5);
@define-color boxes_sidebar_bg_color mix (@theme_bg_color, @boxes_bg_color, 0.5);
@define-color boxes_selected_color #5f8dd3;
#TopbarLabel {
font-size: 14;
font-weight: bold;
}
#CollectionLabel {
font-size: 11;
font-weight: bold;
backgroun... |
Change footer separator to be spaces instead of periods | .MainFooter-footer {
background-color: #222629;
bottom: 0;
color: white;
font-weight: bold;
padding: 10px;
position: fixed;
text-align: center;
width: 100%;
}
.SectionBody {
padding-bottom: 100px;
}
.MainFooter-footer-link a {
color: white;
text-transform: uppercase;
}
.MainFooter-footer-link::... | .MainFooter-footer {
background-color: #222629;
bottom: 0;
color: white;
font-weight: bold;
padding: 10px;
position: fixed;
text-align: center;
width: 100%;
}
.SectionBody {
padding-bottom: 100px;
}
.MainFooter-footer-link a {
color: white;
text-transform: uppercase;
}
.MainFooter-footer-link::... |
Use boxe-shadow css instead of filter | .ol-popup {
position: absolute;
background-color: white;
-webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
min-width: 280px;
}
.ol-popup:after, .ol-popup:be... | .ol-popup {
position: absolute;
background-color: white;
box-shadow: 0 1px 4px rgba(0,0,0,0.2);
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
min-width: 280px;
}
.ol-popup:after, .ol-popup:before {
top: 100%;
border: solid transparent;
content: " ";
... |
Use Fira Sans for Hero as well. | .root {
align-items: center;
background: #2b2723 url("./alchemy.jpg") no-repeat center bottom;
background-size: cover;
display: flex;
flex-direction: column;
height: 27.5rem;
}
.logo {
margin-top: 5rem; /* Navigation/Social height */
}
.title {
color: #fff;
font-size: 36px;
}
.tagline {
color: #f... | .root {
align-items: center;
background: #2b2723 url("./alchemy.jpg") no-repeat 50% 75%;
background-size: cover;
display: flex;
flex-direction: column;
height: 24rem;
}
.logo {
margin-top: 5rem; /* Navigation/Social height */
}
.title {
color: #fff;
font-family: sans-serif;
font-size: 36px;
font... |
Simplify CSS rules for footer | p {
color: #111;
}
a {
color: inherit;
}
#footer {
text-align: right;
font-size: 10px;
color: grey;
position:relative;
bottom: -50px;
}
#header {
margin-top: 3%;
}
#content {
margin-top: 4%;
}
.inverted {
filter: invert(100%);
}
/* Make it so columns inside the nine columns... | p {
color: #111;
}
a {
color: inherit;
}
#footer {
text-align: right;
font-size: 10px;
color: grey;
margin-top: 50px;
}
#header {
margin-top: 3%;
}
#content {
margin-top: 4%;
}
.inverted {
filter: invert(100%);
}
/* Make it so columns inside the nine columns div have width rela... |
Use less vertical space for whitespace | p {
color: #111;
}
a {
color: inherit;
}
#footer {
text-align: right;
font-size: 10px;
color: grey;
position:relative;
bottom: -50px;
}
#header {
margin-top: 5%;
}
#content {
margin-top: 7%;
}
.inverted {
filter: invert(100%);
}
/* Make it so columns inside the nine columns... | p {
color: #111;
}
a {
color: inherit;
}
#footer {
text-align: right;
font-size: 10px;
color: grey;
position:relative;
bottom: -50px;
}
#header {
margin-top: 3%;
}
#content {
margin-top: 4%;
}
.inverted {
filter: invert(100%);
}
/* Make it so columns inside the nine columns... |
Make Jupyter notebooks look better in documentation | /* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
overflow: visible;
}
.wy-plain-list-disc, .rst-content .section ul, .rst-content .toctree-wrapper ul, article ul {
... | /* override table width restrictions */
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: normal;
}
.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
overflow: visible;
}
.wy-plain-list-disc, .rst-content .section ul, .rst-content .toctree-wrapper ul, article ul {
... |
Add hints for the different CSS sections | /* Let <a> elements have a pointer independ of having href attribute or not */
.nav, .pagination, .carousel, .panel-title a {
cursor: pointer;
}
/* Don't show error messages before the validation is done */
.form-group .help-block {
display: none;
}
.form-group.has-error .help-block {
display: block;
}
/*... | /*
* AngularJS Bootstrap
*/
/* Let <a> elements have a pointer independ of having href attribute or not */
.nav, .pagination, .carousel, .panel-title a {
cursor: pointer;
}
/*
* AngularJS Bootstrap Show Errors
*/
/* Don't show error messages before the validation is done */
.form-group .help-block {
disp... |
Add main class to Admin CSS | /*
* Global add-ons
*/
.sub-header {
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
/*
* Sidebar
*/
/* Hide for mobile, show later */
.sidebar {
display: none;
}
@media (min-width: 768px) {
.sidebar {
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1000;
display:... | /*
* Global add-ons
*/
.sub-header {
padding-bottom: 10px;
border-bottom: 1px solid #eee;
}
/*
* Sidebar
*/
/* Hide for mobile, show later */
.sidebar {
display: none;
}
@media (min-width: 768px) {
.sidebar {
position: fixed;
top: 51px;
bottom: 0;
left: 0;
z-index: 1000;
display:... |
Fix ladder button font color, optimize titles | html,body{margin:0;padding:0}body{background:#130d1b url("http://cbc.pokecommunity.com/config/backgrounds/halloween.png") no-repeat fixed left top}.mainmenufooter a{color:#f2f2f2}.mainmenufooter a:hover{color:white}.menugroup .button{background:#333!important;border:solid 1px black!important}.menugroup .button:hover,.m... | html,body{margin:0;padding:0}body{background:#130d1b url("http://cbc.pokecommunity.com/config/backgrounds/halloween.png") no-repeat fixed left top}.mainmenufooter a{color:#f2f2f2}.mainmenufooter a:hover{color:white}.menugroup .button{color:white;background:#333!important;border:solid 1px black!important}.menugroup .but... |
Remove absolute position for print | .wy-nav-content {
height: auto;
min-height: 100%;
}
| .wy-nav-content {
height: auto;
min-height: 100%;
}
@media print {
.wy-grid-for-nav {
height: auto;
position: static;
}
} |
Use all relative widths in release list | * {
font-family: sans-serif;
}
body {
background-color: #ffffff;
color: #000000;
}
a {
text-decoration: none;
color: #0000ff;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: #800080;
}
.title {
font-weight: bold;
}
.releasedate {
font-style: italic;
}
.desc {
}
.techspec {
font-style: italic;
}
.... | * {
font-family: sans-serif;
}
body {
background-color: #ffffff;
color: #000000;
}
a {
text-decoration: none;
color: #0000ff;
}
a:hover {
text-decoration: underline;
}
a:visited {
color: #800080;
}
.title {
font-weight: bold;
}
.releasedate {
font-style: italic;
}
.desc {
}
.techspec {
font-style: italic;
}
.... |
Add media query to make table responsive to viewport size changes | /* Home Page */
#homebody {
background: #D2E1DF;
}
#favtable {
border: 3px solid #62808D;
padding-left: 14px;
width: 830px;
padding-bottom: 12px;
}
#items {
margin-top: 50px;
margin-bottom: 50px;
width: 30%;
}
footer {
margin-top: 100px;
margin-left: auto;
margin-right: auto;
width: 35%;
f... | /* Home Page */
#homebody {
background: #D2E1DF;
}
#favtable {
border: 3px solid #62808D;
padding-left: 14px;
width: 830px;
padding-bottom: 12px;
}
#items {
margin-top: 50px;
margin-bottom: 50px;
width: 30%;
}
footer {
margin-top: 100px;
margin-left: auto;
margin-right: auto;
width: 35%;
f... |
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;
}
|
Fix toolbar on the right | #esri-map {
width: 1176px;
height: 800px;
border-style: solid;
border-width: 2px;
}
.row {
padding-bottom: 4px;
}
| #esri-map {
width: 1058px;
height: 720px;
border-style: solid;
border-width: 2px;
}
.row {
padding-bottom: 4px;
}
|
Add .ajax-wait rule for displaying a spin cursor for fields waiting Ajax updates | div.t-datefield-popup {
position: absolute;
z-index: 1000;
margin-top: 2px;
} | div.t-datefield-popup {
position: absolute;
z-index: 1000;
margin-top: 2px;
}
/* Applied to an input element to provide feedback that something is waiting on an Ajax request:
examples include server-side validation, or autocompletion. An Ajax "throbber" is displayed
on the right side of the field. */... |
Fix nav bar styling issue | /*
Use `border-box` properly:
https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
*/
html {
box-sizing: border-box;
height: 100%;
}
*, *:before, *:after {
box-sizing: inherit;
-webkit-font-smoothing: antialiased;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;... | /*
Use `border-box` properly:
https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
*/
html {
box-sizing: border-box;
height: 100%;
}
*, *:before, *:after {
box-sizing: inherit;
-webkit-font-smoothing: antialiased;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 16px;... |
Reduce dataframe fontsize from 14 to 12 | ul.timeline {
list-style-type: none;
position: relative;
margin-top: 40px;
}
ul.timeline:before {
content: ' ';
background: #d4d9df;
display: inline-block;
position: absolute;
left: 9px;
width: 2px;
height: 100%;
z-index: 400;
}
ul.timeline > li {
margin: 10px 0;
ma... | ul.timeline {
list-style-type: none;
position: relative;
margin-top: 40px;
}
ul.timeline:before {
content: ' ';
background: #d4d9df;
display: inline-block;
position: absolute;
left: 9px;
width: 2px;
height: 100%;
z-index: 400;
}
ul.timeline > li {
margin: 10px 0;
ma... |
Change styling of .highlight class. | @import "monokai.css";
.spacer {
height: 80px;
}
.post-preview {
font-size: 2.3437em;
padding: 0;
margin-bottom: 10px;
}
.tags {
margin-bottom: 10px;
}
.article-footer {
padding: 0px;
}
.center-content {
max-width: 85%;
margin: 0 auto;
}
@media (max-width: 768px) {
.spacer {
height: 50px;
... | @import "monokai.css";
.spacer {
height: 80px;
}
.post-preview {
font-size: 2.3437em;
padding: 0;
margin-bottom: 10px;
}
.tags {
margin-bottom: 10px;
}
.article-footer {
padding: 0px;
}
.center-content {
max-width: 85%;
margin: 0 auto;
}
@media (max-width: 768px) {
.spacer {
height: 50px;
... |
Fix site name border gradient | @tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
@media (max-width: 639px) {
#main-menu-toggle:checked ~ .main-menu {
display: block;
}
.main-menu {
display: none;
}
}
}
@layer components {
.header-border {
@apply bor... | @tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
@media (max-width: 639px) {
#main-menu-toggle:checked ~ .main-menu {
display: block;
}
.main-menu {
display: none;
}
}
}
@layer components {
.header-border {
@apply bor... |
Fix styling of Add button | to-do button, to-do footer > label { cursor: pointer }
to-do form > fieldset {
padding: 0;
border: none;
background: rgba(230,230,230,.5);
line-height: 2em;
}
to-do form > fieldset label {
width: 80%;
display: inline-block;
// Flexbox bug for fieldset - https://stackoverflow.com/qu... | to-do button, to-do footer > label { cursor: pointer }
to-do form > fieldset {
padding: 0;
border: none;
background: rgba(230,230,230,.5);
line-height: 2em;
}
to-do form > fieldset label {
width: 80%;
display: inline-block;
// Flexbox bug for fieldset - https://stackoverflow.com/qu... |
Fix footer background-color, add width, height | #header {
background-color:black;
color:white;
text-align:center;
padding:5px;
}
#nav {
line-height:30px;
background-color:#eeeeee;
height:300px;
width:100px;
float:left;
padding:5px;
text-align: center;
}
#section {
font-family: Roboto
width:350px;
float:left;
padding:10px;
}
#footer {... | #header {
background-color:black;
color:white;
text-align:center;
padding:5px;
}
#nav {
line-height:30px;
background-color:#eeeeee;
height:300px;
width:100px;
float:left;
padding:5px;
text-align: center;
}
#section {
font-family: Roboto
width:350px;
float:left;
padding:10px;
}
#footer {... |
Add !important to styles to override authors who think their broken css is also !important. | [data-_extension-text-contrast='fg'],
[data-_extension-text-contrast='default'] {
color: rgb(0, 0, 0);
}
[data-_extension-text-contrast='bg'] {
background-color: rgb(255, 255, 255);
}
[data-_extension-text-contrast='both'],
[data-_extension-text-contrast='std'] {
color: rgb(0, 0, 0);
background-color: rgb(255... | [data-_extension-text-contrast='fg'],
[data-_extension-text-contrast='default'] {
color: rgb(0, 0, 0) !important;
}
[data-_extension-text-contrast='bg'] {
background-color: rgb(255, 255, 255) !important;
}
[data-_extension-text-contrast='both']{
color: rgb(0, 0, 0) !important;
background-color: rgb(255, 255, ... |
Add styles to links in frame creation stack traces | /*
* Copyright (c) 2021 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.
*/
.stack-trace-row {
display: flex;
}
.stack-trace-function-name {
width: 100px;
}
.stack-trace-source-location {
display: flex;
overfl... | /*
* Copyright (c) 2021 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.
*/
.stack-trace-row {
display: flex;
}
.stack-trace-function-name {
width: 100px;
}
.stack-trace-source-location {
display: flex;
overfl... |
Fix hover colour for links | body {
color: #502C2C;
}
.navbar-default {
background-color: #502C2C;
border-color: #3B2020;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
background-color: #2F1A1A;
}
.jumbotron, pre {
background-co... | body {
color: #502C2C;
}
.navbar-default {
background-color: #502C2C;
border-color: #3B2020;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
background-color: #2F1A1A;
}
.jumbotron, pre {
background-co... |
Handle the overflow a bit nicer. | .masthead h1 {
transform: rotate(-90deg) translate(0, -100%);
transform-origin: right top;
padding-bottom: 10px;
}
| .masthead h1 {
transform: rotate(-90deg) translate(0, -100%);
transform-origin: right top;
padding-bottom: 10px;
overflow-x: visible;
float: right;
}
|
Hide unnecessary "Readme" link from repositories | :root .rgh-toggle-files {
margin: -8px 0;
margin-right: -10px;
padding: 10px 13px;
}
.repository-content:not(.rgh-files-hidden) .rgh-toggle-files .octicon-unfold,
.repository-content.rgh-files-hidden .rgh-toggle-files .octicon-fold {
display: none;
}
.rgh-files-hidden .files, /* Pre "Repository refresh" layout */... | :root .rgh-toggle-files {
margin: -8px 0;
margin-right: -10px;
padding: 10px 13px;
}
.repository-content:not(.rgh-files-hidden) .rgh-toggle-files .octicon-unfold,
.repository-content.rgh-files-hidden .rgh-toggle-files .octicon-fold {
display: none;
}
.rgh-files-hidden .files, /* Pre "Repository refresh" layout */... |
Fix menu options on post page | .post-directory {
font-size: 14px;
background: #fff;
box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.2);
width: 300px;
}
.post-directory dt, dd{
border-left: 5px solid #666;
cursor: pointer;
padding: 2px 5px 2px 15px;
}
.post-directory a{
text-decoration: none;
}
.post-directory dt:hover, ... | .post-directory {
font-size: 14px;
background: #fff;
box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.2);
width: 300px;
}
.post-directory dt, dd{
border-left: 5px solid #666;
cursor: pointer;
padding: 2px 5px 2px 15px;
}
.post-directory a{
text-decoration: none;
display: inline-block;
... |
Make collapsible headers stand out | .galua_section_label {
font-style: italic;
float: right;
color: #999;
}
.galua_section_container {
padding: 1em;
}
.galua_function_chip {
display: inline-block;
font-size: small;
width: 3em;
text-align: center;
font-weight: 500;
color: rgba(0,0,0,0.6);
padding: 0 6px;
border-radius: 8px;
ba... | .galua_section_label {
font-style: italic;
float: right;
color: #999;
}
.collapsible-header {
background-color: #e4e4e4;
}
.galua_section_container {
padding: 1em;
}
table.bordered > caption {
text-align: left;
padding: 15px 5px 0px 5px;
font-style: italic;
color: #999;
font-size: smaller;
}
td {... |
Make side tabs disappear if the width of the display is too small. | .hint {
margin: 5px 0;
font-style: italic;
color: #999;
}
a,tr.clickable-row {
cursor: pointer;
}
.like-pre {
white-space: pre-wrap;
}
.v-cent {
padding-top: 6px;
padding-left: 6px;
}
button {
outline: none;
}
.rating-Regressive {
border-left-color: Red !important;
border-left-width: 15... | .hint {
margin: 5px 0;
font-style: italic;
color: #999;
}
a,tr.clickable-row {
cursor: pointer;
}
.like-pre {
white-space: pre-wrap;
}
.v-cent {
padding-top: 6px;
padding-left: 6px;
}
button {
outline: none;
}
.rating-Regressive {
border-left-color: Red !important;
border-left-width: 15... |
Update CSS to work outside the examples template | .ol-custom-overviewmap,
.ol-custom-overviewmap.ol-uncollapsible {
bottom: auto;
left: auto;
right: 0;
top: 0;
}
.ol-custom-overviewmap:not(.ol-collapsed) {
border: 1px solid black;
}
.ol-custom-overviewmap .ol-overviewmap-map {
border: none;
width: 300px;
}
.ol-custom-overviewmap .ol-overviewmap-box {... | .mapcontainer {
position: relative;
}
div.ol-custom-overviewmap,
div.ol-custom-overviewmap.ol-uncollapsible {
bottom: auto;
left: auto;
right: 0;
top: 0;
}
div.ol-custom-overviewmap:not(.ol-collapsed) {
border: 1px solid black;
}
div.ol-custom-overviewmap div.ol-overviewmap-map {
border: none;
width... |
Make code text larger and a bit darker | body {
color: #222;
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif !important;
font-size: 12pt;
}
a {
color: #008CBA;
}
.navbar {
background-color: #333;
}
.navbar-brand img {
height: 40px;
margin: 0px 10px;
}
.navbar-brand {
padding-top: 10px;
font-size: 20pt;... | body {
color: #222;
font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif !important;
font-size: 12pt;
}
a {
color: #008CBA;
}
.navbar {
background-color: #333;
}
.navbar-brand img {
height: 40px;
margin: 0px 10px;
}
.navbar-brand {
padding-top: 10px;
font-size: 20pt;... |
Update links for flexbox references | body { display: flex; flex-flow: column }
body > main { min-height: 50vh }
body > aside { min-height: 30vh }
body > header, body > footer { min-height: 10vh }
@media (orientation: landscape) {
body { flex-flow: row wrap }
body > main { flex-basis: 70% }
body > aside { flex-basis: 30% }
body > m... | /*
* https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox
* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Backwards_Compatibility_of_Flexbox
*/
body { display: flex; flex-flow: column }
body > main { min-height: 50vh }
body > aside { min-height: 30vh }
body > header, body... |
Add css file with styling for completed strikethrough | .strikethrough {
text-decoration:line-through
}
/*.strikethrough:before {
position: absolute;
content: "";
left: 0;
top: 50%;
right: 0;
border-top: 1px solid;
border-color: inherit;
-webkit-transform:rotate(-5deg);
-moz-transform:rotate(-5deg);
-ms-transform:rotate(-5deg);
-o-transform:rotate(-... | |
Fix image height and width in grid | header {
font-size: 36px;
background-color: #477B7F;
padding: 5%;
}
.background {
background-image: url("../pictures/languagesmedium.jpg");
background-position: center;
background-size: cover;
background-repeat: repeat;
height: 3em;
}
.image_grid {
list-style: none;
width: auto;
}
.image_grid li ... | header {
font-size: 36px;
background-color: #477B7F;
padding: 5%;
}
.background {
background-image: url("../pictures/languagesmedium.jpg");
background-position: center;
background-size: cover;
background-repeat: repeat;
height: 3em;
}
.image_grid {
list-style: none;
width: auto;
}
.image_grid li ... |
Change color scheme to dark blue. | .twitter-tweet {
margin: 0 auto;
}
| body {
background-color: #042545;
color: #e9e9e9;
}
a {
color: #60a9e0;
}
a:hover {
color: #1094f7;
}
.twitter-tweet {
margin: 0 auto;
}
|
Update canvas border color in stylesheet | body {
background-color: #F9F5FC;
}
canvas {
border: 1px solid #444;
}
.container {
background-color: #F1EEFA;
border: 0.5em solid #AAF;
box-shadow: 0.25em 0.25em 0.25em #444;
margin: 0 auto;
padding: 2em;
text-align: center;
width: 30em;
}
| body {
background-color: #F9F5FC;
}
canvas {
border: 1px solid #888;
}
.container {
background-color: #F1EEFA;
border: 0.5em solid #AAF;
box-shadow: 0.25em 0.25em 0.25em #444;
margin: 0 auto;
padding: 2em;
text-align: center;
width: 30em;
}
|
Adjust toc on examples page | /* Stop headings from appearing as links when 'contents' is used */
h2 a, h2 a:hover {
color: inherit;
text-decoration: none;
}
| /* Stop headings from appearing as links when 'contents' is used */
h2 a, h2 a:hover {
color: inherit;
text-decoration: none;
}
#contents {
margin: 0;
padding: 10px 0 10px 50px;
}
#contents ul {
margin: 0;
padding: 0;
}
|
Add !important to enable our fix for colors | @import url('theme.css');
/* Main background color modification */
.btn-info, .wy-menu-vertical a:active, .wy-side-nav-search, .wy-side-nav-search img, .wy-nav .wy-menu-vertical a:hover, .wy-nav-top img, .wy-tray-item-info, .wy-side-nav-search, .wy-dropdown-menu > dd > a:hover, .wy-dropdown-menu a:hover, .wy-nav-top {... | @import url('theme.css');
/* Main background color modification */
.btn-info, .wy-menu-vertical a:active, .wy-side-nav-search, .wy-side-nav-search img, .wy-nav .wy-menu-vertical a:hover, .wy-nav-top img, .wy-tray-item-info, .wy-side-nav-search, .wy-dropdown-menu > dd > a:hover, .wy-dropdown-menu a:hover, .wy-nav-top {... |
Add text shadow, and whitespace fixes | .benchmarks .axis path,
.benchmarks .axis line {
fill: none;
stroke: grey;
shape-rendering: crispEdges;
}
.benchmarks text {
font-family: sans-serif;
pointer-events: none;
font-size: 10px;
}
.benchmarks .label {
font-size: 12px;
}
.benchmarks .xaxis text {
font-wei... | .benchmarks .axis path,
.benchmarks .axis line {
fill: none;
stroke: grey;
shape-rendering: crispEdges;
}
.benchmarks text {
font-family: sans-serif;
pointer-events: none;
font-size: 10px;
}
.benchmarks .label {
font-size: 12px;
}
.benchmarks .xaxis text {
font-weight: bold;
font-... |
Use bold font for headings. (Just in case, should already be in UAs stylesheets.) | body {
font-family: 'source_sans_pro', sans;
margin: 0;
line-height: 1.5rem;
font-size: 1rem;
font-weight: 300;
}
.site {
max-width: 600px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
padd... | body {
font-family: 'source_sans_pro', sans;
margin: 0;
line-height: 1.5rem;
font-size: 1rem;
font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}
.site {
max-width: 600px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
}
a {
color: blue;
text-decoration: none;
}
a:hove... |
Correct font family for input elements | body {
font-family: 'Ubuntu', sans-serif;
} | body {
font-family: 'Ubuntu', sans-serif;
}
.input {
font-family: 'Ubuntu', sans-serif;
} |
Add utility classes and misc. base CSS properties | * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.container {
width: 95%;
max-width: 960px;
margin: 0 auto;
} | * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
font: 400 16px/1.5em sans-serif;
}
img {
max-width: 100%;
vertical-align: middle;
}
table {
width: 100%;
}
.container {
width: 95%;
max-width: 960px;
margin: 0 auto;
}... |
Change of font to better see capital I | body {
background: lightgray;
font-family: sans-serif;
}
.title {
font-size: 30px;
line-height: 40px;
padding-left: 10px;
}
.framework {
width: 680px;
background: #0cc3ff
}
.title {
color: white;
}
#root {
background: #00b2ed;
} | body {
background: lightgray;
font-family: monospace;
}
.title {
font-size: 30px;
line-height: 40px;
padding-left: 10px;
}
.framework {
width: 680px;
background: #0cc3ff
}
.title {
color: white;
}
#root {
background: #00b2ed;
} |
Change position to absolute for header logo (edit mode) | .logo {
margin: 0;
margin-bottom: .25em;
}
.bigLogo {
composes: logo;
font-size: 64px;
}
.headerLogo {
composes: logo;
font-size: 24px;
}
.logoWrapper {
position: fixed;
z-index: 1000;
top: 0;
left: 0;
padding-top: 15px;
padding-bottom: 10px;
width: 100%;
}
/* Targets the wrapping element ... | .logo {
margin: 0;
margin-bottom: .25em;
}
.bigLogo {
composes: logo;
font-size: 64px;
}
.headerLogo {
composes: logo;
font-size: 24px;
}
.logoWrapper {
position: absolute;
z-index: 1000;
top: 0;
left: 0;
padding-top: 15px;
padding-bottom: 10px;
width: 100%;
}
/* Targets the wrapping eleme... |
Migrate link to CSS grid layout | /* https://bitsofco.de/holy-grail-layout-css-grid */
:root {
--lighter: #ccc;
--lightest: #fff;
--darker: #999;
--darkest: #444;
--background: pink;
}
header, footer
{ background: var(--darker) }
aside
{ background: var(--background) }
/* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_La... | /* https://bitsofco.de/holy-grail-layout-css-grid */
/* https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout */
:root {
--lighter: #ccc;
--lightest: #fff;
--darker: #999;
--darkest: #444;
--background: pink;
}
header, footer
{ background: var(--darker) }
aside
{ background: var(--backgr... |
Make editor the full viewport height | /* Three columns: 100px each */
.grid-container {
display: grid;
grid-template-columns: 0.5fr 0.5fr;
grid-template-rows: calc(100vh);
grid-gap: 1rem;
margin: 0rem;
}
.editor-container {
height: calc(100vh)
}
| /* Three columns: 100px each */
.grid-container {
display: grid;
grid-template-columns: 0.5fr 0.5fr;
grid-template-rows: calc(100vh);
grid-gap: 1rem;
margin: 0rem;
}
#editor-container > div {
height: calc(100vh)
}
|
Fix favicon sizes in password manager | @namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
treechildren::-moz-tree-image(siteCol){
list-style-image:url(chrome://global/skin/global.png);
-moz-image-region:rect(144px 16px 160px 0);
width:16px;
height:16px;
-moz-margin-end:3px}
| |
Adjust docs spacing and typography | .dev-documentation {
padding-top: 2rem;
padding-bottom: 1rem;
}
.dev-documentation h1 {
padding-left: 4rem;
margin-bottom: 0.6em;
}
.dev-documentation__section {
margin-bottom: 2rem;
padding: 0 0 4rem 4rem;
border-width: 3px;
border-color: #ddd;
border-bottom-style: solid;
}
.dev-documentation__sec... | .dev-documentation {
padding-top: 3rem;
padding-bottom: 1rem;
}
.dev-documentation h1 {
padding-left: 4rem;
margin-bottom: 0.6em;
}
.dev-documentation__section {
margin-bottom: 3rem;
padding: 0 2rem 3rem 4rem;
border-width: 2px;
border-color: hsl(0, 0%, 86%);
border-bottom-style: solid;
}
.dev-docu... |
Add simple list box styles | @charset "utf-8";
/*
* JScript Render - Html styles
* http://www.pleets.org
*
* Copyright 2014, Pleets Apps
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
tr.success { background: rgba(0,255,0,0.5); } | @charset "utf-8";
/*
* JScript Render - Html styles
* http://www.pleets.org
*
* Copyright 2014, Pleets Apps
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*/
tr.success { background: rgba(0,255,0,0.5); }
.relative { position: relative; }
.absolute { position: absolute... |
Add new css for terminal | body {
/*background: #1a3a4e;*/
color: #E4F1FE;
font-family: 'Open Sans', Helvetica, sans-serif;
width: 50%;
background: linear-gradient(to bottom, #0a4871, #1a3a4e);
margin: 50px auto;
}
ul {
color: #E4F1FE;
}
h1 {
margin-top: 30px;
font-weight: 200;
}
.me-on-internet div {
margin-right: 20px;
display: i... | body {
background-color: black;
color: #55ff55;
font-family: monospace;
}
.output {
color: white;
}
.active:after {
content: '_';
}
|
Fix post layout on low rez screen | .post-list { clear: both; width: 100%; margin: 0 0 2em 0; }
.post-list::after { display:block; content:""; clear: both; }
.post-list {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
.post {width: 50% !important; max-width: 50%}
.post { display: block; }
.post-icon { position: relative; z-index: 9; -webkit-transiti... | .post-list { clear: both; width: 100%; margin: 0 0 2em 0; }
.post-list::after { display:block; content:""; clear: both; }
.post-list {
zoom:1; /* For IE 6/7 (trigger hasLayout) */
}
.post {width: 50% !important; max-width: 50%}
.post { display: block; }
.post-icon { position: relative; z-index: 9; -webkit-transiti... |
Add a background for the New Year | html,body{margin:0;padding:0}body{background:#1a1826 url("http://i.cubeupload.com/SNA1S0.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/aH9W6i.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... |
Apply even margins between IdeaGroups | @import '../../../css/colors.css';
.wrapper {
padding: 1rem;
margin-bottom: 1rem;
border: 1px solid var(--semantic-dark-grey);
border-radius: 5px;
display: flex;
flex-direction: column;
@media(min-width: 1040px) {
flex-shrink: 1;
flex-basis: 11rem;
}
.label-input-wrapper {
align-self:... | @import '../../../css/colors.css';
.wrapper {
padding: 1rem;
margin: 1px;
border: 1px solid var(--semantic-dark-grey);
border-radius: 5px;
display: flex;
flex-direction: column;
@media(min-width: 1040px) {
flex-shrink: 1;
flex-basis: 11rem;
}
.label-input-wrapper {
align-self: center;... |
Convert from DOS to UNIX line-endings. | .charInfo {
clear: both;
padding: 20px;
margin: 3px -3px;
background-color: #EEE;
border: 3px solid rgba(82,168,236,0.1);
overflow: auto;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.charInfo section,
.charInfo table {
float: left;
... | .charInfo {
clear: both;
padding: 20px;
margin: 3px -3px;
background-color: #EEE;
border: 3px solid rgba(82,168,236,0.1);
overflow: auto;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.charInfo section,
.charInfo table {
float: left;
}
.charInfo se... |
Add layout and basic styling |
/* Common Styling */
body{
background: #fff;
color:#222;
font-family: 'Roboto',Verdana,Helevetica;
font-size: 18px;
font-weight: 300;
line-height: 1.6;
}
/* Layout */
main{
max-width: 500px;
margin: 10em auto 1em;
padding: 1em;
}
li{
display: inline-block;
margin: 0 auto... | |
Use Source Sans Light instead of Regular. (Looks better.) | body {
font-family: 'source_sans_pro', sans;
margin: 0;
line-height: 1.5rem;
font-size: 1rem;
}
.site {
max-width: 600px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
padding-left: 2.1rem;
}
... | body {
font-family: 'source_sans_pro', sans;
margin: 0;
line-height: 1.5rem;
font-size: 1rem;
font-weight: 300;
}
.site {
max-width: 600px;
margin: 0 auto;
padding-left: 20px;
padding-right: 20px;
}
a {
color: blue;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
ul {
padd... |
Fix scrollbar appearing on last tab bug | body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
main {
flex: 1 0 auto;
background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}
.card {
margin: 4rem 0 4rem 0;
}
.input-field label {
color: #000;
}
.range-field-wrapper .range-field {
margin-top: 1rem !important;
padd... | body {
display: flex;
min-height: 100vh;
flex-direction: column;
}
main {
flex: 1 0 auto;
background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}
.card {
margin: 4rem 0 4rem 0;
}
.input-field label {
color: #000;
}
.tabs-fixed-width {
overflow-x: hidden;
}
.range-field-wrapper .range-... |
Fix height of artist lists | body {
// text-align: center;
}
.artist {
border-bottom: 1px solid #dddddd;
cursor: pointer;
padding: 10px;
margin: 0;
}
.artist:first-child {
border-top-left-radius: 2px;
}
.artist:last-child {
border-bottom-left-radius: 2px;
}
.artist-name {
margin-top: 5px;
display: block;
}
#search-artist... | body {
// text-align: center;
}
.artist {
border-bottom: 1px solid #dddddd;
cursor: pointer;
padding: 10px;
margin: 0;
}
.artist:first-child {
border-top-left-radius: 2px;
}
.artist:last-child {
border-bottom-left-radius: 2px;
}
.artist-name {
margin-top: 5px;
display: block;
}
#search-artist... |
Update styling for debug area | body {
background-color: #336;
text-align: center;
}
canvas {
background-color: #000;
border: 4px solid #FF4;
border-radius: 12px;
margin: 3em;
}
#debug {
background-color: #000;
color: #FFF;
font-family: monospace;
height: 100px;
left: 0px;
position: absolute;
top: 0px;
width: 100px;
}
| body {
background-color: #336;
text-align: center;
}
canvas {
background-color: #000;
border: 4px solid #FF4;
border-radius: 12px;
margin: 3em;
}
#debug {
background-color: #000;
color: #FFF;
display: none;
font-family: monospace;
height: 180px;
left: 0px;
padding: 1em;
position: absolute;
... |
Use SSL for font stylesheet to stay secure | @import url(http://fonts.googleapis.com/css?family=Lato:300);
body {
background-color: #2d2d2d;
font-family: 'Lato';
color: white;
font-weight: 300;
}
body /deep/ h1 {
font-weight: 300;
text-transform: uppercase;
font-size: 42px;
}
| @import url(https://fonts.googleapis.com/css?family=Lato:300);
body {
background-color: #2d2d2d;
font-family: 'Lato';
color: white;
font-weight: 300;
}
body /deep/ h1 {
font-weight: 300;
text-transform: uppercase;
font-size: 42px;
}
|
Fix log console tab icon | /*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
.jp-LogConsoleIcon {
background-image: var(--jp-icon-out... | /*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|----------------------------------------------------------------------------*/
.jp-LogConsoleIcon {
background-image: var(--jp-icon-lis... |
Fix type in last commit | .ViewDocuments td
{
padding:4px;
vertical-align:top;
white-space:nowrap
}
.ViewDocuments .SizeCell,
.ViewDocuments .ClicksCell
{
text-align:right;
}
.ViewDocuments .TitleCell { width:33% }
}
.ViewDocuments .DescriptionCell { white-space:normal }
.ViewDocuments ._nonpublished { background-co... | .ViewDocuments td
{
padding:4px;
vertical-align:top;
white-space:nowrap
}
.ViewDocuments .SizeCell,
.ViewDocuments .ClicksCell
{
text-align:right;
}
.ViewDocuments .TitleCell { width:33% }
.ViewDocuments .DescriptionCell { white-space:normal }
.ViewDocuments ._nonpublished { background-color... |
Use animation and font shorthand | .text-layer {
font-family: Monaco, "Courier New", monospace;
font-size: 12pX;
cursor: text;
}
.blinker {
animation-duration: 1s;
animation-name: blink;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
}
@keyframes blink {
0%, 4... | .text-layer {
font: 12px Monaco, "Courier New", monospace;
cursor: text;
}
.blinker {
animation: blink 1s linear infinite alternate;
}
@keyframes blink {
0%, 40% {
opacity: 0;
}
40.5%, 100% {
opacity: 1
}
} |
Handle C function calls in the CSS theme | /**
* Blackboard theme
*
* Adapted from Domenico Carbotta's TextMate theme of the same name
*
* @author Domenico Carbotta
* @author Craig Campbell
* @version 1.0.2
*/
pre {
background: #0B1022;
word-wrap: break-word;
margin: 0px;
padding: 0px;
padding: 10px;
color: #fff;
font-size: 1... | /**
* Blackboard theme
*
* Adapted from Domenico Carbotta's TextMate theme of the same name
*
* @author Domenico Carbotta
* @author Craig Campbell
* @version 1.0.2
*/
pre {
background: #0B1022;
word-wrap: break-word;
margin: 0px;
padding: 0px;
padding: 10px;
color: #fff;
font-size: 1... |
Fix menu on screens under 768px wide | #disqus_thread a {
text-decoration: underline;
}
.container li a { text-decoration: underline; }
.intro-header {
-webkit-transition: background-image 2s ease-in-out;
-moz-transition: background-image 2s ease-in-out;
-ms-transition: background-image 2s ease-in-out;
-o-transition: background-image 2s ease-in-o... | #disqus_thread a {
text-decoration: underline;
}
.container li a { text-decoration: underline; }
.intro-header {
-webkit-transition: background-image 2s ease-in-out;
-moz-transition: background-image 2s ease-in-out;
-ms-transition: background-image 2s ease-in-out;
-o-transition: background-image 2s ease-in-o... |
Put curly brace on same line | /*
Date: 24 Fev 2015
Author: Pedro Oliveira <kanytu@gmail . com>
*/
.hljs
{
color: #A9B7C6;
background: #282b2e;
display: block;
overflow-x: auto;
padding: 0.5em;
webkit-text-size-adjust: none;
}
.hljs-number
{
color: #6897BB;
}
.hljs-keyword, .hljs-deletion
{
color: #CC7832;
}
.hljs-javadoc
{
color... | /*
Date: 24 Fev 2015
Author: Pedro Oliveira <kanytu@gmail . com>
*/
.hljs {
color: #A9B7C6;
background: #282b2e;
display: block;
overflow-x: auto;
padding: 0.5em;
webkit-text-size-adjust: none;
}
.hljs-number {
color: #6897BB;
}
.hljs-keyword, .hljs-deletion {
color: #CC7832;
}
.hljs-javadoc {
color... |
Put body style info in CSS file. | .select { margin: 0px; }
| .select { margin: 0px; }
body {
bgcolor : #999999;
background= 'images/backstripes.gif';
padding-top : 0;
padding-right : 0;
padding-bottom : 0;
padding-left : 0;
border-top-width : 0;
border-right-width : 0;
border-bottom-width : 0px;
border-left-width : 0;
margin : 0;
}
|
Create new css file for defining flexible css classes | .navbar-startpage {
margin-bottom: 0;
background-color: #856304;
color: #e7c568;
}
.navbar-icon-startpage:hover, .navbar-icon:active, navbar-icon:link {
color: #e7c568;
}
.navbar-organism {
margin-bottom: 0;
background-color: #035656;
color: #31879f;
}
.navbar-icon-organism:hover, .navbar... | .navbar-startpage {
margin-bottom: 0;
background-color: #A6750E;
color: #ebc677; }
.navbar-icon-startpage:hover, .navbar-icon:active, navbar-icon:link {
color: #ebc677; }
.navbar-organism {
margin-bottom: 0;
background-color: #076565;
color: #41b1b1; }
.navbar-icon-organism:hover, .navbar-icon:active, ... |
Fix rendering of form on mobiles. | .contact-form {
text-align: left;
}
.contact-form .fields label{
text-align: left;
margin-right: 0.5em;
display: block;
}
.contact-form .fields input{
display: block;
height:15pt;
width:230px;
max-width:100%;
max-height:100%;
}
.contact-form .fields textarea{
top:50px;
left... | .contact-form {
text-align: left;
}
.contact-form .fields label{
text-align: left;
margin-right: 0.5em;
display: block;
}
.contact-form .fields input{
display: block;
height:15pt;
width:230px;
max-width:80%;
max-height:80%;
}
.contact-form .fields textarea{
top:50px;
left:3... |
Fix overlay of keywords with searchbar | .div{
background-color: #efefef;
}
.btnhide{
float:right;
margin-bottom: 20px;
margin-top: -45px;
}
.searchbar{
margin-bottom: 100px;
}
.title{
font-size: 30px;
}
.smallTitle{
color: lightgray;
display: inline;
font-size: 15px;
}
.panel{
margin-bottom: 0px !important;
}
.closed{
content: ' ';
... | .div{
background-color: #efefef;
}
.btnhide{
float:right;
margin-bottom: 20px;
margin-top: -45px;
}
.searchbar{
margin-bottom: 150px;
}
.title{
font-size: 30px;
}
.smallTitle{
color: lightgray;
display: inline;
font-size: 15px;
}
.panel{
margin-bottom: 0px !important;
}
.closed{
content: ' ';
... |
Fix padding for small displays | body {
padding-bottom: 20px;
}
.transactions-title {
margin: 0 0 10px 0;
}
/* CSS for table sorter */
table.tablesorter thead tr .header {
background-image: url(../img/bg.gif);
background-repeat: no-repeat;
background-position: center right;
cursor: pointer;
}
table.tablesorter thead tr .hea... | body {
padding-bottom: 20px;
}
.transactions-title {
margin: 0 0 10px 0;
}
@media (max-width: 992px) {
div[class*=col] {
margin-bottom: 20px;
}
}
/* CSS for table sorter */
table.tablesorter thead tr .header {
background-image: url(../img/bg.gif);
background-repeat: no-repeat;
ba... |
Include foreign CSS file for Twitter Typeahead | .twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
margin-bottom: 0;
}
.tt-dropdown-menu {
min-width: 160px;
margin-top: 2px;
padding: 5px 0;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0,0,0,.2);
*border-right-width: 2px;
*border-bottom-width: 2px;
-webkit-borde... | |
Align left the thumbnails in order to show the newest images/videos first. | body {
margin: 0;
padding: 0;
font-family: Helvetica, Arial, Sans-Serif, sans-serif;
background: white;
}
.title {
padding: 2px;
text-overflow-ellipsis: overflow;
overflow: hidden;
display: block;
}
.selected-image, .select-video {
height: 500px;
}
.selected-image img, .select-vid... | body {
margin: 0;
padding: 0;
font-family: Helvetica, Arial, Sans-Serif, sans-serif;
background: white;
}
.title {
padding: 2px;
text-overflow-ellipsis: overflow;
overflow: hidden;
display: block;
}
.selected-image, .select-video {
height: 500px;
}
.selected-image img, .select-vid... |
Set word-wrap: break-word style in the editor | .ProseMirror {
position: relative;
}
.ProseMirror {
white-space: pre-wrap;
}
.ProseMirror ul, .ProseMirror ol {
padding-left: 30px;
cursor: default;
}
.ProseMirror blockquote {
padding-left: 1em;
border-left: 3px solid #eee;
margin-left: 0; margin-right: 0;
}
.ProseMirror pre {
white-space: pre-wrap... | .ProseMirror {
position: relative;
}
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
}
.ProseMirror ul, .ProseMirror ol {
padding-left: 30px;
cursor: default;
}
.ProseMirror blockquote {
padding-left: 1em;
border-left: 3px solid #eee;
margin-left: 0; margin-right: 0;
}
.ProseMirror pre ... |
Update last seen indicator style | #clients {
float: left;
margin: 5px;
padding: 5px;
background-color: white;
}
#clients h2 {
margin-top: 0;
margin-bottom: 5px;
font-size: 18px;
}
#clients .client {
margin: 3px 0;
}
#clients .client.lost {
font-style: italic;
color: #999999;
}
#clients .last-seen {
display: inline-block;
wid... | #clients {
float: left;
margin: 5px;
padding: 5px;
background-color: white;
}
#clients h2 {
margin-top: 0;
margin-bottom: 5px;
font-size: 18px;
}
#clients .client {
margin: 3px 0;
}
#clients .client.lost {
font-style: italic;
color: #999999;
}
#clients .last-seen {
display: inline-block;
wid... |
Add transition for box-shadows on overflow: scroll lists | @import '../../../css/colors.css';
.list {
list-style: none;
margin: 0;
padding-left: 0;
/* ensure list takes up maximum vertical space amount between column header and user list */
flex-grow: 1;
min-height: 0;
overflow-y: hidden;
&:global(.overflowed) {
overflow-y: scroll;
border-bottom: 1p... | @import '../../../css/colors.css';
.list {
list-style: none;
margin: 0;
padding-left: 0;
/* ensure list takes up maximum vertical space amount between column header and user list */
flex-grow: 1;
min-height: 0;
transition: box-shadow 0ms ease-in;
overflow-y: hidden;
&:global(.overflowed) {
ov... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.