Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Fix direct child `<ul>` / `<ol>` of `<li>` recieving styles to avoid nested markup inheriting styles
ul, ol { margin: var(--list-margin); padding: var(--list-padding); font-family: var(--list-font-family); font-weight: var(--list-font-weight); font-size: var(--list-font-size); color: var(--list-color); line-height: var(--list-line-height); & li { margin: var(--list-item-margin); padding: var(-...
ul, ol { margin: var(--list-margin); padding: var(--list-padding); font-family: var(--list-font-family); font-weight: var(--list-font-weight); font-size: var(--list-font-size); color: var(--list-color); line-height: var(--list-line-height); & li { margin: var(--list-item-margin); padding: var(-...
Add comment refering to Wagtail stylesheet back in
body.wy-body-for-nav { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5em; color: #333; background-color: #e6e6e6; /*$color-grey-4*/ } div.wy-nav-side { background-color: #333; /*color-grey-1*/ } div.wy-side-nav-search { backgrou...
body.wy-body-for-nav { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif; line-height: 1.5em; color: #333; /*$color-grey-1*/ background-color: #e6e6e6; /*$color-grey-4*/ } div.wy-nav-side { background-color: #333; /*color-grey-1*/ } div.wy-side-nav-sea...
Remove input background and border
.terminal { font-family: "Courier New", Courier, monospace; color: #141412; min-height: 230px; width: 100%; display: none; } .term-history { height:190px; /* header height minus input height */ overflow-y:auto; } .term-input { border: 0; width: calc(100% - 85px); /* subtract prompt w...
.terminal { font-family: "Courier New", Courier, monospace; color: #141412; min-height: 230px; width: 100%; display: none; } .term-history { height:190px; /* header height minus input height */ overflow-y:auto; } .term-input { border: 0 !important; width: calc(100% - 85px); /* subtra...
Tweak to featured label in page action
body { min-width: 200px; font-family: 'Lucida Grande', Helvetica, Arial, sans-serif; background: #fefefe; font-size: 13px; max-height: 300px } .nav { margin: 0; } .dropdown-menu { position: relative; overflow: hidden; overflow-y: scroll; } .nav .dropdown-toggle .caret { border-top-color: #333; ...
body { min-width: 200px; font-family: 'Lucida Grande', Helvetica, Arial, sans-serif; background: #fefefe; font-size: 13px; max-height: 300px } .nav { margin: 0; } .dropdown-menu { position: relative; overflow: hidden; overflow-y: scroll; } .nav .dropdown-toggle .caret { border-top-color: #333; ...
Move content list view specific styling into streamhub-sdk
.streamhub-media-wall-view { position:relative; overflow: scroll; } .streamhub-media-wall-view .hub-wall-column { display: inline-block; vertical-align: top; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 5px; } .streamhub-media-wall-view ar...
.streamhub-media-wall-view { position:relative; overflow: scroll; } .streamhub-media-wall-view .hub-wall-column { display: inline-block; vertical-align: top; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; padding: 5px; }
Make sure pledges don't pop up by default on safari
body { width: 100%; font-size: 3vw; } .pledge-forms { position: static; } .pledge-forms iframe { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100%; display: block; visibility: hidden; } .pledge-forms label.hide-form { position: fixed; font-size: ...
body { width: 100%; font-size: 3vw; } .pledge-forms { position: static; } .pledge-forms [type=radio]:checked + iframe { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100%; display: block; visibility: hidden; } .pledge-forms label.hide-form { position...
Fix overlapping text for COOP policy in frame details
/* * Copyright 2020 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. */ .report-field-name { flex: 0 0 200px; } .report-field-value { user-select: text; display: flex; } .report-field .inline-name { color: #88...
/* * Copyright 2020 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. */ .report-field-name { flex: 0 0 200px; } .report-field-value { user-select: text; display: flex; } .report-field .inline-name { color: #88...
Deploy data blocks using templates with handlebars
main { display: block; margin-top: 4em; } body { position: relative; } .content-block { position: relative; } .wrapper { display: block; margin-left: auto; margin-right: auto; left: 0; right: 0; transition: all 0.5s ease-out; width: 90vw; } .wrapper.active { left: 18em; }
main { display: block; margin-top: 4em; } body { position: relative; } .content-block { position: relative; } .wrapper { position: absolute; display: block; margin-left: auto; margin-right: auto; left: 0; right: 0; transition: all 0.5s ease-out; width: 90vw; } .wrapper.active { left: 18em;...
Update matches on scrollbar border styles
.CodeMirror-search-match { background: gold; border-top: 1px solid orange; border-bottom: 1px solid orange; -moz-box-sizing: border-box; box-sizing: border-box; opacity: .5; }
.CodeMirror-search-match { background: gold; border: 1px solid orange; -moz-box-sizing: border-box; box-sizing: border-box; opacity: .5; }
Increase the width of the container
@import '@teamleader/ui-utilities'; .container { min-width: 990px; padding-left: var(--spacer-big); padding-right: var(--spacer-big); } .is-fixed { margin: 0 auto; max-width: 990px; } @media (--larger-than-lg-viewport) { .container:not(.is-fixed) { padding-left: var(--spacer-biggest); padding-rig...
@import '@teamleader/ui-utilities'; .container { min-width: 1056px; padding-left: var(--spacer-big); padding-right: var(--spacer-big); } .is-fixed { margin: 0 auto; max-width: 1056px; } @media (--larger-than-lg-viewport) { .container:not(.is-fixed) { padding-left: var(--spacer-biggest); padding-r...
Add padding to page footer
body { display: flex; min-height: 100vh; flex-direction: column; } main { flex: 1; } body > header, article { margin-bottom: 1.75rem; } body > footer { margin-top: 1.2rem; } main header { margin-bottom: 0.6rem; } .navbar { padding-left: 0; }
body { display: flex; min-height: 100vh; flex-direction: column; } main { flex: 1; } body > header, article { margin-bottom: 1.75rem; } body > footer { margin-top: 1.2rem; padding-bottom: 1.4rem; padding-top: 1.4rem; } main header { margin-bottom: 0.6rem; } .navbar { padding-left: 0; }
Add margin bottom for the jumbotron elements in smaller screens.
body { background-color: #eaf1f1; font-family: 'Istok Web', sans-serif; line-height: 1.6; padding-top: 50px; } h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; letter-spacing: 2px; } .card { min-height: 650px; margin-bottom: 100px; box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75)...
body { background-color: #eaf1f1; font-family: 'Istok Web', sans-serif; line-height: 1.6; padding-top: 50px; } h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; letter-spacing: 2px; } .card { min-height: 650px; margin-bottom: 100px; box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75)...
Fix UI on stack ranking when not on mobile
.to_review { border-bottom: black; font-size: 16px; } .green { color: rgba(0, 255, 0, 0.8); } .red { color: rgba(255, 0, 0, 0.8); } .judge-page-h3 { color: #337AB7; } .judge-page-ul { list-style-type: none; } .drag-handle { cursor: move; background: url('drag_handle.png') no-repeat center; display: none; ...
.to_review { border-bottom: black; font-size: 16px; } .green { color: rgba(0, 255, 0, 0.8); } .red { color: rgba(255, 0, 0, 0.8); } .judge-page-h3 { color: #337AB7; } .judge-page-ul { list-style-type: none; } .drag-handle { cursor: move; background: none; } #drag-reminder-img { float: left; width: 2.5%;...
Fix Nav Bar Background Color
html{ background-color:rgb(122, 136, 255); color:rgb(198, 204, 255); } ul{ list-style-type: none; margin: 0; padding: 0; } li { display: inline; background-color:rgb(122,136,255); color:rgb(198,204,255); } ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; back...
html{ background-color:rgb(122, 136, 255); color:rgb(198, 204, 255); } ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: gray; position:relative; } li { display: inline; background-color:gray; color:rgb(198,204,255); float:left; } li a { disp...
Add media query for buttons
#blue { color: #27c2dc; } /*@media only screen and (max-width: 460px) { #resume-first-link { margin-bottom: 5%; } }*/ /*[id*="project-"]:hover { background-color: red; background: url("http://imgur.com/xDQAOms"); }*/ /*#project-1:hover { background: url("http://i.imgur.com/xDQAOms.png"); }*/
#blue { color: #27c2dc; } @media only screen and (max-width: 460px) { #resume-first-link { margin-bottom: 5%; } } /*[id*="project-"]:hover { background-color: red; background: url("http://imgur.com/xDQAOms"); }*/ /*#project-1:hover { background: url("http://i.imgur.com/xDQAOms.png"); }*/
Update about section background color
/* Header */ .header { display: table; position: relative; width: 100%; height: 100%; background: url(../img/jackson-Pollock-Convergence.jpg) no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cove...
/* Header */ .header { display: table; position: relative; width: 100%; height: 100%; background: url(../img/abstract_deeplight.jpg) no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; background-size: cover; -o-background-size: cover; } .bo...
Adjust input styling to match output
.app-code-input { resize: none; width: 100%; height: 50vh; }
.aci { width: 100%; height: 50vh; } .aci-textarea { resize: none; margin: 0px; height: 100%; width: 100%; padding: 14.400px; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 90%; tab-size: 4; }
Fix badge layout in FF.
.Column-add-button { position: relative; top: 20px; } .Column { user-select: none; position: relative; display: inline-block; margin-left: 5px; margin-right: 5px; cursor: crosshair; } .Columns { white-space: nowrap; } .Columns canvas { display: block; } .Column .react-resizable-handle { bottom: -6px; ri...
.Column-add-button { position: relative; top: 20px; } .Column { user-select: none; position: relative; display: inline-block; margin-left: 5px; margin-right: 5px; cursor: crosshair; } .Columns { white-space: nowrap; } .Columns .Sortable { white-space: normal; } .Columns canvas { display: block; } .Colum...
Make export dialog layout consistent
.explorerTickBoxCell-outer { display: inline-block; white-space: nowrap; vertical-align: top; } .explorerTickBoxCell-outer * { display: inline-block; white-space: nowrap; vertical-align: top; } .explorerTickBoxCell-expander { padding-right: 5px; } .explorerTickBoxCell-expanderIcon { width: 14px; height: 14px; } .ex...
.explorerTickBoxCell-outer { display: inline-block; white-space: nowrap; vertical-align: top; } .explorerTickBoxCell-outer * { display: inline-block; white-space: nowrap; vertical-align: top; } .explorerTickBoxCell-expander { padding-right: 5px; } .explorerTickBoxCell-expander > .svgIcon ...
Make sure the lines are always sharp
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; } svg line { stroke: #000; stroke-width: 10px; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; } svg line { stroke: #000; stroke-width: 10px; shape-rendering: crispEdges; }
Fix strike-through of removed reference diff
@import 'part:@sanity/base/theme/variables-style'; .root { padding: var(--small-padding); border-radius: var(--border-radius-small); }
@import 'part:@sanity/base/theme/variables-style'; .root { padding: var(--small-padding); border-radius: var(--border-radius-small); @nest del & { text-decoration: line-through; } }
Fix for the login box to work
/* Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.gi...
/* Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.gi...
Write basic css for index
/* Background pattern used with permission from subtlepatterns.com */ /* Header */ header { background-color: #3e3952; position: relative; height: 100px; width: 80%; margin-left: auto; margin-right: auto; color: #bc7abd; padding: 1px; border: solid 1px; border-color: #3e3952; border-top-left-radius: 3px; ...
Change colors of date picker to match our custom material theme
.datePicker { background-color: white; padding-top: 20px; } .mat-form-field { width: 40%; margin-right: 5%; margin-left: 5%; } ::ng-deep .mat-h2 { margin-bottom: 0px !important; } /* Remove extra padding below the button. */ ::ng-deep .mat-mini-fab .mat-button-wrapper { padding: 0px !important; } ::ng...
.datePicker { background-color: white; padding-top: 20px; } .mat-form-field { width: 40%; margin-right: 5%; margin-left: 5%; } ::ng-deep .mat-h2 { margin-bottom: 0px !important; } /* Remove extra padding below the button. */ ::ng-deep .mat-mini-fab .mat-button-wrapper { padding: 0px !important; } ::ng...
Fix an incorrect css property.
body { background: white; display: -webkit-flex; -webkit-justify-content: center; -webkit-align-items: center; -webkit-flex-direction: column; } video { width: 320; height: 180; border: 1px solid #e2e2e2; box-shadow: 0 3px 3px rgba(0,0,0,0.2); }
body { background: white; display: -webkit-flex; -webkit-justify-content: center; -webkit-align-items: center; -webkit-flex-direction: column; } video { width: 320px; height: 180px; border: 1px solid #e2e2e2; box-shadow: 0 3px 3px rgba(0,0,0,0.2); }
Add padding to search result selection dropdown.
.search-result-view { height: 100%; } .result-contents { height: -moz-calc(100% - 39px); height: -webkit-calc(100% - 39px); height: -o-calc(100% - 39px); height: calc(100% - 39px); } .download-control { width: 100%; margin-bottom: 5px; } .form-control { min-width: 0; width: auto; display: inline; ...
.search-result-view { height: 100%; } .result-contents { height: -moz-calc(100% - 39px); height: -webkit-calc(100% - 39px); height: -o-calc(100% - 39px); height: calc(100% - 39px); } .download-control { width: 100%; margin-bottom: 5px; } .form-control { min-width: 0; width: auto; display: inline; ...
Add some basic anchor CSS definitions
body { margin: 0 auto; max-width: 45em; font-family: "Helvetica", "Arial", sans-serif; line-height: 1.5; font-size: 1.2em; padding: 4em 1em; } .heading { text-align: center; } h1 { font-size: 2.5em; } h2 { font-size: 2.0em; } h3 { font-size: 1.5em; margin-top: 1em; padding-top: 1...
body { margin: 0 auto; max-width: 45em; font-family: "Helvetica", "Arial", sans-serif; line-height: 1.5; font-size: 1.2em; padding: 4em 1em; } .heading { text-align: center; } h1 { font-size: 2.5em; } h2 { font-size: 2.0em; } h3 { font-size: 1.5em; margin-top: 1em; padding-top: 1...
Add mole and hole images
* { box-sizing: border-box; } .container { max-width: 760px; width: 100%; } .start { } .reset { } .board { width: 100%; } .cell { float: left; border: 6px solid #222; position: relative; overflow: hidden; } .cell::after { /* http://stackoverflow.com/questions/19068070/how-to-st...
* { box-sizing: border-box; } .container { max-width: 760px; width: 100%; } .start { } .reset { } .board { width: 100%; } .cell { float: left; position: relative; overflow: hidden; background-image:url('hole-back.png'); background-repeat:no-repeat; background-size:contain; ...
Make pin drop-shadow work in Firefox.
.githubpinboard-circle { border-radius: 1000px; width: 50px; height: 50px; -webkit-box-shadow: 0px 0px 5px #111; margin: 10px; float: left; }
.githubpinboard-circle { border-radius: 1000px; width: 50px; height: 50px; -webkit-box-shadow: 0px 0px 5px #111; -moz-box-shadow: 0px 0px 5px #111; box-shadow: 0px 0px 5px #111; margin: 10px; float: left; }
Hide overflow on bar chart
body { font-family: 'Open Sans', sans-serif; background-color: #eff3f8; padding-top: 70px; } .axis path { fill: none; stroke: black; shape-rendering: crispEdges; } .axis text { font-family: sans-serif; font-size: 11px; } .graph { width: 100%; height: 80px; padding: 0.5em 0; }
body { font-family: 'Open Sans', sans-serif; background-color: #eff3f8; padding-top: 70px; } .axis path { fill: none; stroke: black; shape-rendering: crispEdges; } .axis text { font-family: sans-serif; font-size: 11px; } .graph { overflow: hidden; width: 100%; height: 80px; padding: 0.5em 0; }
Define default dimensions for button
.echo-sdk-ui .btn .echo-label { float: left; } .echo-sdk-ui .btn .echo-icon { height: 16px; width: 16px; float: left; margin-right: 2px; margin-top: 2px; }
.echo-sdk-ui .btn .echo-label { float: left; width: auto; height: auto; } .echo-sdk-ui .btn .echo-icon { height: 16px; width: 16px; float: left; margin-right: 2px; margin-top: 2px; }
Fix the height of the previous/next items.
.layout_top { width: 100%; margin:0; padding:0; } .layout_left { position: fixed; top: 20px; bottom: 0px; left: 0px; width:320px; margin:0; padding:0; background-color:black; overflow-y: auto; } .layout_right { position: fixed; top: 20px; bottom: 0px; left: 320px; right: 0px; overflow-y: auto; ...
.layout_top { width: 100%; margin:0; padding:0; } .layout_left { position: fixed; top: 20px; bottom: 0px; left: 0px; width:320px; margin:0; padding:0; background-color:black; overflow-y: auto; } .layout_right { position: fixed; top: 20px; bottom: 0px; left: 320px; right: 0px; overflow-y: auto; ...
Modify attention directive block color
@import url('sphinxdoc.css'); .section h1 { font-size: 1.7em; } .section h2 { font-size: 1.4em; margin-top: 1.0em; margin-bottom: 0.1em; padding-top: 0.2em; padding-bottom: 0.3em; padding-left: 0.3em; border-bottom: thin solid gray; border-left: thick solid gray; } .section h3 { font-size: 1.3em;...
@import url('sphinxdoc.css'); .section h1 { font-size: 1.7em; } .section h2 { font-size: 1.4em; margin-top: 1.0em; margin-bottom: 0.1em; padding-top: 0.2em; padding-bottom: 0.3em; padding-left: 0.3em; border-bottom: thin solid gray; border-left: thick solid gray; } .section h3 { font-size: 1.3em;...
Add overflow: hidden; to grid item css
.grid { background-color: #efefef; transform-origin: top center; transition: transform 0.5s; } .grid-item { background-color: #ffffff; -webkit-transition: width 0.25s, height 0.25s, transform 0.5s; -moz-transition: width 0.25s, height 0.25s, transform 0.5s; -o-transition: width 0.25s, height 0.25s, tr...
.grid { background-color: #efefef; transform-origin: top center; transition: transform 0.5s; } .grid-item { background-color: #ffffff; -webkit-transition: width 0.25s, height 0.25s, transform 0.5s; -moz-transition: width 0.25s, height 0.25s, transform 0.5s; -o-transition: width 0.25s, height 0.25s, tr...
Fix scrollbar layout on Windows
.sidebar .card { margin: 0 0 10px; flex-shrink: 0; } .sidebar .card:first-child { margin: 10px 0; } .sidebar .card .form-control { border: 0; } .documents-card { overflow: hidden; flex-grow: 1; flex-shrink: 1; } .documents-card .documents { height: 100%; overflow: visible scroll; }...
.sidebar .card { margin: 0 0 10px; flex-shrink: 0; } .sidebar .card:first-child { margin: 10px 0; } .sidebar .card .form-control { border: 0; } .documents-card { overflow: hidden; flex-grow: 1; flex-shrink: 1; } .documents-card .documents { height: 100%; overflow: hidden scroll; } ...
Fix counter colors and shadow.
@font-face { font-family: 'Digital7'; src: url('../assets/digital-7mono.ttf'); } .counter { font-family: 'Digital7'; font-size: 36pt; /* The Digital7 font doesn't seem to have the right * metadata or whatever so we need to set the div * height explicitely or it will be to short. */ height: 42px; }...
@font-face { font-family: 'Digital7'; src: url('../assets/digital-7mono.ttf'); } body { background-color: hsla(0, 0%, 19%, 1.0); } .counter { font-family: 'Digital7'; font-size: 60pt; /* The Digital7 font doesn't seem to have the right * metadata or whatever so we need to set the div * height explic...
Fix removing bullets on li elements
/* Copyright 2015 Francis Meyvis*/ /** Part of the Grav SectionWidget plugin*/ .dropdown { position: relative; display: inline-block; } .dropdown li { float: left; /* have topmost li items next to each other*/ } .dropdown .dropdown-menu { position: absolute; top: 100%; display: ...
/* Copyright 2015 Francis Meyvis*/ /** Part of the Grav SectionWidget plugin*/ .dropdown { position: relative; display: inline-block; list-style: none; /* Remove list bullets */ } .dropdown li { float: left; /* have topmost li items next to each other*/ } .dropdown .dropdown-men...
Add CSS for the WiW logo on boerse.willkommeninwoellstein.de
.navbar-right:last-child { margin-right: 0px; } .navbar li > a > span { margin-right: 0.2778em; }
.navbar-right:last-child { margin-right: 0px; } .navbar li > a > span { margin-right: 0.2778em; } #logo-boerse { float: right; max-width: 100%; }
Remove css workaround for rustdoc bug that was fixed
.docblock pre.rust { background: #eeeeff; } pre.trait, pre.macro, pre.fn, pre.struct, pre.enum, pre.typedef { background: #fcfefc; } /* Small “example” label for doc examples */ .docblock pre.rust::before { content: "example"; float: right; font-style: italic; font-size: 0.8em; margin-top: -10px; ...
.docblock pre.rust { background: #eeeeff; } pre.trait, pre.macro, pre.fn, pre.struct, pre.enum, pre.typedef { background: #fcfefc; } /* Small “example” label for doc examples */ .docblock pre.rust::before { content: "example"; float: right; font-style: italic; font-size: 0.8em; margin-top: -10px; ...
Clear starter css code for welcome page
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } code { font-family: source-code-pro, Menlo, Mona...
Set global input and basic button
body { background-color: #eee; } .wrap { position: relative; min-width: 950px; } .content { width: 800px; margin: 10px auto; }
/***** Global Component *****/ body { background-color: #eee; } :global .input { padding: 0 8px; border-style: solid; border-color: #bfbfbf; border-width: 1px 1px 2px 1px; font-size: 14px; color: #222; &:focus { border-color: #2b99d6; } &.input--small { line-h...
Set min-width as 320px rather than 350px
body { color: white; } .header { margin-top: 50px; } .header-img { margin: 150, 1500, 150, 1500; width: 400px; height: 250px; border-radius: 4px; } .demo-layout-transparent { background: url('../img/background.jpg') center / cover; } .demo-layout-transparent .mdl-layout__header, .demo-layout-transparent .mdl...
body { color: white; } .header { margin-top: 50px; } .header-img { margin: 150, 1500, 150, 1500; width: 400px; height: 250px; border-radius: 4px; } .demo-layout-transparent { background: url('../img/background.jpg') center / cover; } .demo-layout-transparent .mdl-layout__header, .demo-layout-transparent .mdl-la...
Revert "Revert "Revert "Revert "Revert "Revert "Revert "Remove selected canvas element effect CSS."""""""
.selected-canvas-element { /* TODO: Add a proper selected canvas element effect. */ }
.selected-canvas-element { box-shadow: 0 0 16px black; background: rgba(255, 255, 255, 0.5); }
Remove blue from a hrefs
#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; } #section { font-family: Roboto width:350px; float:left; padding:10px; } #footer { font-family: Roboto...
#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; } #section { font-family: Roboto width:350px; float:left; padding:10px; } #footer { font-family: Roboto...
Fix padding & add hover effect
.ss-tiled-gridfield tbody { display: block; overflow: hidden; } .ss-tiled-gridfield tr.sortable-header { display: none; } .ss-tiled-gridfield tbody.ss-gridfield-items tr { display: block; float: left; position: relative; min-width: 60px; min-height: 60px; } .ss-tiled-gridfield tbody.ss-gridfield-items td.grid-...
.ss-tiled-gridfield tbody { display: block; overflow: hidden; } .ss-tiled-gridfield tr.sortable-header { display: none; } .ss-tiled-gridfield tbody.ss-gridfield-items tr { display: block; float: left; position: relative; min-width: 60px; min-height: 60px; } .ss-tiled-gridfield tbody.ss-gridfield-items td { ...
Add styling for the icon
@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(--...
@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; svg { transform: translateY(-1px); } * + svg, svg + * { margi...
Stop menu collapsing on mobile
.help-block { font-size: 10px; } div.outer { position: fixed; top: 41px; left: 0; right: 0; bottom: 0; overflow-x: hidden; overflow-y: scroll; padding: 0; } .rbox { font-size: 10px; } .selectize-dropdown, .selectize-input, .selectize-input input, option { font-size: 11px; } select::-ms-expan...
.help-block { font-size: 10px; } .navbar-nav>li { float: left; } div.outer { position: fixed; top: 41px; left: 0; right: 0; bottom: 0; overflow-x: hidden; overflow-y: scroll; padding: 0; } .rbox { font-size: 10px; } .selectize-dropdown, .selectize-input, .selectize-input input, option { ...
Use semi transparent black to support color themes
ul, li { display: block; margin: 0; padding: 0; } li { list-style-type: none; } .group-title, .tab { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .group.active .group-title, .tab.active { font-weight: bold; } .group:hover .group-title { paddin...
ul, li { display: block; margin: 0; padding: 0; } li { list-style-type: none; } .group-title, .tab { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .group.active .group-title, .tab.active { font-weight: bold; } .group:hover .group-title { paddin...
Set background color as an option instead of by default
@import '../colors.css'; @import '../variables.css'; @import './config.css'; .overlay { background-color: var(--overlay-color); bottom: 0; height: 100vh; left: 0; opacity: 0; pointer-events: none; position: fixed; top: 0; transition: opacity var(--animation-duration) var(--animation-curve-default); ...
@import '../colors.css'; @import '../variables.css'; @import './config.css'; .overlay { bottom: 0; height: 100vh; left: 0; opacity: 0; pointer-events: none; position: fixed; top: 0; transition: opacity var(--animation-duration) var(--animation-curve-default); width: 100vw; &.active { opacity: ...
Remove odd indent beside docstring.
body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } .docstring { margin-bottom: 10px; } .signature { font-size: 18px; border: none; color: #333; } .signature.highlight{ background-color: transparent; } .method { padding: 5px 10px; background-color: #eee; bord...
body { padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ } .docstring { margin-bottom: 10px; } .signature { font-size: 18px; border: none; color: #333; } .signature.highlight{ background-color: transparent; } .method { padding: 5px 10px; background-color: #eee; bord...
Add box sizing to all elements
app-root, md-sidenav-container, #main-content { margin: 0; width: 100%; height: 100%; } md-sidenav { width: 250px; } #main-content { min-height: 100%; padding: 10px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-d...
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } app-root, md-sidenav-container, #main-content { margin: 0; width: 100%; height: 100%; } md-sidenav { width: 250px; } #main-content { min-height: 100%; padding: 10px; display: -webkit-box; display: -ms-flexb...
Fix hover effect on rows
.filesystem { background-color: rgba(20, 20, 20, 0.8); text-align: center; padding: 10px 20px; max-width: 800px; } .filesystem tr:hover td, .filesystem tr:active td { -webkit-transition: color .3s ease-in-out; -moz-transition: color .3s ease-in-out; -o-transition: color .3s ease-in-out; ...
.filesystem { background-color: rgba(20, 20, 20, 0.8); text-align: center; padding: 10px; max-width: 800px; } .filesystem tr:hover td:not(.filename) span, .filesystem tr:active td:not(.filename) span { font-weight: 600; } .filesystem th { padding: 3px 5px; font-size: 14px; } .filesystem t...
Use text selection cursor for legend text
circle, text { cursor: pointer; } circle { stroke: #000; stroke-width: 1px; } footer { clear: both; } line { stroke: #ddd; stroke-width: 2px; } text { font-family: Courier New, Courier, monospace; font-weight: bold; } .group-by-container { position: absolute; bottom: 50px; left: 5px; } .highlight ...
circle, .circle-text { cursor: pointer; } circle { stroke: #000; stroke-width: 1px; } footer { clear: both; } line { stroke: #ddd; stroke-width: 2px; } text { font-family: Courier New, Courier, monospace; font-weight: bold; } .group-by-container { position: absolute; bottom: 50px; left: 5px; } .hi...
Change default font color to white
* { background-color: gray; } .App { text-align: center; background-color: gray; } .App-header { background-color: gray; height: 150px; padding: 10px; color: white; } .App-header h1 { font-size: 5em; font-family: Arial; font-weight: 100; } .App-intro { font-size: large; }
* { background-color: gray; } .App { text-align: center; background-color: gray; color: white; } .App-header { background-color: gray; height: 150px; padding: 10px; color: white; } .App-header h1 { font-size: 5em; font-family: Arial; font-weight: 100; } .App-intro { font-size: large; }
Update thumb grid image shadow
ol.thumb-grid { padding: 20px; text-align: center; } ol.thumb-grid li { display: inline-block; background: #fff; margin: 20px 20px; width: 170px; height: 170px; overflow: hidden; border-radius: 5px; box-shadow: 0px 0px 5px #999; } img.thumb { height: 170px; width: 170px; } ol.thumb-grid li:ho...
ol.thumb-grid { padding: 20px; text-align: center; } ol.thumb-grid li { display: inline-block; background: #fff; margin: 20px 20px; width: 170px; height: 170px; overflow: hidden; border-radius: 5px; border: 1px solid #999; box-shadow: 0px 0px 5px #999; } img.thumb { height: 170px; width: 170...
Fix for superfish menus going behind stuff, and remove random scrollbars from ui dialogs.
/* $Id$ */ .box-data ol { margin-left: 0; } .box-data ul { margin-left: 1em; } .box-data .cssmenu_vert ul { margin-left: 0; } #col2 .cssmenu_vert { margin-left: 0; } .wikiactions .icons, .wikiactions form {/*display: inline*/} .codelisting { padding-bottom: 1.8em; } #editpageform { width: 520px; } #heade...
/* $Id$ */ .box-data ol { margin-left: 0; } .box-data ul { margin-left: 1em; } .box-data .cssmenu_vert ul { margin-left: 0; } #col2 .cssmenu_vert { margin-left: 0; } .wikiactions .icons, .wikiactions form {/*display: inline*/} .codelisting { padding-bottom: 1.8em; } #editpageform { width: 520px; } #heade...
Revert "Use just "M+ 1p" as the system font reference"
@font-face { font-family: "M+ 1p"; font-weight: 400; src: local("M+ 1p"), url(mplus-1p-regular.ttf); } @font-face { font-family: "M+ 1p"; font-weight: 700; src: local("M+ 1p"), url(mplus-1p-bold.ttf); }
@font-face { font-family: "M+ 1p"; font-weight: 400; src: local("M+ 1p regular"), url(mplus-1p-regular.ttf); } @font-face { font-family: "M+ 1p"; font-weight: 700; src: local("M+ 1p bold"), url(mplus-1p-bold.ttf); }
Move top block to blog stylesheet
#top { display:block; display: relative; background-color:; top: 170px; } #second_from_top { display: block; position: relative; }
#second_from_top { display: block; position: relative; left: 100px; top: 500px; }
Fix footer height in mobile view
.navbar-default .navbar-brand { font-size: 26px; color: #000 !important; } .navbar-header span.text-muted { color: #aeaeae; margin-left: 6px; } .container { max-width: 730px; } .footer { position: absolute; bottom: 0; width: 100%; height: 50px; background-color: #f5f5f5; p...
.navbar-default .navbar-brand { font-size: 26px; color: #000 !important; } .navbar-header span.text-muted { color: #aeaeae; margin-left: 6px; } .container { max-width: 730px; } .footer { position: absolute; bottom: 0; width: 100%; background-color: #f5f5f5; padding-top: 15px; ...
Change global font to Century Gothic
.blurb div { border-style: groove; background-color: yellow; overflow: scroll; } .vertex.tac text { text-anchor: end; } .vertex.asoiaf text { text-anchor: start; } .vertex.selected text { font-weight: bold; } line.edge { stroke: LightGray; stroke-width: 2px; pointer-events: none; } line.edge.active { st...
* { font-family: 'Century Gothic', CenturyGothic, AppleGothic, sans-serif; } .blurb div { border-style: groove; background-color: yellow; overflow: scroll; } .vertex.tac text { text-anchor: end; } .vertex.asoiaf text { text-anchor: start; } .vertex.selected text { font-weight: bold; } line.edge { strok...
Set white background for annotations.
.biolinks_caption { font-size: small; text-align: center; color: orange; padding: 3px; margin: 10px; border: solid 1px black; } .biolinks_distribution { background-color: white; }
.biolinks_caption { font-size: small; text-align: center; color: orange; padding: 3px; margin: 10px; border: solid 1px black; } .biolinks_vis_distribution { background-color: white; } .biolinks_vis_annotations { background-color: white; }
Add min-width property and magic class clearfix
@charset "utf-8"; body > .ui.container { margin-top: 3em; } .hide { display: none; } #contrib { margin: 0 auto; } #cal { margin: 3em auto 0 auto; } #cal .cal-heatmap-container { margin: 0 auto; } #contrib div.summary > div { float: left; width: 19.99999999%; text-align: center; ...
@charset "utf-8"; #body { min-width: 800px; } body > .ui.container { margin-top: 3em; } .hide { display: none; } .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } #contrib { margin: 0 auto; } #cal { margin: 3em auto 0 auto; } #cal ...
Add styling for warnings sidebar.
/* HTML Styles ------------------------------------------------------------- */ .collection-item:hover { background-color: #ddd; } .plot { width: 100%; height: 320px; } .collection .collection-item.active { background-color: #1976D2; /* blue darken-2 */ } #performance { height: 180px; } #portfol...
/* HTML Styles ------------------------------------------------------------- */ .collection-item:hover { background-color: #ddd; } .plot { width: 100%; height: 320px; } .collection .collection-item.active { background-color: #1976D2; /* blue darken-2 */ } #performance { height: 180px; } #portfol...
Change bg color of button
nav.top-bar { background: #86A02D; } nav.top-bar h1 { background: #86A02D; } nav.top-bar h1 a{ font-size: 1.5em; } .top-bar-section li a:not(.button) { background: #86A02D !important; } .top-bar-section li a:hover { background: #4d591a !important; } ul { list-style-type: none; } .container {...
nav.top-bar { background: #86A02D; } nav.top-bar h1 { background: #86A02D; } nav.top-bar h1 a{ font-size: 1.5em; } .top-bar-section li a:not(.button) { background: #86A02D !important; } .top-bar-section li a:hover { background: #4d591a !important; } ul { list-style-type: none; } .container {...
Fix rendering of logo on small resolutions
@import url(http://fonts.googleapis.com/css?family=Titillium+Web); table { width:100%; } th:nth-child(1), td:nth-child(1) { width: 35%; word-break: break-all; } td:nth-child(2), td:nth-child(2) { width: 20%; word-break: break-word; } td, th { padding: 6px 13px; border: 1px solid #ddd; } tr:nth-child(2...
@import url(http://fonts.googleapis.com/css?family=Titillium+Web); table { width:100%; } th:nth-child(1), td:nth-child(1) { width: 35%; word-break: break-all; } td:nth-child(2), td:nth-child(2) { width: 20%; word-break: break-word; } td, th { padding: 6px 13px; border: 1px solid #ddd; } tr:nth-child(2...
Add mktg-narrow and TW CSS
/* Bootstrap Marketing Narrow * bootstrap-mktg-narrow.css from commit d17b545 in github.com/teslaworks/teslaworks.net */ body { padding-top: 20px; padding-bottom: 40px; } /* Custom container */ .container-narrow { margin: 0 auto; max-width: 700px; } .container-narrow > hr { margin: 30px 0; } /* ...
Change color for processing tab.
.progress-wrapper { width: calc(100%); display: inline-block; text-align: center; } /* NOTE: Spacing between progress bars */ .progress-wrapper > * { margin: 0px 20px; } .progress { width: calc(20%); margin: auto; display: inline-block; } .progress-bar-displaying { color: black;...
.progress-wrapper { width: calc(100%); display: inline-block; text-align: center; } /* NOTE: Spacing between progress bars */ .progress-wrapper > * { margin: 0px 20px; } .progress { width: calc(20%); margin: auto; display: inline-block; } .progress-bar-displaying { color: black;...
Add padding to search box
body { margin: 0; } .icon-menu-link { /* Default styles has Icon menu offseting title */ min-width: 0 !important; } section[role="region"] > header:first-child h1 { margin-right: 1.5em; } section[data-type="list"] { position: relative; top: 0; right: 0px; bottom: 0px; left: 0px; ...
body { margin: 0; } .icon-menu-link { /* Default styles has Icon menu offseting title */ min-width: 0 !important; } section[role="region"] > header:first-child h1 { margin-right: 1.5em; } section[data-type="list"] { position: relative; top: 0; right: 0px; bottom: 0px; left: 0px; ...
Adjust grid logic in CSS
.vasfilter { display:grid; grid-template-columns: auto auto auto; } @media only screen and (max-width:1200px) { .vasfilter { grid-template-columns: auto auto; } } @media only screen and (max-width:700px) { .vasfilter { grid-template-columns: auto; } } .pv\.75r { padding-top: ...
.vasfilter { display:grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); } .pv\.75r { padding-top: 0.75rem; padding-bottom: 0.75rem; } .vas__item .dev-collapsible__toggler { padding: 0; } .vas__item--hidden { display: none; visibility: hidden; } .vas__codes { flex: 1 1...
Fix display issues of download status indicator
ul.igcs-notice { padding: 7px; background: white; font-size: 24px; margin-top: 5px; min-height: 24px; } ul.igcs-notice:empty { content: "Waiting for download..."; color: grey; } ul.igcs-notice svg { display: inline; } ul.igcs-notice > li { padding: 6px; display: inline; background: white; } ul.igcs-notic...
ul.igcs-notice { /*padding: 7px; background: white;*/ font-size: 20px; /*margin-top: 5px;*/ min-height: 24px; } ul.igcs-notice:empty { content: "Waiting for download..."; color: grey; } ul.igcs-notice svg { display: inline; } ul.igcs-notice > li { padding: 6px; display: inline-block; background: white; h...
Refactor CSS class for no-sidebar
body { -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none; color: #212121; cursor: default; font-family: Helvetica, Arial, sans-serif; margin: 0; overflow: hidden; } .unselectable { -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; } .sidebar { border...
body { -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none; color: #212121; cursor: default; font-family: Helvetica, Arial, sans-serif; margin: 0; overflow: hidden; } .unselectable { -moz-user-select: none; -ms-user-select: none; -webkit-user-select: none; } .sidebar { border...
Add bottom margin for news entry image (better look on mobile screens)
.news-agpl-footer > hr { margin-bottom:0;margin-top:0;width:33% } .news-agpl-footer > a { font-size:xx-small;color:#ccc } .news-module a.btn.aspNetDisabled { color:inherit; cursor:inherit; text-decoration:inherit; } .news-module .news-action-btns a.btn.disabled { pointer-events:auto; } .news-module ...
.news-agpl-footer > hr { margin-bottom:0;margin-top:0;width:33% } .news-agpl-footer > a { font-size:xx-small;color:#ccc } .news-module a.btn.aspNetDisabled { color:inherit; cursor:inherit; text-decoration:inherit; } .news-module .news-action-btns a.btn.disabled { pointer-events:auto; } .news-module ...
Fix min-width to give browser action popup a usable width
* { box-sizing: border-box; margin: 0; } body { padding: 10px; } fieldset { border: 1px solid; display: flex; flex-direction: column; padding-top: 0; width: 100%; } form > fieldset > *:nth-child(even) { margin-top: 20px; } fieldset fieldset { border-color: #DDDDDD; } fieldset fie...
* { box-sizing: border-box; margin: 0; } body { min-width: 400px; padding: 10px; } fieldset { border: 1px solid; display: flex; flex-direction: column; padding-top: 0; width: 100%; } form > fieldset > *:nth-child(even) { margin-top: 20px; } fieldset fieldset { border-color: #...
Add styling to unordered list
/* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; border-radius: 10px; } .main-content { width: 300px; border: solid #ccc 1px; border-radius: 10px; margin: 10px; } p ...
/* Custom style sheet */ .main { width: 320px; border: solid #ccc 1px; border-radius: 10px; box-shadow: 2px 4px 2px rgba(163,163,163, 0.7); } img { display: block; margin: auto; border-radius: 10px; } .main-content { width: 300px; border: solid #ccc 1px; border-radius: 10px; margin: 10px; } p ...
Remove height value for consistent ratio
@import '~app/styles/variables.css'; .logo { max-height: 500px; max-width: 500px; height: 50%; width: auto; } .logoSmall { max-height: 100px; max-width: 100px; border-radius: 100%; } .description { font-size: 18px; font-style: italic; } .listItem { margin: 8px; padding-left: 4px; background:...
@import '~app/styles/variables.css'; .logo { max-height: 500px; max-width: 500px; } .logoSmall { max-height: 100px; max-width: 100px; border-radius: 100%; } .description { font-size: 18px; font-style: italic; } .listItem { margin: 8px; padding-left: 4px; background: var(--color-white); } .listI...
Add in the xs offset 2 style as an override
body { margin-top: 70px; } .cover-art, .artist-image { max-height: 16em; text-align: center; } /* line 55, ../sass/app.scss */ .cover-art img, .artist-image img { max-height: inherit; } /* line 61, ../sass/app.scss */ .release-group-tile .cover-art, .release-tile .cover-art { height: 8em; max-height: 8em;...
body { margin-top: 70px; } .cover-art, .artist-image { max-height: 16em; text-align: center; } /* line 55, ../sass/app.scss */ .cover-art img, .artist-image img { max-height: inherit; } /* line 61, ../sass/app.scss */ .release-group-tile .cover-art, .release-tile .cover-art { height: 8em; max-height: 8em;...
Tweak some CSS for extension infobars to have the correct text size and margin.
/** * The following style rules affect Extension Infobars on the Mac. */ body { background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), to(#CFCFCF)); font-family: 'Lucida Grande', Helvetica, sans-serif; font-size: 11px; height: 36px; /* Infobars are limited to 36-72px */ ma...
/** * The following style rules affect Extension Infobars on the Mac. */ body { background: -webkit-gradient(linear, left top, left bottom, from(#EBEBEB), to(#CFCFCF)); font-family: 'Lucida Grande', Helvetica, sans-serif; font-size: 12px; height: 36px; /* Infobars are limited to 36-72px */ ma...
Fix favicon size in password manager
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .contentPane { margin: 9px 8px...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .contentPane { margin: 9px 8px...
Align error text in center
@import url("./style_template.css"); body { background: url(/images/error_bg.jpg) no-repeat center center fixed; } div#box { width: 500px; background: rgba(0, 0, 0, 0.7); padding: 16px; box-sizing: border-box; border-radius: 20px; margin-left: auto; margin-right: auto; } p { color: #a50000; font-size: 72px...
@import url("./style_template.css"); body { background: url(/images/error_bg.jpg) no-repeat center center fixed; } div#box { width: 500px; background: rgba(0, 0, 0, 0.7); padding: 16px; box-sizing: border-box; border-radius: 20px; margin-left: auto; margin-right: auto; } p { color: #a50000; font-size: 72px...
Change second third block blog index css
#second_from_top { display: block; position: relative; top: 850px; left: 100px; } #third_from_top { display: block; position: relative; top: 900px; left: 100px; }
#second_from_top { display: block; position: relative; top: 830px; left: 100px; } #third_from_top { display: block; position: relative; top: 860px; left: 100px; }
Remove 'restart now' link for uninstalled scripts.
#category-scripts > .category-icon, .addon[type=user-script] .icon, #detail-view[type=user-script] #detail-icon { list-style-image: url(chrome://greasemonkey/skin/icon32.png); } .addon.addon-view[type="user-script"] .details.button-link { display: none !important; } #greasemonkey-sort-bar { display: none; } pa...
#category-scripts > .category-icon, .addon[type=user-script] .icon, #detail-view[type=user-script] #detail-icon { list-style-image: url(chrome://greasemonkey/skin/icon32.png); } .addon.addon-view[type="user-script"] .details.button-link { display: none !important; } #greasemonkey-sort-bar { display: none; } pa...
Make it a pointer over links
.status-ok { color: green; cursor: default; } .status-nok { color: red; cursor: default; } .status-unknown { color: gray; cursor: default; }
.status-ok { color: green; } .status-nok { color: red; } .status-unknown { color: gray; } .status-ok, .status-unknown, .status-nok { cursor: default; } a .status-ok, a .status-unknown, a.status-nok { cursor: pointer; }
Remove rounded corners on port select (consider trying to re-add arrows though)
@font-face { font-family: 'Bangers'; src: url(../frameworks/Bangers.ttf); } body { font-family: 'Bangers', cursive; padding-top: 3.5em; padding-bottom: 3.5em; } canvas { vertical-align: middle; } #start-game { border: 0; background-color: green; color: #fff; } .pulse { -webkit-animation: pulsate...
@font-face { font-family: 'Bangers'; src: url(../frameworks/Bangers.ttf); } body { font-family: 'Bangers', cursive; padding-top: 3.5em; padding-bottom: 3.5em; } canvas { vertical-align: middle; } #start-game { border: 0; background-color: green; color: #fff; } .pulse { -webkit-animation: pulsate...
Add more color and fix links
* { font-family: arial; } header { text-align: center; border: 2px solid gray; } footer { vertical-align: bottom; text-align: center; border: 2px solid gray; } section nav ul li { position: relative; display: inline-block; text-align: center; width: 10%; margin-left: 100px; } img { height: a...
* { color: #404040; font-family: arial; background-color: #75a3a3; } header { text-align: center; border: 2px solid #993333; } footer { vertical-align: bottom; text-align: center; border: 2px solid #993333; } section nav ul li { position: relative; display: inline-block; text-align: center; w...
Set max width for scrolled navigation tooltips
:global(.navigationTooltip) { opacity: 1 !important; border-bottom: 3px solid #e10028; box-shadow: 0 0 0.3125rem rgba(0,0,0,.2); } .tooltipHeadline { margin: 5px 0 0px; color: #e10028; } @media (max-width: 780px) { :global(.navigationTooltip) { display: none !important; } }
:global(.navigationTooltip) { opacity: 1 !important; border-bottom: 3px solid #e10028; box-shadow: 0 0 0.3125rem rgba(0,0,0,.2); width: 200px; } .tooltipHeadline { margin: 5px 0 0px; color: #e10028; } @media (max-width: 780px) { :global(.navigationTooltip) { display: none !important; } }
Use on-background color for mobile chapter descriptions
.chapterLink { composes: typography-defaultNavigationChapterLink from global; line-height: 42px; color: var(--theme-widget-primary-color); text-decoration: none; position: relative; display: block; font-family: inherit; font-weight: 700; font-size: 1rem; height: 42px; white-space: nowrap; paddin...
.chapterLink { composes: typography-defaultNavigationChapterLink from global; line-height: 42px; color: var(--theme-widget-primary-color); text-decoration: none; position: relative; display: block; font-family: inherit; font-weight: 700; font-size: 1rem; height: 42px; white-space: nowrap; paddin...
Add thumb-button, comment-area-separator-question, comment-area-separator-answer, and question-detail custom CSS classes
.site-header { background-image: url("/images/background.jpg"); }
.site-header { background-image: url("/images/background.jpg"); } .thumb-button { display: inline-block; } .comment-area-separator-question { margin-top: 12px; border-bottom: 2px solid #337ab7; } .comment-area-separator-answer { margin-top: 12px; border-bottom: 2px solid #e3e3e3; } .question-detail { ...
Add more padding to mobile forms
@value loginBodyColor #F3F7F8; @value btnPrimaryColor #1C9DDB; @value fieldMaxWidth 255px; @value fieldMinWidth 175px; @value fieldMargin 16px; @value titleColor #083144; @value alTitleColor #6B8792; @value disabledComponentColor #EEEEEE; @value regionCodeWidth 98px; @value phoneNumberWidth 108px; @media (max-width...
@value loginBodyColor #F3F7F8; @value btnPrimaryColor #1C9DDB; @value fieldMaxWidth 255px; @value fieldMinWidth 175px; @value fieldMargin 16px; @value titleColor #083144; @value alTitleColor #6B8792; @value disabledComponentColor #EEEEEE; @value regionCodeWidth 98px; @value phoneNumberWidth 108px; @media (max-width...
Change top block week stylesheet
#top { display:block; display: relative; background-color:; top: 120px; } #second_from_top { display: block; position: relative; top: 300px; }
#top { display:block; display: relative; background-color:; top: 170px; } #second_from_top { display: block; position: relative; top: 300px; }
Adjust GitHub badge offset top
.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 { width: 228px; } #sidebar.affix { position: fixed; top: 70px; } .github-badge { position: fixe...
.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 { width: 228px; } #sidebar.affix { position: fixed; top: 70px; } .github-badge { position: fixe...
Remove yaml background image on homepage
#site-head { background-color: #EEE; color: #525252; } #blog-logo img { max-height: 1000px } a.btn { background-color: #50585D; } div.post-holder { background: #EFEFEF; color: #0F1E1E; } div.post-holder.entryTwo { background: #EFEFEF; background-image: url("/img/yaml.png"); background-repeat: no-rep...
#site-head { background-color: #EEE; color: #525252; } #blog-logo img { max-height: 1000px } a.btn { background-color: #50585D; } div.post-holder { background: #EFEFEF; color: #0F1E1E; } div.post-holder.entryTwo { background: #EFEFEF; color: #0F1E1E; } div.post-holder.entryThree { background: #EFEF...
Add color to Asian events
p { max-width: 40em; line-height: 1.50; } table, tr, td, th { border: solid 1px #ddd; border-collapse: collapse; } td, th { padding: 5px; } .vis-item.america { background-color: #759bc6; border-color: #4b637f; } .vis-item.brazil { background-color: #5faf89; border-color: #3c6d56;...
p { max-width: 40em; line-height: 1.50; } table, tr, td, th { border: solid 1px #ddd; border-collapse: collapse; } td, th { padding: 5px; } .vis-item.america { background-color: #759bc6; border-color: #4b637f; } .vis-item.asia { background-color: #c46e6a; border-color: #91534f; }...
Add a little more margin on jumbotron.
html { position: relative; min-height: 100%; } body { padding-top: 80px; padding-bottom: 60px; } p { font-size: 120%; font-family: 'Arimo', sans-serif; } h1 { font-family: 'Arimo', sans-serif !important; } img { width: 100%; height: auto; box-shadow: 2px 2px 10px #aaa; } iframe { box-shadow: ...
html { position: relative; min-height: 100%; } body { padding-top: 80px; padding-bottom: 60px; } p { font-size: 120%; font-family: 'Arimo', sans-serif; } h1 { font-family: 'Arimo', sans-serif !important; } img { width: 100%; height: auto; box-shadow: 2px 2px 10px #aaa; } iframe { box-shadow: ...
Add c1 id to general stylesheet
#second_from_top { display: block; position: relative; }
#c1 { display:block; position: absolute; top: 210px; } #second_from_top { display: block; position: relative; }
Adjust margin and padding in CSS
.kw { color: #800080; } .nu { color: #dda500; } .sym { color: #0033aa; } a span.sym { font-weight: bold; } .str { color: #dd2200; } .ty { color: #347C17; } .binding { background-color: #ddd; } pre a { text-decoration: none; } header { background-color: #646D7E; border-bottom: 1px...
.kw { color: #800080; } .nu { color: #dda500; } .sym { color: #0033aa; } a span.sym { font-weight: bold; } .str { color: #dd2200; } .ty { color: #347C17; } .binding { background-color: #ddd; } pre a { text-decoration: none; } header { background-color: #646D7E; border-bottom: 1px...
Use SVG logo on docs top bar
@import url("bootstrap-astropy.css"); div.topbar a.brand { background: transparent url("photutils_logo-32x32.png") no-repeat 8px 3px; } #logotext1 { color: #e8f2fc; }
@import url("bootstrap-astropy.css"); div.topbar a.brand { background: transparent url("photutils_logo-32x32.png") no-repeat 8px 3px; background-image: url("photutils_logo.svg"), none; background-size: 32px 32px; } #logotext1 { color: #e8f2fc; }
Add box and text shadows to icons and text, center text and icons, and add borders to footer.
header { background-color: #281892; border-bottom: 15px solid #0d0254; } footer { background-color: #5854d6; } .header-content { padding-top: 5%; } .selfie { height: auto; width: 25%; display: block; margin: auto; border-radius: 20%; border: 2px solid black; } .header-text { color: white; text-shadow: 3...
header { background-color: #281892; border-bottom: 10px solid #0d0254; } footer { border-top: 10px solid #0d0254; border-bottom: 10px solid #0d0254; background-color: #5854d6; } .footer-text { text-align: center; color: white; text-shadow: 3px 1px 2px rgba(0, 0, 0, 1); } .footer-content { padding: 2% 0; } ...
Fix opacity of submit button for password in authentication page
form fieldset { display: flex !important; flex-direction: column; } #password { margin-right: 0 !important; border-top-right-radius: 0; border-bottom-right-radius: 0; height: 45px; box-sizing: border-box; flex: 1 1 auto; width: 100% !important; min-width: 0; /* FF hack for to override default value */ } inp...
form fieldset { display: flex !important; flex-direction: column; } #password { margin-right: 0 !important; height: 45px; box-sizing: border-box; flex: 1 1 auto; width: 100% !important; min-width: 0; /* FF hack for to override default value */ /* The padding needs to be set here instead of for "input[type="p...
Increase font-size of header element
@import url(http://fonts.googleapis.com/css?family=Inconsolata); h1 { text-align: center; font-family: 'Inconsolata', ; }
@import url(http://fonts.googleapis.com/css?family=Inconsolata); h1 { text-align: center; font-family: 'Inconsolata', ; font-size: 72px; }
Set the font size to large
* { margin: 0; padding: 0; } div.container { width: 100%; } header, footer { padding: 1em; color: white; background-color: black; clear: left; text-align: center; } footer { position: absolute; left: 0; bottom: 0; height: 5%; width: 100%; overflow:hidden; } na...
* { margin: 0; padding: 0; } div.container { width: 100%; } header, footer { padding: 1em; color: white; background-color: black; clear: left; text-align: center; } footer { position: absolute; left: 0; bottom: 0; height: 5%; width: 100%; overflow:hidden; } na...