Instruction stringlengths 14 778 | input_code stringlengths 0 4.24k | output_code stringlengths 1 5.44k |
|---|---|---|
Add height styling for calendar so it fits in the page | #filter-select-div {
padding: 0px;
}
#calendar-filter {
width: 100px;
height: 2.4em;
}
| #filter-select-div {
padding: 0px;
}
#calendar-filter {
width: 100px;
height: 2.4em;
}
.fc-view, .fc-view>table {
height: 70vh;
}
|
Fix CSS for Toolbox tooltip | /* See license.txt for terms of usage */
/******************************************************************************/
/* Markup View */
.theme-firebug .kind-jQuery .cm-variable {
color: #4B0082;
}
.fireQueryData,
.kind-jQuery .data {
font-size: 11px;
margin-left: 2px;
cursor: pointer;
}
/***************... | /* See license.txt for terms of usage */
/******************************************************************************/
/* Markup View */
.theme-firebug .kind-jQuery .cm-variable {
color: #4B0082;
}
.fireQueryData,
.kind-jQuery .data {
font-size: 11px;
margin-left: 2px;
cursor: pointer;
}
/***************... |
Add input and button to default font selector | @import "./declarations.css";
@import "./fonts.css";
html {
font-family: var(--font-standard);
}
| @import "./declarations.css";
@import "./fonts.css";
html,
input,
button {
font-family: var(--font-standard);
}
|
Tweak to z-index as the tooltip was occasionally getting occluded. | /*
Copyright 2015, 2016 OpenMarket Ltd
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 writing, sof... | /*
Copyright 2015, 2016 OpenMarket Ltd
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 writing, sof... |
Drop the tweak to avoid inter-language link overlaps in-page anchors | /* Highlight interlanguage links for Wikipedia */
@namespace url("http://www.w3.org/1999/xhtml");
@-moz-document domain("wikipedia.org") {
#p-lang :is(.interwiki-en, .interwiki-ja) a {
color: #fff !important;
font: 1.2rem/1 sans-serif !important;
text-align: center !important;
text-decoration: none !... | /* Highlight interlanguage links for Wikipedia */
@namespace url("http://www.w3.org/1999/xhtml");
@-moz-document domain("wikipedia.org") {
#p-lang :is(.interwiki-en, .interwiki-ja) a {
color: #fff !important;
font: 1.2rem/1 sans-serif !important;
text-align: center !important;
text-decoration: none !... |
Remove media queries - sidebar hidden on sm-xs | .page-header h1 {
padding-top: 55px;
margin-top: -55px;
}
#sidebar li {
border-left: 4px #fff solid;
}
#sidebar li.active {
border-left: 4px #eee solid;
}
#sidebar li a {
padding: 5px 15px;
}
@media (min-width: 979px) {
#sidebar.affix-top {
position: static;
width: 228px;
}
#sidebar.affix {
... | .page-header h1 {
padding-top: 55px;
margin-top: -55px;
}
#sidebar li {
border-left: 4px #fff solid;
}
#sidebar li.active {
border-left: 4px #eee solid;
}
#sidebar li a {
padding: 5px 15px;
}
#sidebar.affix-top {
position: static;
width: 228px;
}
#sidebar.affix {
position: fixed;
top: 70px;
wid... |
Add position to map in mobile | /* Très petits écrans (smartphones, moins de 768px) */
/* Pas besoin de media-query, c'est le style par défaut */
address {
background-color: blue;
width: 100%;
height: 100%;
}
/* Petits écrans (tablettes, 768px et plus) */
@media (min-width: 768px) {
}
/* Ecrans moyens (desktops, 992px et plus) */
@me... | /* Très petits écrans (smartphones, moins de 768px) */
/* Pas besoin de media-query, c'est le style par défaut */
address {
background-color: blue;
width: 100%;
height: 100%;
}
map iframe {
width: 100%;
}
/* Petits écrans (tablettes, 768px et plus) */
@media (min-width: 768px) {
}
/* Ecrans moyens ... |
Fix icon for document preference of lexicon module in module preference tree | treechildren::-moz-tree-image(modules_lexicon_preferences){
list-style-image: url(/changeicons/small/document.png) ;
}
treechildren::-moz-tree-image(modules_lexicon_word){
list-style-image: url(/changeicons/small/document.png) ;
}
| treechildren::-moz-tree-image(modules_lexicon_preferences){
list-style-image: url(/changeicons/small/lexicon.png) ;
}
treechildren::-moz-tree-image(modules_lexicon_word){
list-style-image: url(/changeicons/small/document.png) ;
}
|
Make summary bottom/left padding consistent | /**
* pathfinding-visualiser <http://github.com/Tyriar/pathfinding-visualiser>
* Copyright 2014 Daniel Imms <http://www.growingwiththeweb.com>
* Released under the MIT license <http://github.com/Tyriar/pathfinding-visualiser/blob/master/LICENSE>
*/
:host {
display: block;
background-color: white;
color:#000;
... | /**
* pathfinding-visualiser <http://github.com/Tyriar/pathfinding-visualiser>
* Copyright 2014 Daniel Imms <http://www.growingwiththeweb.com>
* Released under the MIT license <http://github.com/Tyriar/pathfinding-visualiser/blob/master/LICENSE>
*/
:host {
display: block;
background-color: white;
color:#000;
... |
Fix combined style that overwrote all lines color |
.bar rect {
fill: steelblue;
shape-rendering: crispEdges;
stroke:white;
}
.bar text {
fill: black;
}
line {
stroke: red;
stroke-width:1px;
}
path{
fill:none;
stroke:black;
}
.axis path, .axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.histgraph {
width: 560px;
... |
.bar rect {
fill: steelblue;
shape-rendering: crispEdges;
stroke:white;
}
.bar text {
fill: black;
}
path{
fill:none;
stroke:black;
}
.axis path, .axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.histgraph {
width: 560px;
height: 200px;
}
.timegraph {
width: ... |
Add some margin to the control panel | body {
padding-top: 50px;
}
#visualizer-canvas {
width: 100%;
height: 100%;
}
| body {
padding-top: 50px;
}
#visualizer-canvas {
width: 100%;
height: 100%;
}
#controlpanel {
margin-top: 10px;
margin-bottom: 10px;
}
|
Update editor theme to work better with new page background color | html { padding:10px; }
body {
border:0;
background:#fcfcfc;
font-family:monospace;
font-size:14px;
padding:10px;
line-height:1.35em;
margin:0;
padding:0;
}
| html { padding: 0px; }
body {
border: 2px solid #dce4ec;
background:#ECF0F1;
color: #222;
font-family:monospace;
font-size:14px;
padding:10px;
line-height:1.35em;
margin:0;
-webkit-border-radius: 6px;
border-radius: 6px;
}
|
Modify padding in decktree to properly align drop hint | .hide-element {
display: none;
}
.inline-div{
display: inline-block;
}
.padding15{
padding: 15px;
}
.bold{
font-weight: bold;
}
.colored-blue{
color: #4183C4;
}
.translation-item{
padding-left: 5px;
}
.translation-div{
display: inline-block;
}
| .hide-element {
display: none;
}
.inline-div{
display: inline-block;
}
.padding15{
padding: 15px;
}
.bold{
font-weight: bold;
}
.colored-blue{
color: #4183C4;
}
.translation-item{
padding-left: 5px;
}
.translation-div{
display: inline-block;
}
.sw-tree .ui.list>.item:first-child {
padding-top: 0.21428... |
Add left margin to terminals in modifiers | /* Small devices (portrait and landscape phones, less than 768px)
No media query since this is the default */
emu-example {
margin-left: 0;
margin-right: 0;
}
pre {
max-width: 100%;
}
emu-grammar {
display: block;
max-width: 100%;
overflow-x: auto;
white-space: nowrap;
}
emu-production {
margin-l... | /* Small devices (portrait and landscape phones, less than 768px)
No media query since this is the default */
emu-example {
margin-left: 0;
margin-right: 0;
}
pre {
max-width: 100%;
}
emu-grammar {
display: block;
max-width: 100%;
overflow-x: auto;
white-space: nowrap;
}
emu-production {
margin-l... |
Add media query for textarea and disabled horizontal resizing | .root {
display: flex;
flex-direction: column;
}
.field {
display: flex;
flex-direction: column;
margin: 10px 0;
}
.field > label {
color: #222;
font-weight: bold;
margin-bottom: 10px;
}
.field input[type="text"] {
min-height: 45px;
padding-left: 10px;
padding-right: 10px;... | .root {
display: flex;
flex-direction: column;
}
.field {
display: flex;
flex-direction: column;
margin: 10px 0;
}
.field > label {
color: #222;
font-weight: bold;
margin-bottom: 10px;
}
.field input[type="text"] {
min-height: 45px;
padding-left: 10px;
padding-right: 10px;... |
Add text-align left and box-sizing to control panel container | .control-panel {
font-family: 'Hack', monospace;
font-size: 11px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
}
.control-panel input {
font-family: 'Hack';
font-size: 11px;
}
.control-panel a {
color: inherit;
text-decoration: non... | .control-panel {
font-family: 'Hack', monospace;
font-size: 11px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
text-align: left;
box-sizing: border-box;
}
.control-panel input {
font-family: 'Hack';
font-size: 11px;
}
.control-pane... |
Fix smooth scrolling for touch devices | html, body {
overflow: scroll;
margin: 0;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
html {
overflow: hidden;
}
.background {
position: absolute;
z-index: -100;
width: 100%;
height: 100%;
}
.foreground {
position: relative;
}
| html, body {
overflow: scroll;
-webkit-overflow-scrolling: touch;
margin: 0;
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
html {
overflow: hidden;
}
.background {
position: absolute;
z-index: -100;
width: 100%;
height: 100%;
}
.foreground {
position: relati... |
Add margin to sort to prevent jumping when adding filter | .filters {
display: flex;
flex-direction: row;
.filters-left {
display: flex;
flex: 4;
justify-content: flex-start;
.sort {
margin-right: 10px;
.form-control {
width: auto;
height: 46px;
}
}
.add-filter {
margin-right: 10px;
align-self: fle... | .filters {
display: flex;
flex-direction: row;
.filters-left {
display: flex;
flex: 4;
justify-content: flex-start;
.sort {
margin-right: 10px;
margin-bottom: 10px;
.form-control {
width: auto;
height: 46px;
}
}
.add-filter {
margin-right: ... |
Use correct dark color for docs search box override | .search .algolia-docsearch-suggestion--highlight,
.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
color: #2980b9;
background: #f1c40f;
}
.algolia-autocomplete {
width: 100%;
}
#search-results a,
a.algolia-docsearch-suggestion {
border-bottom: 0;
}
#search-results h2 {
display: none;
}
/* ... | .search .algolia-docsearch-suggestion--highlight,
.algolia-autocomplete .algolia-docsearch-suggestion--highlight {
color: #2980b9;
background: #f1c40f;
}
.algolia-autocomplete {
width: 100%;
}
#search-results a,
a.algolia-docsearch-suggestion {
border-bottom: 0;
}
#search-results h2 {
display: none;
}
/* ... |
Fix linkbutton height: it's icons were truncated at top and bottom. | /*** 065_linkbutton.frag.css ***/
/*** LinkButton component. ***/
.ui-lbtn {
background-repeat: no-repeat;
background-position: left;
padding-left: 18px;
font-size: <%= font_size %>;
}
.ui-lnkb {
}
a.ui-lnkb {
cursor: pointer;
}
a:hover.ui-lnkb {
text-decoration: underline !important;
}
a.ui-lnkb-dis {
text-d... | /*** 065_linkbutton.frag.css ***/
/*** LinkButton component. ***/
.ui-lbtn {
display: inline-block;
background-repeat: no-repeat;
background-position: left;
padding-left: 18px;
font-size: <%= font_size %>;
height: 16px;
}
.ui-lnkb {
}
a.ui-lnkb {
cursor: pointer;
}
a:hover.ui-lnkb {
text-decoration: underline... |
Put tracer bullets on time and date | body {
font-family: sans-serif;
font-weight: 100;
font-size: 1.2em;
}
li {
list-style-type: none;
}
.cbp_tmtimeline > li .cbp_tmlabel {
background-color: #46a4da;
border: 5px;
width: 60%;
margin: 5px 75px;
float: right;
border-radius: 5px
}
.cbp_tmtimeline > li:nth-child(1) .cbp_tmlabel {
backg... | body {
font-family: sans-serif;
font-weight: 100;
font-size: 1.2em;
}
li {
list-style-type: none;
}
li .cbp_tmtime:first-child span{
border: 1px solid black;
}
.cbp_tmtimeline > li .cbp_tmlabel {
background-color: #46a4da;
border: 5px;
width: 60%;
margin: 5px 75px;
float: right;
border-radius... |
Fix content sticking to the bottom of the screen | body {
background-color: #eee;
}
.jumbotron {
background-color: #fff;
}
h1 {
font-weight: bold;
margin-top: 0;
}
a {
text-decoration: none !important;
}
td {
vertical-align: middle !important;
}
table th {
background-color: #F6F6F6;
}
.btn {
padding: 5px 8px 5px 8px;
}
.bg-danger ... | body {
background-color: #eee;
padding-bottom: 35px;
}
.jumbotron {
background-color: #fff;
}
h1 {
font-weight: bold;
margin-top: 0;
}
a {
text-decoration: none !important;
}
td {
vertical-align: middle !important;
}
table th {
background-color: #F6F6F6;
}
.btn {
padding: 5px 8... |
Update file, Alura, Dando os primeiros passos na web com HTML e CSS, Aula 5 | body {
width: 940px;
margin-right: auto;
margin-left: auto;
font-family: Helvetica, Arial, sans-serif;
background-color: #f5f0cd;
}
h2 {
padding: 5px;
color: #fff;
background-color: #b3a742;
}
#td-nutrientes {
width: 40%;
margin-right: auto;
margin-left: auto;
border: 1px solid #000;
}
#td-nu... | body {
width: 940px;
margin-right: auto;
margin-left: auto;
font-family: Helvetica, Arial, sans-serif;
background-color: #f5f0cd;
}
h2 {
padding: 5px;
color: #fff;
background-color: #b3a742;
background-image: linear-gradient(#9c8f67, #c7be9b);
border: 1px solid #000;
border-radius: 15px;
}
figur... |
Modify video height to prevent it being too big | .container {
position: absolute;
bottom: 0;
left: 0;
}
.smallVideo video {
height: 150px;
}
| .container {
position: absolute;
bottom: 0;
left: 0;
}
.container video {
height: 300px;
}
.smallVideo video {
height: 150px;
}
|
Remove top padding from header div | /*
Arcana by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Basic */
body, input, select, textarea {
font-size: 13pt;
line-height: 1.5em;
}
/* Lists */
ol.default {
list-style: decimal;
padding-left: 1.25em;
}
ol.default li ... | /*
Arcana by HTML5 UP
html5up.net | @n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/
/* Basic */
body, input, select, textarea {
font-size: 13pt;
line-height: 1.5em;
}
/* Lists */
ol.default {
list-style: decimal;
padding-left: 1.25em;
}
ol.default li ... |
Change to be more Screen-like | * {
/* Apply to EVERYTHING */
color: #0cff00;
}
html, body {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
}
body {
/* background: linear-gradient(141deg, #6d6d6d 0%, #383838 51%, #757575 75%); */
background: linear-gradient(141deg, #4c4c4c 25%, #000000 50%, #4c4c4c 75%);
}
#content {
margin:1em au... | * {
/* Apply to EVERYTHING */
color: #0cff00;
}
html, body {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
}
body {
/* background: linear-gradient(141deg, #6d6d6d 0%, #383838 51%, #757575 75%); */
background: linear-gradient(0deg, #00000 25%, #4c4c4c 50%, #00000 75%);
}
#content {
margin:1em auto;
... |
Set a max-width on the password manager overlay. | /* 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. */
#password-manager > div.content-area {
min-width: 500px;
}
#password-search-column {
bottom: 10px;
position: absolute;
right: 0;
}
html[d... | /* 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.
*/
#password-manager {
max-width: 1000px;
}
#password-manager > div.content-area {
min-width: 500px;
}
#password-search-column {
bottom: 10px... |
Add padding from the nav bar | body {
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial,
'Lucida Grande', sans-serif;
font-weight: 300;
font-size: 16px;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #108db8;
font-weight: bold;
}
nav {
background: #108db8;
max-width: ... | body {
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial,
'Lucida Grande', sans-serif;
font-weight: 300;
font-size: 16px;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #108db8;
font-weight: bold;
}
nav {
background: #108db8;
max-width: ... |
Add a fix for sticky footer on Firefox and Safari | /* ___ Header styles ___ */
header {
background: #22201e;
color: #fff;
padding: 1.5em 0;
}
header .brand {
border-bottom: 1px solid #393735;
}
header .logo {
position: relative;
margin-bottom: -1px;
}
header p {
font-size: 1.2em;
margin-left: 3em;
margin-bottom: 0;
}
/* ___ Body styles ___ */
/... | /* ___ Base styles ___ */
body {
height: 100%;
}
/* ___ Header styles ___ */
header {
background: #22201e;
color: #fff;
padding: 1.5em 0;
}
header .brand {
border-bottom: 1px solid #393735;
}
header .logo {
position: relative;
margin-bottom: -1px;
}
header p {
font-size: 1.2em;
margin-left: 3em;
... |
Remove justify-content for cleaner flow | * { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
}
body {
padding: 5px;
}
main {
display: flex;
}
header {
height: 2em;
font-size: larger;
}
nav {
flex: 0 0 300px;
}
section {
flex: 1 1 100%;
}
section > ul {
margin: 0;
padding: 0;
height: 100%;
ov... | * { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
}
body {
padding: 5px;
}
main {
display: flex;
}
header {
height: 2em;
font-size: larger;
}
nav {
flex: 0 0 300px;
}
section {
flex: 1 1 100%;
}
section > ul {
margin: 0;
padding: 0;
height: 100%;
ov... |
Remove 60px <body> padding for mobile devices. | body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
dl.inline dt, dl.inline dd {
float: left;
}
dl.inline dd + dt, dl.inline dd + dd {
clear: left
}
dl.inline dd + dd {
float: none
}
dl.inline dt {
font-weight: bold
}
th.descending:after {
padding-lef... | body {
/* Add space for fixed position navbar. */
padding-top: 60px;
}
@media (max-width: 979px) {
body {
/* Mobile devices 979px and narrower use a statically positioned navbar */
/* and therefore need no padding for the <body>. */
/* */
/* @see http://twitter.github.io/bootstrap/scaffolding.htm... |
Undo button styling for when Link component is a button tag | @import '@teamleader/ui-colors';
@import '@teamleader/ui-typography';
@import '@teamleader/ui-utilities';
.link {
composes: reset-font-smoothing;
cursor: pointer;
&:not(.inherit) {
color: var(--color-aqua-dark);
font-family: var(--font-family-regular);
text-decoration: none;
&:hover,
&:acti... | @import '@teamleader/ui-colors';
@import '@teamleader/ui-typography';
@import '@teamleader/ui-utilities';
.link {
composes: reset-font-smoothing;
cursor: pointer;
background: transparent;
border: 0;
font-size: 100%;
padding: 0;
&:not(.inherit) {
color: var(--color-aqua-dark);
font-family: var(--... |
Add new color scheme to page, change background colors in banner, body, and sidebar | .jumbotronBackground {
background-color: pink;
}
#banner h1 {
text-align: center;
}
.col-md-2 {
background-color: green;
min-width: 240px;
min-height: 500px;
}
.col-md-9 {
padding-left: 80px;
}
| .jumbotronBackground {
background-color: #FF6666;
}
#banner h1 {
text-align: center;
}
body {
background-color: #FF9A66;
}
.col-md-2 {
background-color: #993367;
min-width: 240px;
min-height: 500px;
}
.col-md-9 {
padding-left: 80px;
}
|
Reduce header size for easier reading | .metadata {
background-color: #ccc;
overflow-y: scroll;
padding: 20px;
}
.metadata ul {
}
.metadata--itemTitle {
font-weight: 700;
} | .metadata {
background-color: #ccc;
overflow-y: scroll;
padding: 20px;
}
.metadata--header {
font-size: 20px;
}
.metadata ul {
}
.metadata--itemTitle {
font-weight: 700;
} |
Update list view items to not shrink when lack of icons | #container {
min-width: 20em;
max-width: 20em;
min-height: 25em;
max-height: 25em;
overflow-x: hidden;
overflow-y: hidden;
}
#scrollbar-container {
overflow: hidden;
min-height: 15em;
max-height: 15em;
}
.tab-favicon {
margin: 0.15em;
width: 1.5em;
height: 1.5em;
}
| #container {
min-width: 20em;
max-width: 20em;
min-height: 25em;
max-height: 25em;
overflow-x: hidden;
overflow-y: hidden;
}
#scrollbar-container {
overflow: hidden;
min-height: 15em;
max-height: 15em;
}
md-list-item {
min-width: 20em;
max-width: 20em;
}
.tab-favicon {
... |
Remove path mixin for now | @mixin ends css;
@mixin ends elm;
@mixin ends go;
@mixin ends hs;
@mixin ends html;
@mixin ends js;
@mixin ends json;
@mixin ends jsx;
@mixin ends less;
@mixin ends ls;
@mixin ends md;
@mixin ends php;
@mixin ends py;
@mixin ends rb;
@mixin ends rs;
@mixin ends sass;
@mixin ends sh;
@mixin ends styl;
@mixin ends swift;... | @mixin ends css;
@mixin ends elm;
@mixin ends go;
@mixin ends hs;
@mixin ends html;
@mixin ends js;
@mixin ends json;
@mixin ends jsx;
@mixin ends less;
@mixin ends ls;
@mixin ends md;
@mixin ends php;
@mixin ends py;
@mixin ends rb;
@mixin ends rs;
@mixin ends sass;
@mixin ends sh;
@mixin ends styl;
@mixin ends swift;... |
Add padding between photo entries | *, h1, h2, h3, h4, h5, h6, .button {
font-family: Dosis, sans-serif;
}
body {
background-color: #ffccff;
}
.container {
padding: 10px;
}
.title {
text-align: center;
margin-bottom: 10px;
}
.subheading {
margin-left: 30px;
margin-right: 30px;
margin-bottom: 30px;
}
.entries {
margin... | *, h1, h2, h3, h4, h5, h6, .button {
font-family: Dosis, sans-serif;
}
body {
background-color: #ffccff;
}
.container {
padding: 10px;
}
.title {
text-align: center;
margin-bottom: 10px;
}
.subheading {
margin-left: 30px;
margin-right: 30px;
margin-bottom: 30px;
}
.entries {
margin... |
Update the styling to look a little better | div.tree-multiselect > div.selected, div.tree-multiselect > div.selections {
display: inline-block;
vertical-align: top;
}
div.tree-multiselect > div.selected {
width: 30%;
}
div.tree-multiselect > div.selections {
width: 70%;
}
div.tree-multiselect div.section > div.item, div.tree-multiselect div.section > ... | div.tree-multiselect {
border: 2px solid #D8D8D8;
border-radius: 5px;
}
div.tree-multiselect > div.selected, div.tree-multiselect > div.selections {
display: inline-block;
vertical-align: top;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
padding: 1%;
}
div.tree-... |
Truncate long page titles, in the grid display | .islandora-book-pages-display-switch {
float: right;
}
.islandora-book-pages {
overflow: hidden;
width: 100%;
margin: 0 auto;
}
.islandora-book-pages-grid dl {
width: 20%;
min-width: 100px;
min-height: 180px;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
margin: 1.5em 1.8... | .islandora-book-pages-display-switch {
float: right;
}
.islandora-book-pages {
overflow: hidden;
width: 100%;
margin: 0 auto;
}
.islandora-book-pages-grid dl {
width: 20%;
min-width: 100px;
min-height: 180px;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
margin: 1.5em 1.8... |
Comment out the removal of link labels on non-large screens. | @import '../variables.css';
.navRoot{
display: flex;
justify-content: space-between;
align-content: stretch;
width: 100%;
border-bottom: 2px solid #ccc;
}
@media (--large){
.linkLabel{
display: none;
}
}
| @import '../variables.css';
.navRoot{
display: flex;
justify-content: space-between;
align-content: stretch;
width: 100%;
border-bottom: 2px solid #ccc;
}
@media (--large){
.linkLabel{
/*display: none;*/
}
}
|
Remove overflow:scroll for now. It looks ugly on windows. | .bubble {
background-color: #fff;
border: 1px solid #e7e7e7;
box-shadow: 0 1px 3px 0 #eee;
border-radius: 3px;
margin-top: 6px;
margin-bottom: 6px;
}
#editor {
height: 500px;
}
#contents {
background-color: #fff;
margin-top: 6px;
border: 1px solid #e7e7e7;
box-shadow: 0 1px 3px 0 #eee;
border-... | .bubble {
background-color: #fff;
border: 1px solid #e7e7e7;
box-shadow: 0 1px 3px 0 #eee;
border-radius: 3px;
margin-top: 6px;
margin-bottom: 6px;
}
#editor {
height: 500px;
}
#contents {
background-color: #fff;
margin-top: 6px;
border: 1px solid #e7e7e7;
box-shadow: 0 1px 3px 0 #eee;
border-... |
Initialize static folder and basic font reduce css | body {
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, STHeiti, 'Microsoft Yahei', sans-serif;
font-size: 16px;
line-height: 1.42857143;
}
| |
Disable horizontal scroll in Volume chooser | div.step_header {
margin-bottom: 12px;
}
div.step_body {
padding-left: 12px;
}
span.step_number {
font-size: 14pt;
font-weight: bold;
text-shadow: #aaa 2px 2px 3px;
}
span.step_caption {
font-size: 12pt;
}
span.fvc_selected {
margin-left: 6px;
}
span.fvc_selected {
margin-left: 6px;
}
.fvc_b... | div.step_header {
margin-bottom: 12px;
}
div.step_body {
padding-left: 12px;
}
span.step_number {
font-size: 14pt;
font-weight: bold;
text-shadow: #aaa 2px 2px 3px;
}
span.step_caption {
font-size: 12pt;
}
span.fvc_selected {
margin-left: 6px;
}
span.fvc_selected {
margin-left: 6px;
}
.fvc_b... |
Increase height of menu header | .demo-layout-transparent {
}
.demo-layout-transparent .mdl-layout__header .mdl-layout__header-row,
.demo-layout-transparent .mdl-layout__drawer-button {
/* This background is dark, so we set text to white. Use 87% black instead if
your background is light. */
color: #2196F3;
}
/*MDL assigns padding-left of ~70p... | .demo-layout-transparent {
}
.demo-layout-transparent .mdl-layout__header .mdl-layout__header-row,
.demo-layout-transparent .mdl-layout__drawer-button {
/* This background is dark, so we set text to white. Use 87% black instead if
your background is light. */
color: #2196F3;
}
/*MDL assigns padding-left of ~70p... |
Fix display issues with Safari | .SocialAuthDisconnect {
padding: 8px 8px 7px;
color: white;
line-height: 18px;
border: 1px solid #678;
background: -webkit-linear-gradient(#89a, #567);
box-shadow: 0 1px #345, 0 2px rgba(255,255,255,.34), 0 0 0 1px #567;
position: relative;
}
.SocialAuthDisconnect label {
margin: 0 21px... | .SocialAuthDisconnect {
padding: 8px 8px 7px;
color: white;
line-height: 18px;
border: 1px solid #678;
background: -webkit-linear-gradient(#89a, #567);
box-shadow: 0 1px #345, 0 2px rgba(255,255,255,.34), 0 0 0 1px #567;
position: relative;
}
.SocialAuthDisconnect label {
margin: 0 21px... |
Set min-width of body to 650px to resolve beer list grid rendering issue | .inline-block {
display: inline-block;
}
.btn-confirm {
width: 80px;
} | .inline-block {
display: inline-block;
}
.btn-confirm {
width: 80px;
}
body {
min-width: 650px;
} |
Tweak docs infobox background color. | /* foo bar! */
.navbar-default {
background-color: #545f66;
}
.navbar-default .navbar-brand {
color: #ffffff;
}
.navbar-default .navbar-nav>li>a {
color: #ffffff;
}
.navbar-form .form-control {
color: #ffffff;
}
.navbar-form .form-control:focus {
box-shadow: inset 0 -2px 0 #ffffff;
}
.alert-info {
... | /* foo bar! */
.navbar-default {
background-color: #545f66;
}
.navbar-default .navbar-brand {
color: #ffffff;
}
.navbar-default .navbar-nav>li>a {
color: #ffffff;
}
.navbar-form .form-control {
color: #ffffff;
}
.navbar-form .form-control:focus {
box-shadow: inset 0 -2px 0 #ffffff;
}
.alert-info {
... |
Add 'box-sizing' of search-input for IE | .sidebar-header {
background-color: #f5f5f5;
border-bottom: 1px solid #e5e5e5;
box-sizing: border-box;
padding: 11px;
position: absolute;
width: 100%;
z-index: 1;
}
.sidebar-header > .search-input {
-webkit-appearance: none;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: inset 0 1px 2px ... | .sidebar-header {
background-color: #f5f5f5;
border-bottom: 1px solid #e5e5e5;
box-sizing: border-box;
padding: 11px;
position: absolute;
width: 100%;
z-index: 1;
}
.sidebar-header > .search-input {
-webkit-appearance: none;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: inset 0 1px 2px ... |
Add custom CSS with some tweaks for mobile use | @media (max-width: 570px) {
.oneThird {
width: 100%;
border-left: none;
}
.quarter {
width: 100%;
border-left: none;
}
.headerTitle {
text-align: right;
}
.headerSubTitle {
text-align: right;
}
.headerLinks {
position: stati... | |
Modify CSS for modal spacing. | html, body {
color: #333;
margin-top: 100px;
}
#myModal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0, 0.7);
}
.myModal-content {
margin: 20% auto;
border: 1px solid #f2f2f2;
background-color: #fff;
... | html, body {
color: #333;
margin-top: 100px;
}
.recipe-modal-content {
border: 1px solid #f2f2f2;
background-color: #fff;
padding: 20px;
}
.myModal-header {
border-bottom: 1px solid #c3c3c3;
padding-bottom: 10px;
}
button {
margin: 5px !important;
}
|
Replace dubious line-height rule with padding | @value --blue from 'canvas-colors/styles/colors';
.canvas-title-actions {
align-items: center;
display: flex;
}
.template-badge {
background: #E7E8FF;
border: none;
border-radius: 3px;
color: --blue;
cursor: pointer;
font-size: 0.875rem;
margin-right: 1rem;
outline: 0;
padding: 0.125rem 0.5rem;
... | @value --blue from 'canvas-colors/styles/colors';
.canvas-title-actions {
align-items: center;
display: flex;
}
.template-badge {
background: #E7E8FF;
border: none;
border-radius: 3px;
color: --blue;
cursor: pointer;
font-size: 0.875rem;
margin-right: 1rem;
outline: 0;
padding: 0.125rem 0.5rem;
... |
Fix Map in VBox without changing min-height | .jupyter-widgets.leaflet-container {
min-height: 400px;
overflow: hidden;
flex: 1;
}
.jp-LinkedOutputView .jupyter-widgets.leaflet-container {
min-height: 360px; /* Min-height required for mirred output in jlab < 0.31.6 */
height: 100%;
}
.leaflet-control-velocity.leaflet-control {
background... | .jupyter-widgets.leaflet-container {
height: 400px;
overflow: hidden;
flex: 1 1 auto;
}
.jp-LinkedOutputView .jupyter-widgets.leaflet-container {
min-height: 360px; /* Min-height required for mirred output in jlab < 0.31.6 */
height: 100%;
}
.leaflet-control-velocity.leaflet-control {
backgro... |
Reorganize CSS to make items easier to find | body {
background-color: #d5e5ed;
background-image: url(./woodgrain.png);
}
#target {
position: absolute;
background-color: orange;
height: 75px;
width: 75px;
}
#controls {
position: absolute;
right: 0px;
bottom: 0px;
}
#score {
border: 1px solid black;
}
#about {
display: none;
position: absolu... | body {
background-color: #d5e5ed;
background-image: url(./woodgrain.png);
}
#about {
display: none;
position: absolute;
top: 25%;
left: 25%;
width: 50%;
height: 50%;
padding: 16px;
border: 16px solid orange;
background-color: black;
color: white;
z-index: 1002;
overflow: auto;
}
#click {
d... |
Add media queries for smaller devices | @keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* Hide the list while printing so it never covers anything up. */
@media print {
#wishlist-total {
display: none;
}
}
/* Used when the total is loading to prevent a jarring "pop" when it appears. */
.animation-fade-in {
animation: fade-in 1... | @keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* Hide the list while printing so it never covers anything up. */
@media print {
#wishlist-total {
display: none;
}
}
/* Used when the total is loading to prevent a jarring "pop" when it appears. */
.animation-fade-in {
animation: fade-in 1... |
Remove the need to use <p> to add space between list items. | .corner { width: 200px;
height: 80px;
text-align: center;
}
.navbar { background-color: rgb(110,139,61);
padding-top: 2em;
}
.banner { background-color: rgb(110,139,61);
color: rgb(255,236,176);
padding-left: 2em;
... | .corner { width: 200px;
height: 80px;
text-align: center;
}
.navbar { background-color: rgb(110,139,61);
padding-top: 2em;
}
.banner { background-color: rgb(110,139,61);
color: rgb(255,236,176);
padding-left: 2em;
... |
Add styling for new text canvas | body {
background-color: #336;
position: relative;
text-align: center;
}
canvas {
background-color: rgba(0, 0, 0, 0);
border: 4px solid #FF4;
border-radius: 12px;
margin: 3em 0;
padding: 8px 0;
position: absolute;
}
input {
max-width: 80%;
}
#board {
background-color: #000;
z-index: 0;
}
#pelle... | body {
background-color: #336;
position: relative;
text-align: center;
}
canvas {
background-color: rgba(0, 0, 0, 0);
border: 4px solid #FF4;
border-radius: 12px;
margin: 3em 0;
padding: 8px 0;
position: absolute;
}
input {
max-width: 80%;
}
#board {
background-color: #000;
z-index: 0;
}
#pelle... |
Fix layout problems with overflowing path names | .App {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.App > .header-container {
flex: 0;
}
.App > .content {
flex: 1;
display: flex;
flex-direction: row;
}
.App > .content > .content-pane-container {
flex: 6;
}
.App > .content > .sidebar-container {
flex: 2;
}
| .App {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.App > .header-container {
flex: 0;
}
.App > .content {
flex: 1;
display: flex;
flex-direction: row;
}
.App > .content > .content-pane-container {
flex: 6;
overflow: hidden;
}
.App > .content > .sidebar-container {
... |
Add `!important` to visibility classes | /* ==========================================================================
States utilities
========================================================================== */
/**
* Global states.
* JavaScript may add/remove/toggle these classes.
* All other states are component-scoped and use the `is-` prefix.
... | /* ==========================================================================
States utilities
========================================================================== */
/**
* Global states.
* JavaScript may add/remove/toggle these classes.
* All other states are component-scoped and use the `is-` prefix.
... |
Remove top border to feedback frame | #feedback {
border-top: 1px solid #DDD;
margin-top: 2em;
padding-top: 2em;
margin-bottom: 4em;
}
#feedback ul {
margin-left: 0;
padding-left: 0;
list-style-type: circle;
}
#error p {
font-weight: bold;
}
#error small {
display: block;
margin-top: 1em;
}
#error small, #error s... | #feedback {
margin-top: 2em;
padding-top: 2em;
margin-bottom: 4em;
}
#feedback ul {
margin-left: 0;
padding-left: 0;
list-style-type: circle;
}
#error p {
font-weight: bold;
}
#error small {
display: block;
margin-top: 1em;
}
#error small, #error small pre {
font-size: 80%;
}... |
Tweak 3DS payment challenge iframe style | .goods-payment-challenge-frame {
width: 250px;
height: 400px;
border: 0;
box-shadow: none;
}
| .goods-payment-challenge-frame {
width: 420px;
height: 420px;
border: 0;
box-shadow: none;
display: block;
}
|
Reorganize and comment code. Also remove of display:block (float already makes the element display as block) | /* Custom radio-checkbox */
.radio, .checkbox {
padding: 0 5px 0 0;
background: url(../images/radio-checkbox.png) no-repeat;
display: block;
clear: left;
float: left;
position:relative;
top:3px
}
/* radio */
.radio {background-position:0 0;height:13px;width:13px}
.radio-checked{background-position:0 -13px}
/* ch... | /* REQUIRED CSS */
/* Custom radio-checkbox */
.radio, .checkbox {
background: url(../images/radio-checkbox.png) no-repeat;
padding: 0 5px 0 0;
top:3px;
/* don't need to modify this line */float:left;clear:left;position:relative;
}
/* radio */
.radio {background-position:0 0;height:13px;width:13px}
.radio-checked{... |
Update custom style for the example | /* reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* page */
.page-wrapper {
margin: 0 auto;
width: 960px;
max-width: 100%;
}
/* box */
.box-content {
padding:20px;
background-color: #FFF;
}
textarea {
background-color:#FAFAFA;
border:#EFEFEF solid 1px;
c... | /* reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* general */
body {
background-color: #EFEFEF;
}
/* page */
.page-wrapper {
margin: 0 auto;
width: 960px;
max-width: 100%;
}
/* box */
.box-content {
padding:20px;
background-color: #EFEFEF;
}
textarea {
ba... |
Remove overflow style property from ember-snip | ember-snip {
display: block;
overflow: auto;
}
ember-snipee {
pointer-events: none;
overflow: hidden;
position: absolute;
will-change: top, left, width, height;
box-shadow: inset 1px 1px 0 0 rgba(28, 77, 70, 0.9),
inset -1px -1px 0 0 rgba(28, 77, 70, 0.9);
background-color: rgba(28, 77,... | ember-snip {
display: block;
}
ember-snipee {
pointer-events: none;
overflow: hidden;
position: absolute;
will-change: top, left, width, height;
box-shadow: inset 1px 1px 0 0 rgba(28, 77, 70, 0.9),
inset -1px -1px 0 0 rgba(28, 77, 70, 0.9);
background-color: rgba(28, 77, 70, 0.666);
z-i... |
Update document revision form style | .business-process-revision-box {
margin: 22px -20px;
padding: 21px 20px;
background: var(--light-background);
border-top: 1px solid var(--light-text);
border-bottom: 1px solid var(--light-text);
}
.business-process-revision-box-header {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #e... | .business-process-revision-box {
margin: 22px -20px;
padding: 21px 20px;
background: var(--light-background);
border-top: 1px solid var(--light-text);
border-bottom: 1px solid var(--light-text);
}
.business-process-revision-box-header {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #e... |
Remove paper styles from .css | /**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* 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 appli... | /**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* 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 appli... |
Make App span at least the entire window | :root {
/* SLURP palette constants */
--SLURP-BLUE: #264653;
--SLURP-CYAN: #2A9D8F;
--SLURP-YELLOW: #E9C46A;
--SLURP-ORANGE: #F4A261;
--SLURP-RED: #E76F51;
--SLURP-OFFWHITE: #FFFDFA;
--SLURP-GRAY: #545352;
}
#logo64 {
height: 64px;
width: 64px;
}
#logo256 {
height: 256px;
width: 256px;
}
| :root {
/* SLURP palette constants */
--SLURP-BLUE: #264653;
--SLURP-CYAN: #2A9D8F;
--SLURP-YELLOW: #E9C46A;
--SLURP-ORANGE: #F4A261;
--SLURP-RED: #E76F51;
--SLURP-OFFWHITE: #FFFDFA;
--SLURP-GRAY: #545352;
}
html, body, #root, #root>div, #root>div>* {
height: 100%
}
#logo64 {
height: 64px;
width... |
Make progress bar more prominent | /* Empty. Add your own CSS if you like */
body {
height: 100%;
}
/* ion-content makes an inner wrapper */
ion-content, ion-content > * {
height: 100%
}
tocker {
display: block;
position: relative;
height: 50%;
width: 100%;
text-align: center;
vertical-align: middle;
border-top: 1px solid #eee;
tr... | /* Empty. Add your own CSS if you like */
body {
height: 100%;
}
/* ion-content makes an inner wrapper */
ion-content, ion-content > * {
height: 100%
}
tocker {
display: block;
position: relative;
height: 50%;
width: 100%;
text-align: center;
vertical-align: middle;
border-top: 1px solid #eee;
tr... |
Remove unnecessary properties (set in template) | body {
background-image: url(/images/backgrounds/error_bg.jpg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
p {
text-align: center;
color: white;
}
p > a {
color: white;
}
.big-red {
margin: 0;
color: #a50000;
font-size: 72px;
text-align: center;
}
#box {
... | body {
background-image: url(/images/backgrounds/error_bg.jpg);
}
p {
text-align: center;
color: white;
}
p > a {
color: white;
}
.big-red {
margin: 0;
color: #a50000;
font-size: 72px;
text-align: center;
}
#box {
width: 600px;
background: rgba(0, 0, 0, 0.7);
padding: 16px;
box-sizing: border-box;
bord... |
Add spacing to About page tag display | .Tag-Item {
background-color: lightblue;
border-radius: 5px;
padding: 5px 5px 5px 5px;
}
span.Tag-Item + span.Tag-Item {
margin-left: 10px;
}
| .Tag-Item {
background-color: lightblue;
border-radius: 5px;
padding: 5px 5px 5px 5px;
display: inline-block;
margin: 2px;
}
span.Tag-Item + span.Tag-Item {
margin-left: 10px;
}
|
Fix second from top in technical |
#second_from_top {
display: block;
position: relative;
left: 100px;
top: 780px;
}
#third_from_top {
display: block;
position: relative;
left: 100px;
top: 790px;
}
#fourth_from_top {
display: block;
position: relative;
left: 100px;
top: 800px;
}
|
#second_from_top {
display: block;
position: relative;
left: 100px;
top: 800px;
}
#third_from_top {
display: block;
position: relative;
left: 100px;
top: 810px;
}
#fourth_from_top {
display: block;
position: relative;
left: 100px;
top: 820px;
}
|
Make anchor be in the same color theme with logo | .custom-progress{margin-bottom:0px;}
.file-content
{
width:100%;
height:50%;
}
| .custom-progress{margin-bottom:0px;}
.file-content
{
width:100%;
height:50%;
}
a
{
color:rgb(0, 96, 214); /* The same shade of blue as the Alluxio logo. */
}
|
Fix smooth scrolling on ios | html,
body,
.container-main {
height: 100%;
width: 100%;
margin: 0;
}
.container-main {
overflow-y: auto;
}
.container-main.container-fixed-top {
padding-top: 70px;
}
.container-main.container-fixed-bottom {
padding-bottom: 70px;
}
.navbar-toggle.btn-sidebar-toggle-left {
float: left;
... | html,
body,
.container-main {
height: 100%;
width: 100%;
margin: 0;
}
.container-main {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.container-main.container-fixed-top {
padding-top: 70px;
}
.container-main.container-fixed-bottom {
padding-bottom: 70px;
}
.navbar-toggle.btn-... |
Make mkdocs color consistent with website | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
Fix position of id cell | .printCardWrapper {
display: flex;
justify-content: center;
break-inside: avoid-page;
}
.printCard {
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
border-collapse: collapse;
font-size: 0.75em;
overflow-wrap: break-word;
}
.printCard td:nth-child(1) { width: 10%; }
.printCard td:nth-child(2)... | .printCardWrapper {
display: flex;
justify-content: center;
break-inside: avoid-page;
}
.printCard {
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
border-collapse: collapse;
font-size: 0.75em;
overflow-wrap: break-word;
}
.printCard td:nth-child(1) { width: 10%; }
.printCard td:nth-child(2)... |
Fix to much space between header and content in main page | h1 a {
text-decoration: none;
color: #333
}
.content {
padding-top: 2em;
}
.pure-button {
line-height: 2em;
margin-bottom: 1em;
}
.button-success,
.button-error,
.button-warning,
.button-secondary {
color: white;
border-radius: 4px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
.butto... | h1 a {
text-decoration: none;
color: #333
}
.content .pure-g {
padding-top: 2em;
}
.pure-button {
line-height: 2em;
margin-bottom: 1em;
}
.button-success,
.button-error,
.button-warning,
.button-secondary {
color: white;
border-radius: 4px;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}... |
Fix hidden display of actions links in change_list | /* CHANGELISTS */
.change-list .hiddenfields { display:none; }
/* ACTIONS */
.actions span.all,
.actions span.action-counter,
.actions span.clear,
.actions span.question {
display: none;
}
#action-toggle {
display: none;
}
| |
Add some margin to image titles. | /*
* Custom css for BeBoPr's blog.
* By Sander Laarhoven ;)
*/
/* Add some margin to image titles. */
.imageblock>.title {
margin-top: 10px;
margin-bottom: 30px;
}
| |
Add commas and "and" around topics. | small {
color: #999;
}
.highlight {
color: #fff;
}
| small {
color: #999;
}
.highlight {
color: #fff;
}
/**
* Article info.
*/
.article-info__topics li:after {
content: ', ';
}
.article-info__topics li:last-of-type:before {
content: ' and ';
}
.article-info__topics li:last-of-type:after {
content: '';
}
.article-info__topics li:first-of-type:before {
... |
Change font family and line-height | body {
font-family: Droid Sans, Arial, sans-serif;
font-size: 14px;
}
input[name=url] {
width: 45em;
}
input[name=width],
input[name=height] {
width: 5em;
}
| body {
font: 14px/1.4 "Lucida Grande", "Helvetica Neue", Arial, sans-serif;
}
input[name=url] {
width: 45em;
}
input[name=width],
input[name=height] {
width: 5em;
}
|
Change color and alignment in top bar | html, body, #map-canvas {
height: 100%;
margin: 0px;
padding: 0px
}
.topper {
height: 5%;
}
.drawer {
background-color: #fff;
height: 95%;
overflow-y: scroll;
position: absolute;
transform: translate(-300px, 0);
transition: transform 0.3s ease;
width: 300px;
will-change: transform;
z-index: ... | /* Whole document */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
/* Mobile top area */
.topper {
background-color: #f53c24;
height: 48px;
text-align: right;
}
.hamburger {
color: #fff;
display: inline-block;
font-size: 1.8em;
height: 48px;
line-height: 48px;
text-align: center;
width... |
Add top padding to smaller screens | html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 35px;
}
#logo {
text-align: center;
}
@media (max-width: 500px) {
.navbar {
text-align: center;
}
.navbar-nav {
display: inline-block;
}
}
@media (min-width: 500px) and (max-width: 992px) {
.navbar, #logo {
display: inline-flex;
}
}... | html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 35px;
}
#logo {
text-align: center;
}
@media (max-width: 500px) {
.top-padding {
min-height: 10px;
}
.navbar {
text-align: center;
}
.navbar-nav {
display: inline-block;
}
}
@media (min-width: 500px) and (max-width: 992px) {
.to... |
Reduce size of quote by 5px | * {
border: 0;
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
}
html {
min-height: 100%;
}
body {
background: url('https://github.com/allisonPlusPlus/therapy3/blob/master/1918.jpeg?raw=true') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size... | * {
border: 0;
padding: 0;
margin: 0;
font-family: 'Roboto', sans-serif;
}
html {
min-height: 100%;
}
body {
background: url('https://github.com/allisonPlusPlus/therapy3/blob/master/1918.jpeg?raw=true') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size... |
Fix height of wrapper div | html, body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
margin: 0;
width: 100%;
height: 100%;
}
h1 {
font-size: 3rem;
}
.center-align {
text-align: center;
}
.img--rounded {
border-radiu... | html, body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
margin: 0;
width: 100%;
height: 100%;
}
h1 {
font-size: 3rem;
}
.center-align {
text-align: center;
}
.img--rounded {
border-radiu... |
Use relative sizing for bolt button | * {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
#map {
height: 100%;
width: 100%;
}
.ng-scope {
height: 100%;
}
.message {
text-align: center;
}
nav {
background-color: black;
}
.btn-floating.btn-large {
width: 500px;
height: 500px;
display: block;
vertical-align: middle;
line-he... | * {
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
#map {
height: 100%;
width: 100%;
}
.ng-scope {
height: 100%;
}
.message {
text-align: center;
}
nav {
background-color: black;
}
.btn-floating.btn-large {
width: 22em;
height: 22em;
display: block;
vertical-align: middle;
line-heig... |
Fix category hover issue of Move Money Dialog | .modal-budget-move-money .modal, .modal-budget-overspending .modal {
width: 20em;
height: 20em;
}
.ynab-select-options {
height: 20em;
top: -86px;
}
.modal-budget-move-money .modal-actions {
padding: 7.3em .765em .765em .765em;
}
| .modal-budget-move-money .modal, .modal-budget-overspending .modal {
width: 20em;
height: 20em;
}
.ynab-select-options {
height: 20em;
}
.modal-budget-move-money .modal-actions {
padding: 7.3em .765em .765em .765em;
}
|
Add size limit to images | .rcm-input {
}
.rcm-input.image label {
display: block;
}
.rcm-input.image img {
/*max-width: 120px !important;*/
/*max-height: 170px !important;*/
/*float: left;*/
/*margin-right: 10px*/
}
| .rcm-input {
}
.rcm-input.image label {
display: block;
}
.rcm-input.image img {
max-height: 8em;
/*max-width: 120px !important;*/
/*max-height: 170px !important;*/
/*float: left;*/
/*margin-right: 10px*/
}
|
Add some padding to selected items | body {
background: #e6e6e6;
}
article {
background: #fdfdfd;
overflow: auto;
padding: 1em;
}
h1, h2, h3, th {
text-transform: capitalize;
}
header.panel, footer.panel {
margin-bottom: 0;
}
header .siteName, header .tagLine, footer .credits {
text-shadow: 1px 1px 2px #969696;
color: ... | body {
background: #e6e6e6;
}
article {
background: #fdfdfd;
overflow: auto;
padding: 1em;
}
h1, h2, h3, th {
text-transform: capitalize;
}
header.panel, footer.panel {
margin-bottom: 0;
}
header .siteName, header .tagLine, footer .credits {
text-shadow: 1px 1px 2px #969696;
color: ... |
Tweak style to match top nav. | #project-selector a {
color: #333;
}
#project-selector a:hover {
text-decoration: none;
}
#project-selector a:hover .project {
border-color: #0091EA;
}
#project-selector .project {
border-color: #ddd;
padding: 24px 24px 24px 64px;
position: relative;
}
#project-selector .project h4 {
mar... | #project-selector a {
color: #333;
}
#project-selector a:hover {
text-decoration: none;
}
#project-selector a:hover .project {
border-color: #0091EA;
}
#project-selector .project {
border-color: #ddd;
padding: 24px 24px 24px 64px;
position: relative;
}
#project-selector .project h4 {
fon... |
Make box-shadow when hover lighter | .dash-segment:not(.dash-segment-award) .segment-content {
border-radius: 3px;
padding: 15px;
box-shadow: 2px 4px 5px rgba(0,0,0,0.2);
background-color: hsl(0, 0%, 97%);
transition: all 0.5s;
}
.dash-segment:not(.dash-segment-award) [class="segment-content"]:hover {
box-shadow: 2px 4px 5px rgba(0... | .dash-segment:not(.dash-segment-award) .segment-content {
border-radius: 3px;
padding: 15px;
box-shadow: 2px 4px 5px rgba(0,0,0,0.2);
background-color: hsl(0, 0%, 97%);
transition: all 0.5s;
}
.dash-segment:not(.dash-segment-award) [class="segment-content"]:hover {
box-shadow: 2px 4px 5px rgba(0... |
Fix content hidden on mobile phones | 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%;
overflow: hidden;
margin: 0;
}
body {
height: 100%;
overflow: scroll;
padding-bottom: 20px;
}
a:link ... |
Update Style to show button pressed | uno-counter {
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
uno-counter md-checkbox {
align-self: center;
}
uno-counter .buttons {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
uno-counter .count {
f... | uno-counter {
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
uno-counter md-checkbox {
align-self: center;
}
uno-counter .buttons {
display: flex;
flex-direction: column;
justify-content: flex-start;
}
uno-counter .count {
f... |
Add @media rule to limit body width | body
{
margin: 0;
padding: 0;
}
body > menu
{
background-color: white;
margin: 0;
padding: 1em 2em;
}
body > menu p
{
margin: 0;
}
body > main
{
margin: 0;
padding: 0.5em 2em;
background-color: #eee;
border-top: solid #ccc 1px;
border-bottom: solid #ccc 1px;
}
body > footer
{
margin: 0;
... | body
{
margin: 0;
padding: 0;
max-width: 60em;
}
@media screen and (min-width: 60em)
{
body
{
margin: auto;
}
body > menu,
body > main
{
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
}
}
body > menu
{
background-color: white;
margin: 0;
padding: 1em 2em;
}
body > men... |
Move CSS menu to the left so it doesn't extend outside the module. | /* $Id$ */
#showhide_columns {}
.cssmenu_horiz li {
width: 11em;
}
.box-data ol {
margin-left: 0;
}
.box-data ul {
margin-left: 1em;
}
.wikiactions .icons,
.wikiactions form {/*display: inline*/}
.codelisting {
padding-bottom: 1.8em;
} | /* $Id$ */
#showhide_columns {}
.cssmenu_horiz li {
width: 11em;
}
.box-data ol {
margin-left: 0;
}
.box-data ul {
margin-left: 1em;
}
#col2 .cssmenu_vert {
margin-left: 0;
}
.wikiactions .icons,
.wikiactions form {/*display: inline*/}
.codelisting {
padding-bottom: 1.8em;
} |
Set links to not be underlined | body {
font-family: sans-serif;
}
.lighter {
color: rgb(130, 130, 130);
}
.t_red {
color: rgb(255, 0, 0);
}
.t_blue {
color: rgb(0, 0, 255);
}
.t_yellow {
color: rgb(230, 160, 70);
}
.t_green {
color: rgb(0, 255, 0);
}
.input_error {
background-color: rgb(240, 180, 175);
}
.list {
vertical-... | body {
font-family: sans-serif;
}
a {
text-decoration: none;
}
.lighter {
color: rgb(130, 130, 130);
}
.t_red {
color: rgb(255, 0, 0);
}
.t_blue {
color: rgb(0, 0, 255);
}
.t_yellow {
color: rgb(230, 160, 70);
}
.t_green {
color: rgb(0, 255, 0);
}
.input_error {
background-color: rgb(240, 1... |
Add to wrap class for imgs | #project1, #project2 {
display: none;
}
.wrap {
margin: auto;
width: 50%;
border: 3px solid #73AD21;
padding: 70px;
}
img {
display: block;
margin: auto;
width: 140%;
}
| #project1, #project2 {
display: none;
}
.wrap {
margin: auto;
width: 50%;
border: 3px solid #73AD21;
padding: 70px;
overflow: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
}
img {
display: block;
margin: auto;
width: 140%;
}
|
Fix NodeText CSS fallback values | /*
* Copyright 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.
*/
/* See: https://crbug.com/1227651 for details on changing these to --override pattern. */
.node-label-name {
color: var(--override-node-text-lab... | /*
* Copyright 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.
*/
/* See: https://crbug.com/1227651 for details on changing these to --override pattern. */
.node-label-name {
color: var(--override-node-text-lab... |
Add footer style in css | #project1, #project2, #project3 {
display: none;
}
.wrap {
margin: auto;
width: 50%;
border: 2px solid #eeecec;
padding: 70px;
margin-top: 50px;
}
img {
display: block;
margin: auto;
width: 80%;
align-self: center;
}
| #project1, #project2, #project3 {
display: none;
}
.wrap {
margin: auto;
width: 50%;
border: 2px solid #eeecec;
padding: 70px;
margin-top: 50px;
}
img {
display: block;
margin: auto;
width: 80%;
align-self: center;
}
.footer {
position: absolute;
right: 0;
bottom: 0;
le... |
Change cursor to hand pointer on game menu | .game_area {
position: absolute;
top: 20px;
left: 20px;
}
.game_menu, .field {
position: absolute;
top: 0;
left: 0;
}
.game_menu {
z-index: 200;
}
form {
position: absolute;
top: 0;
left: 430px;
}
input {
display: block;
}
.player {
position: absolute;
width: 57p... | .game_area {
position: absolute;
top: 20px;
left: 20px;
}
.game_menu, .field {
position: absolute;
top: 0;
left: 0;
}
.game_menu {
z-index: 200;
cursor: pointer;
}
form {
position: absolute;
top: 0;
left: 430px;
}
input {
display: block;
}
.player {
position: abs... |
Add padding on links for mobile-friendliness | body {
color: orange;
font-family: sans-serif;
transition: background-color 6s linear;
background-color: #333;
}
h1, h2, h3, h4, h5, h6 {
text-shadow: 4px 4px #ff5500;
}
a,
a:link,
a:visited,
a:hover,
a:focus
{
color: yellow;
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
}
... | body {
color: orange;
font-family: sans-serif;
transition: background-color 6s linear;
background-color: #333;
}
h1, h2, h3, h4, h5, h6 {
text-shadow: 4px 4px #ff5500;
}
a,
a:link,
a:visited,
a:hover,
a:focus
{
color: yellow;
text-decoration: underline;
}
img {
max-width: 100%;
height: auto;
}
... |
Set to 0 the margin and the padding on body to avoid appear the scroll bar | canvas
{
background-color: black;
margin-top: 15px;
box-shadow: 0px 0px 60px 10px #18CAE6;
border-radius: 25px;
border: 5px solid;
border-color: #E6FFFF;
}
body
{
background-color: #000000;
}
@font-face {
font-family: Zorque;
src: url("fonts/zorque.ttf");
}
@font-face {
font-family: Complex;
s... | canvas
{
background-color: black;
margin-top: 15px;
box-shadow: 0px 0px 60px 10px #18CAE6;
border-radius: 25px;
border: 5px solid;
border-color: #E6FFFF;
}
body
{
background-color: #000000;
padding: 0;
margin: 0;
}
@font-face {
font-family: Zorque;
src: url("fonts/zorque.ttf");
}
@font-face {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.