Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Change the CSS at size 360px.
#spice_book .spice_pane_left { width: 40%; display: inline-block; } #spice_book .spice_pane_right { width: 50%; display: inline-block; vertical-align: top; border-left: 1px solid rgba(0,0,0,0.1); padding-left: 10px; } #spice_book .book_data_item { display: inline-block; padding-rig...
#spice_book .spice_pane_left { width: 40%; display: inline-block; } #spice_book .spice_pane_right { width: 50%; display: inline-block; vertical-align: top; border-left: 1px solid rgba(0,0,0,0.1); padding-left: 10px; } #spice_book .book_data_item { display: inline-block; padding-rig...
Fix for block anchor in the widget toggle: empty background image.
/** * @project OTRS (http://www.otrs.org) - Agent Frontend * @version $Revision: 1.5 $ * @copyright OTRS AG * @license AGPL (http://www.gnu.org/licenses/agpl.txt) * @css-for IE7 */ /** * @package Skin "Default" * @section TicketDetails */ @media screen,projection,tv,handheld { /** ...
/** * @project OTRS (http://www.otrs.org) - Agent Frontend * @version $Revision: 1.6 $ * @copyright OTRS AG * @license AGPL (http://www.gnu.org/licenses/agpl.txt) * @css-for IE7 */ /** * @package Skin "Default" * @section TicketDetails */ @media screen,projection,tv,handheld { /** ...
Change z-index of shadow DOM UI to ensure visible over web page contents.
#minkuiX {width: 100%; height: 80px; background-color: #eef; margin: 0; top: 0; position: fixed; padding: 5px; border-bottom: 3px double #ccf;} #minkuiX #minkLogo {height: 100%; float: left;} h1 {font-size: 14px; font-family: 'Futura', 'Century Gothic', AppleGothic, sans-serif;}
#minkuiX {width: 100%; height: 80px; background-color: #eef; margin: 0; top: 0; position: fixed; padding: 5px; border-bottom: 3px double #ccf; z-index:99999;} #minkuiX #minkLogo {height: 100%; float: left;} h1 {font-size: 14px; font-family: 'Futura', 'Century Gothic', AppleGothic, sans-serif;}
Make unresolved components invisible rather than display: none. Seems that latter causes components like AutosizeTextarea to do incorrect style calcs when first mounted.
body, button, input { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; } body { margin: 0; padding: 25px; } p, li { max-width: 800px; } label { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .demo { box-sizing: border-b...
body, button, input { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; } body { margin: 0; padding: 25px; } p, li { max-width: 800px; } label { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .demo { box-sizing: border-b...
Revert "Background and Text colors."
body { background-color: rgb(242,242,242); color: rgb(68,84,106); } .reveal .row { margin-top: .25rem; margin-bottom: .25rem; font-family: monospace, monospace; font-size: 1em; } div[property="rdfs:label"] { font-weight: bold; } p[property="rdfs:comment"]{ text-align: justify; text-...
.reveal .row { margin-top: .25rem; margin-bottom: .25rem; font-family: monospace, monospace; font-size: 1em; } div[property="rdfs:label"] { font-weight: bold; } p[property="rdfs:comment"]{ text-align: justify; text-justify: inter-word; }
Stop using min-height to equalize lengths of psetting blocks on website
body { font-family: sans-serif; background: #DDD; } a { text-decoration: none; color: #00506D; } a:hover { text-decoration: underline; } h1 { text-align: center; padding-bottom: 5px; border-bottom: 10px solid #000; } .author { font-size: 14pt; text-align: left; font-famil...
body { font-family: sans-serif; background: #DDD; } a { text-decoration: none; color: #00506D; } a:hover { text-decoration: underline; } h1 { text-align: center; padding-bottom: 5px; border-bottom: 10px solid #000; } .author { font-size: 14pt; text-align: left; font-famil...
Change import path of material theme
/* You can add global styles to this file, and also import other style files */ @import '~@angular/material/core/theming/prebuilt/indigo-pink.css'; html, body, material-app, md-sidenav-layout, md-sidenav-container { margin: 0; width: 100%; height: 100%; } .app-content { margin-top: 64px; }
/* You can add global styles to this file, and also import other style files */ @import '~@angular/material/prebuilt-themes/indigo-pink.css'; html, body, material-app, md-sidenav-layout, md-sidenav-container { margin: 0; width: 100%; height: 100%; } .app-content { margin-top: 64px; }
Adjust style of headers h1, h2 and h3
#sidebar { position: absolute; z-index: 1; top: 0; left: 0; bottom: 0; padding: 2em 0.5em 0 0.5em; width: 11em; } #content { position: relative; padding: 0 0 0 11em; font-family: verdana; color: #40494d; } ul { font-family: sans-serif; font-size: 95%; list-styl...
#sidebar { position: absolute; z-index: 1; top: 0; left: 0; bottom: 0; padding: 2em 0.5em 0 0.5em; width: 11em; } #content { position: relative; padding: 0 0 0 11em; font-family: verdana; color: #40494d; } ul { font-family: sans-serif; font-size: 95%; list-styl...
Improve function docs with images
.small { font-size:40%; } .smaller { font-size:60%; } .rst-content dl:not(.docutils) dl dt { /* mimick numpydoc’s blockquote style */ font-weight: normal; background: none transparent; border-left: none; margin: 0 0 12px; padding: 3px 0 0; font-size: 100%; } .rst-content dl:not(.d...
.small { font-size:40%; } .smaller { font-size:60%; } .rst-content dl:not(.docutils) dl dt { /* mimick numpydoc’s blockquote style */ font-weight: normal; background: none transparent; border-left: none; margin: 0 0 12px; padding: 3px 0 0; font-size: 100%; } .rst-content dl:not(.d...
Set style for backward compatibility
@font-face { font-family: CustomYuGothic; font-weight: normal; src: local("YuGothic-Medium"), local("Yu Gothic Medium"), local("YuGothic-Regular"); } @font-face { font-family: CustomYuGothic; font-weight: bold; src: local("YuGothic-Bold"), local("Yu Gothic"); } body { font-family: -apple-system, BlinkMa...
@font-face { font-family: CustomYuGothic; font-weight: normal; src: local("YuGothic-Medium"), local("Yu Gothic Medium"), local("YuGothic-Regular"); } @font-face { font-family: CustomYuGothic; font-weight: bold; src: local("YuGothic-Bold"), local("Yu Gothic"); } body { font-family: -apple-system, Bli...
Add component top page "side picture", to be gulp bundled
.top-intro-side-image { position:relative; display:inline-block; } .top-intro-side-image:after { content:''; position:absolute; left:0; top:0; width:100%; height:100%; display:inline-block; background: var(--side-image-content-background); background-color: var(--side-image-background-top); backgro...
Make moons look a little better.
.day-count { position: absolute; top: 0; margin: 0; padding: 2px; color: grey; } .moon { background-color: white; background-position: center; background-size: contain; background-repeat: no-repeat; } .new_moon { background-image: url('/static/periods/img/new_moon.png'); } .la...
.day-count { position: absolute; top: 0; margin: 0; padding: 2px; color: grey; } .moon { background-color: white; background-position: center; background-size: 70%; background-repeat: no-repeat; } .new_moon { background-image: url('/static/periods/img/new_moon.png'); } .last_q...
Modify a minor css rule
@media (max-width: 770px) { form.login-form div.checkbox button.btn{ margin-top: 20px; margin-bottom: 0; } } body{ background-color: #EDEDEC; } #logo{ margin-bottom: 5%; } .thumbnail{ background-color: transparent; border-color: transparent; } .form-actions { background-c...
@media (max-width: 767px) { form.login-form div.checkbox button.btn{ margin-top: 20px; margin-bottom: 0; } } body{ background-color: #EDEDEC; } #logo{ margin-bottom: 5%; } .thumbnail{ background-color: transparent; border-color: transparent; } .form-actions { background-c...
Remove border around button of password protected link confirmation
#password { width: 190px !important; padding: 10px; margin: 6px; } input[type='submit'] { width: 45px; height: 45px; margin: 6px; } #body-login input[type='submit'] { position: absolute; top: 0px; } fieldset > p { position: relative; } #password-icon { top: 20px; }
#password { width: 190px !important; padding: 10px; margin: 6px; } input[type='submit'] { width: 45px; height: 45px; margin: 6px; } #body-login input[type='submit'] { position: absolute; top: 0; border: none; } fieldset > p { position: relative; } #password-icon { top: 20px; }
Fix forum avatar overlapping issue
/* The default style. */ body { cursor: default !important; padding-top: 20px !important; font-size: 12px !important; font-family: sans-serif !important; background: url('/static/img/background.png') no-repeat top center #272B30; background-attachment: fixed; margin-top: 200px; } a { font-weight: bold; text...
/* The default style. */ body { cursor: default !important; padding-top: 20px !important; font-size: 12px !important; font-family: sans-serif !important; background: url('/static/img/background.png') no-repeat top center #272B30; background-attachment: fixed; margin-top: 200px; } a { font-weight: bold; text...
Fix css lint small issue
.download-btn-group { margin: 0 auto; text-align: center; } .download-btn { margin: 1.5em .5em; display: inline-block; } .download-btn.download-drawing { @mixin button brown; } .download-btn.download-gif { @mixin button blue; }
.download-btn-group { margin: 0 auto; text-align: center; } .download-btn { margin: 1.5em 0.5em; display: inline-block; } .download-btn.download-drawing { @mixin button brown; } .download-btn.download-gif { @mixin button blue; }
Remove reference to obsolete image asset from MContainerStyle.
MContainerStyle { /* settings for the whole container */ minimum-size: $SIZE_ONE $SIZE_ONE; /* inherited from duiwidgetstyle */ margin-left: 0; /* inherited from duiwidgetstyle */ margin-right: 0; margin-top: 0; margin-bottom: 0; /* this affects the whole content including header and central...
MContainerStyle { /* settings for the whole container */ minimum-size: $SIZE_ONE $SIZE_ONE; /* inherited from duiwidgetstyle */ margin-left: 0; /* inherited from duiwidgetstyle */ margin-right: 0; margin-top: 0; margin-bottom: 0; /* this affects the whole content including header and central...
Fix styling of vertical filter boxes in response to changes in djangocms-admin-style
form select[multiple] { max-width: 100%; } .stacked { width: 80%; } .stacked .selector-available, .stacked .selector-chosen { width: 98%; }
/************************/ /* Stacked filter boxes */ /************************/ form .field-publications select[multiple] { height: 200px !important; /* Need to override '!important' in 'djangocms-admin.css' */ max-width: 100%; } .field-publications .stacked { width: 90%; } .field-publications .stacked .selec...
Adjust the drop down indicator arrow width to increase the margin between border and arrow
@import '@teamleader/ui-colors'; @import '@teamleader/ui-utilities'; @import '@teamleader/ui-typography'; .select { composes: reset-font-smoothing; font-family: var(--font-family-regular); font-size: calc(1.4 * var(--unit)); border-color: var(--color-neutral-dark); } .dropdown-indicator { align-items: cente...
@import '@teamleader/ui-colors'; @import '@teamleader/ui-utilities'; @import '@teamleader/ui-typography'; .select { composes: reset-font-smoothing; font-family: var(--font-family-regular); font-size: calc(1.4 * var(--unit)); border-color: var(--color-neutral-dark); } .dropdown-indicator { align-items: cente...
Tweak opacity for inactive Atom panes
/* * Your Stylesheet * * This stylesheet is loaded when Atom starts up and is reloaded automatically * when it is changed. */ /* * De-emphasize inactive panes, in order to make it easy to quickly see which * pane is active. * * Credit: http://discuss.atom.io/t/how-to-know-which-pane-is-focused/10577/2 */ .pa...
/* * Your Stylesheet * * This stylesheet is loaded when Atom starts up and is reloaded automatically * when it is changed. */ /* * De-emphasize inactive panes, in order to make it easy to quickly see which * pane is active. * * Credit: http://discuss.atom.io/t/how-to-know-which-pane-is-focused/10577/2 */ .pa...
Fix AdminCP night mode table font colour
body { background-color: #222222; } .bg-primary { background-color: #375a7f !important; } .card { background-color: #303030; border: 1px solid transparent; color: #fff; } .card-success { background-color: #5cb85c; border-color: #5cb85c; } .card-danger{ background-color: #d9534f; border-color: #d953...
body { background-color: #222222; } .bg-primary { background-color: #375a7f !important; } .card { background-color: #303030; border: 1px solid transparent; color: #fff; } .card-success { background-color: #5cb85c; border-color: #5cb85c; } .card-danger{ background-color: #d9534f; border-color: #d953...
Fix error in mobile padding
body { background-color: #F5F5F5; } .content { padding: 0 20% 0 20%; } @media (max-width: 767px) { .content { padding: 0 20% 0 20%; } } .panel-title a { display: block; margin: -10px -15px; padding: 10px 15px; } .navbar-brand { align-items: center; display: flex; } .navbar-brand>img { paddi...
body { background-color: #F5F5F5; } .content { padding: 0 20% 0 20%; } @media (max-width: 767px) { .content { padding: 0 0 0 0; } } .panel-title a { display: block; margin: -10px -15px; padding: 10px 15px; } .navbar-brand { align-items: center; display: flex; } .navbar-brand>img { padding: ...
Add tabs-title > a color set to dark
.menu .active > a, .tag, .tabs-title > a:hover, .button, .button.primary { background-color: #3497c5; } .tabs-title > a { font-size: 0.9rem; } .tabs-title > a:hover { background: aliceblue; color: #0a0a0a; } .tabs-title > a:focus, .tabs-title > a[aria-selected='true'] { color: #0a0a0a; backgrou...
.menu .active > a, .tag, .tabs-title > a:hover, .button, .button.primary { background-color: #3497c5; } .tabs-title > a { font-size: 0.9rem; color: #3e3e3e; } .tabs-title > a:hover { background: aliceblue; color: #0a0a0a; } .tabs-title > a:focus, .tabs-title > a[aria-selected='true'] { color: #...
Use horizontal real estate within table
/* Needed by ui-bootstrap See http://angular-ui.github.io/bootstrap/ */ .nav, .pagination, .carousel, .panel-title a { cursor: pointer; } test-result-table{ width: 100%; height: 100%; } /* For angular-vs-repeat */ .test-result-tbody { height: 350px; width: 100%; overflow: auto; display: bl...
/* Needed by ui-bootstrap See http://angular-ui.github.io/bootstrap/ */ .nav, .pagination, .carousel, .panel-title a { cursor: pointer; } test-result-table{ width: 100%; height: 100%; } /* For angular-vs-repeat */ .test-result-tbody { height: 350px; width: 100%; overflow: auto; display: bl...
Enforce fixed spacing between detail names and values
table { display: inline-block; width: 48%; } caption { font-weight: bold; border-bottom: 1px solid #C3C3C3; margin-left: 30%; margin-bottom: 1em; font-size: 115%; } th { text-align: right; } td { text-align: right; } summary { cursor: pointer; user-select: none; } tr.imprecise { font-style: italic; } ...
table { display: inline-block; width: 48%; } caption { font-weight: bold; border-bottom: 1px solid #C3C3C3; margin-left: 30%; margin-bottom: 1em; font-size: 115%; } th { text-align: right; } td { padding-left: 1em; } summary { cursor: pointer; user-select: none; } tr.imprecise { font-style: italic; } ...
Tweak styles of unlinked xrefs
.rst-content dl:not(.docutils) tt.xref, .rst-content dl:not(.docutils) code.xref { font-weight: bold; /* restore bold for hyperref literals */ } .rst-content dl:not(.docutils) tt, .rst-content dl:not(.docutils) code { font-weight: normal; /* ovewrite bold for default literals */ } .rst-content dl:not(.docut...
.rst-content tt.literal, .rst-content code.literal { /* Dark gray instead of red for literals */ color: #404040; } .rst-content tt:not(.xref), .rst-content code:not(.xref), .rst-content *:not(a) > tt.xref, .rst-content *:not(a) > code.xref { /* slim font weight for non-link literals */ font-weight: nor...
Set minimum height of the map div to 200px
div.googlemaps { cursor: pointer; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } .googlemap img { max-width: none; }
.googlemap img { max-width: none; } .v-widget.googlemap { min-height: 200px; }
Remove typo from explanatory comment
@import '../../../css/colors.css'; .wrapper { position: relative; top: 0.05rem; float: right; margin-left: 3px; :global(.icon) { cursor: pointer; font-size: 1.4rem; margin-right: 0.4rem; &:global(.edit.icon) { margin-right: 0.35rem; } &:global(.remove.icon) { margin-rig...
@import '../../../css/colors.css'; .wrapper { position: relative; top: 0.05rem; float: right; margin-left: 3px; :global(.icon) { cursor: pointer; font-size: 1.4rem; margin-right: 0.4rem; &:global(.edit.icon) { margin-right: 0.35rem; } &:global(.remove.icon) { margin-rig...
Set line-height of page text to 1
a{ color: ForestGreen; } a:hover{ color: Green; } a:visited{ color: DarkGreen; } div.container{ } .title{ text-align: center; font-size: 50px; font-weight: 900; margin-top:30px; } .left-footer{ position: absolute; left: 5px; bottom: 5px; } .right-footer{ position: absol...
a{ color: ForestGreen; } a:hover{ color: Green; } a:visited{ color: DarkGreen; } div.container{ } .title{ text-align: center; font-size: 50px; font-weight: 900; margin-top:30px; } .left-footer{ position: absolute; left: 5px; bottom: 5px; } .right-footer{ position: absol...
Fix styling of delete buttons following changes in 3.16
.notification-label { font-weight: bold; color: #ffffff; background-color: rgba(10,10,10,0.7); border-radius: 6px; font-size:2em; padding:.5em; width:400px; } .history-menu-section { max-height:450px; }
.notification-label { font-weight: bold; color: #ffffff; background-color: rgba(10,10,10,0.7); border-radius: 6px; font-size:2em; padding:.5em; width:400px; } .popup-menu-item StButton { height:1em; width:1.5em; } .history-menu-section { max-height:450px; }
Make background color of the status bar the same as the right side pane
#vimderbar { padding: 1px; padding-left: 10px; background: #000; color: #fff; display: block; width: 100%; overflow: hidden; } #confirm { color: #d62d47; } #mode { text-transform: capitalize; } #command { color: #fff; border: none; background: transparent; padding: 0;...
#vimderbar { padding: 1px; padding-left: 10px; background: #5D5F60; color: #fff; display: block; width: 100%; overflow: hidden; } #confirm { color: #d62d47; } #mode { text-transform: capitalize; } #command { color: #fff; border: none; background: transparent; padding:...
Make border color more visible
#game { width: 320px; } #grid { border-spacing: 0; border-collapse: collapse; } #grid td div, .tile { border-radius: 3px; border: 1px solid #ececec; width: 30px; height: 30px; } .red { background: red; } .green { background: green; } .blue { background: blue; } .yellow { background: yellow; ...
#game { width: 320px; } #grid { border-spacing: 0; border-collapse: collapse; } #grid td div, .tile { border-radius: 3px; border: 1px solid #c4c4c4; width: 30px; height: 30px; } .red { background: red; } .green { background: green; } .blue { background: blue; } .yellow { background: yellow; ...
Revert "Made key not disappear off the screen."
.legend { background-color: white; z-index: 10; background-color: #F0F0F0; overflow: hidden; } .tile-legend { padding: 0.5em; } .legend-label { padding: 0.5em; font-size: small; font-weight: bold; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .legend-ch...
.legend { top: calc(100% - 10em); background-color: white; z-index: 10; background-color: #F0F0F0; overflow: hidden; } .tile-legend { padding: 0.5em; } .legend-label { padding: 0.5em; font-size: small; font-weight: bold; overflow: hidden; white-space: nowrap; text-overf...
Hide label for non-article forms
.field.fieldname-twitter_enabled, .field.fieldname-twitter_ressort_enabled, .field.fieldname-facebook_main_enabled, .field.fieldname-facebook_magazin_enabled { float: left; } .field.fieldname-short_text, .field.fieldname-facebook_magazin_text, .field.fieldname-twitter_ressort_enabled, .field.fieldname-mobile_text ...
.field.fieldname-twitter_enabled, .field.fieldname-twitter_ressort_enabled, .field.fieldname-facebook_main_enabled, .field.fieldname-facebook_magazin_enabled { float: left; } .field.fieldname-short_text, .field.fieldname-facebook_magazin_text, .field.fieldname-twitter_ressort_enabled, .field.fieldname-mobile_text ...
Add copyright to css file
.codicon-wrench-subaction { opacity: 0.5; }
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Fix password list items from showing password input field.
/* * Copyright (c) 2011 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. */ button.password-button { background: #8aaaed; color: #fff; display: inline; font-size: 90%; font-weight: bold; height: 18px; padd...
/* * Copyright (c) 2011 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. */ button.password-button { background: #8aaaed; color: #fff; display: inline; font-size: 90%; font-weight: bold; height: 18px; padd...
Remove css block that is not being used
.textSection { margin: 3em auto; } .textSection:first-child { margin-top: 0; } .centered { text-align: center; } p, label { font-family: Georgia, Times, 'Times New Roman', serif; line-height: 1.5em; } .link { text-decoration: none; } .code { font-size: 0.75em; background-color: $very-light-grey; ...
.textSection { margin: 3em auto; } .textSection:first-child { margin-top: 0; } .centered { text-align: center; } p, label { font-family: Georgia, Times, 'Times New Roman', serif; line-height: 1.5em; } .link { text-decoration: none; } .usernameForm { margin-bottom: 1em; } .input { outline: none; ...
Refactor header logo styles to not use css vars
/* * PRX header component */ :host { --header-height: 50px; --logo-width: 72px; position: fixed; top: 0; right: 0; left: 0; max-width: 1200px; margin: 0 auto; z-index: 900; border-bottom: 1px solid #e6e6e6; background: #1a1a1a; padding-left: 20px; } header { display: flex; justify-conten...
/* * PRX header component */ :host { --header-height: 50px; --logo-width: 72px; position: fixed; top: 0; right: 0; left: 0; max-width: 1200px; margin: 0 auto; z-index: 900; border-bottom: 1px solid #e6e6e6; background: #1a1a1a; padding-left: 20px; } header { display: flex; justify-conten...
Add styling for stackdriver metrics iframe
.rx-katharsis-container .panel.radius { border: 0; } .rx-katharsis-container .panel-header { margin-bottom: 0; padding: 0.5em; margin: 0; line-height: 1; font-size: 20px !important; border: 0; text-align: center; } .rx-katharsis-container .panel-header .value-item { font-weight: 70...
.rx-katharsis-container .panel.radius { border: 0; } .rx-katharsis-container .panel-header { margin-bottom: 0; padding: 0.5em; margin: 0; line-height: 1; font-size: 20px !important; border: 0; text-align: center; } .rx-katharsis-container .panel-header .value-item { font-weight: 70...
Add color to WP icon
.column-error_status .tooltip { display: none; } .column-error_status .dashicons-editor-help { color: #767676; } .column-sources_with_invalid_output .dashicons { margin-right: 5px; } .column-sources_with_invalid_output .dashicons-admin-plugins { color: #64a2e9; } .column-sources_with_invalid_output .dashicons-admin...
.column-error_status .tooltip { display: none; } .column-error_status .dashicons-editor-help { color: #767676; } .column-sources_with_invalid_output .dashicons { margin-right: 5px; } .column-sources_with_invalid_output .dashicons-admin-plugins { color: #64a2e9; } .column-sources_with_invalid_output .dashicons-admin...
Revert "jsdoc menu not css forced down; prettier in ringojs.org context"
body, html { margin: 0; padding: 0; } body { min-width: 850px; font-family: sans-serif; font-size: 80%; line-height: 170%; } h1 { padding: 10px 0; } #wrap { margin: 0 auto; width: 800px; } #header { height: 80px; } #header h1 { float: left; color: #c00; margin: 2...
body, html { margin: 0; padding: 0; } body { min-width: 850px; font-family: sans-serif; font-size: 80%; line-height: 170%; } h1 { padding: 10px 0; } #wrap { margin: 0 auto; width: 800px; } #header { height: 80px; } #header h1 { float: left; color: #c00; margin: 2...
Set width: auto on div.prompt
.navbar .nav > .active > a { -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125); -moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125); box-shadow:inset 0 0px 0px rgba(0, 0, 0, 0.125); } .navbar .container { width: 970px; }
.navbar .nav > .active > a { -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125); -moz-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.125); box-shadow:inset 0 0px 0px rgba(0, 0, 0, 0.125); } .navbar .container { width: 970px; } div.prompt { width: auto; }
Change color scheme to be more neutral and less theme specific
div.page { width: 75%; background-color: #00aa00; border: 1em solid #005500; border-radius: 4em; padding: 2em; margin: 2em auto; } p, h1, h2, h3, div.infobox { margin: 12pt 0; } div.infobox { margin: 12pt; padding: 1em; background-color: #ffffcc; border: .25em solid #aaaa00; border-radius: .5em; } /* tri...
body { background-color: #555555; } div.page { width: 75%; background-color: #ffffff; border: 1em solid #aaaaaa; border-radius: 4em; padding: 2em; margin: 2em auto; } p, h1, h2, h3, div.infobox { margin: 12pt 0; } div.infobox { margin: 12pt; padding: 1em; background-color: #ffff55; border: .25em solid #a...
Hide rows that aren't chosen.
table { border-collapse: collapse; font-size: 75%; } thead tr { border-bottom: 1px solid black; background: #AAF; } tr { background: #DDF; } tr:nth-child(even) { background: #EEF; } .selected { background: #F8F8DD; } .selected:nth-child(even) { background: #F8F8BB; } th, td { padding...
table { border-collapse: collapse; font-size: 75%; } thead tr { border-bottom: 1px solid black; background: #AAF; } tr { background: #DDF; } tr:nth-child(even) { background: #EEF; } .selected { background: #F8F8DD; } .selected:nth-child(even) { background: #F8F8BB; } th, td { padding...
Edit CSS and style HTML
body{ /*border: 1px solid black;*/ font-family:Verdana, sans-serif; background-color:#B0E0E6; } header { background-color:#E6E6FA; width:100vw; padding-top:1vh; } .column-1 { width: 45vw; float:left; /*border: 1px solid green;*/ } .column-2 { width: 45vw; float:right; /*b...
Add obligatory CSS statements in own file
.sticky-wrap { overflow-x: auto; position: relative; width: 100%; box-sizing: border-box; } .sticky-wrap * { box-sizing: inherit; } .sticky-head, .sticky-col, .sticky-intersect { left: 0; opacity: 0; position: absolute; top: 0; transition: .1s ease-out; visibility: hidden; ...
Fix CSS for the header
body { padding-top: 60px; } @media (max-width: 979px) { body { padding-top: 0px; } } #help { display: none; }
body { padding-top: 64px; } #help { display: none; }
Hide hyperlink href values when printing
.overrides_input_system.form-group {margin-bottom: 0;} .txn_field_name{max-width:4em;} .override_message{min-width:3em;} .navbar{ margin-bottom:0px; } h3{ margin-bottom:5px; margin-top:0px; } td.field_date{ white-space: nowrap; }
.overrides_input_system.form-group {margin-bottom: 0;} .txn_field_name{max-width:4em;} .override_message{min-width:3em;} .navbar{ margin-bottom:0px; } h3{ margin-bottom:5px; margin-top:0px; } td.field_date{ white-space: nowrap; } a{ content:none; } @media print { a[href]:after { content: ""; } }
Add margin for twitter buttons
.tryit { padding-top: 25px; } .well { margin-top: 20px; padding-top: 0; text-align: center; } .well[id] { padding-top: 10px; } .well > .form-group > label { font-size: 18px; margin-top: 5px; } .bootswatch { padding: 10px 0 20px 0; } .jumbotron { margin-top: -50px; padding-bo...
.tryit { padding-top: 25px; } .well { margin-top: 20px; padding-top: 0; text-align: center; } .well[id] { padding-top: 10px; } .well > .form-group > label { font-size: 18px; margin-top: 5px; } .bootswatch { padding: 10px 0 20px 0; } .jumbotron { margin-top: -50px; padding-bo...
Add values for player id.
div[id^="player_"] { position: absolute; width: 48px; height: 48px; top: 50px ; } div[id^="npc_"]{} div[id^="monster_"]{} div[id^="boss_"]{}
Make task border darker so tasks are more visible.
div.ticket-class1 { background-color: #fdc; border: 1px; border-color: #e88; border-style: solid; color: #a22; } div.ticket-class2 { background-color: #ffb; border:1px; border-color: #eea; border-style: solid; color: #880; } div.ticket-class3 { background-color: #fbfbfb; border:1px; b...
/* * These styles are adapted from the standard report.css in Trac. * The border-color is a medium-dark gray so that tasks are more visible. */ div.ticket-class1 { background-color: #fdc; border:1px; border-color: #949494; border-style: solid; color: #a22; } div.ticket-class2 { background-color: #ff...
Add horizontal scrolling to pre blocks.
body { padding-top: 1em; padding-bottom: 1em; } h1 { font-weight: 500; } h2, h3 { font-weight: 300; } .resource-description, .response-info { margin-bottom: 2em; } #footer { border-top: 1px solid #eee; margin-top: 2em; padding-top: 1em; text-align: right; } .version:before { ...
body { padding-top: 1em; padding-bottom: 1em; } h1 { font-weight: 500; } h2, h3 { font-weight: 300; } .resource-description, .response-info { margin-bottom: 2em; } #footer { border-top: 1px solid #eee; margin-top: 2em; padding-top: 1em; text-align: right; } .version:before { ...
Fix height of popover content
.adminBulkCommands .btn-toolbar { margin-top: 0; } .adminBulkCommands .dropdown-menu li a.adminBulkCommandsHeader { color: #ccc; font-weight: bold; text-transform: uppercase; pointer-events: none; cursor: default; font-size: 11px; } .adminBulkCommands .popover-title { display: none; } ....
.adminBulkCommands .btn-toolbar { margin-top: 0; } .adminBulkCommands .dropdown-menu li a.adminBulkCommandsHeader { color: #ccc; font-weight: bold; text-transform: uppercase; pointer-events: none; cursor: default; font-size: 11px; } .adminBulkCommands .popover-title { display: none; } ....
Add css animation for completed
/* line 1, D:/Dev/To-Do-Builder/styles/sass/1-app/_app.sass */ .app-wrap { max-width: 1000px; } ol.todo-list { list-style: none; } a.completed { text-decoration: line-through; opacity: .4; } /*# sourceMappingURL=styles.css.map */
/* line 1, D:/Dev/To-Do-Builder/styles/sass/1-app/_app.sass */ .app-wrap { max-width: 1000px; } ol.todo-list { list-style: none; } a { transition: all 300ms ease-in-out; } a.completed { text-decoration: line-through; opacity: .4; } /*# sourceMappingURL=styles.css.map */
Update accordion rows to hide better
.Booting { color: orange } .Online { color: green } .Failed { color: red } .Offline { color: blue } .red { color: red } .white { color: white }
.Booting { color: orange } .Online { color: green } .Failed { color: red } .Offline { color: blue } .red { color: red } .white { color: white } /*Used in test.html*/ .accordianRow { padding: 0 !important; }
Remove spacing around loading splash
.footer { background-color: #f5f5f5; padding: 15px 0 7px 0; margin-top: 20px; padding: 30px 0 20px 0; } .table-container { width: 100%; overflow: scroll; height: 400px; margin: 20px 5px; } .dataTables_info { font-size: 1.2em; margin: 15px 0 20px 0; } #data-view td { font-size: 1.1em; padding:...
.footer { background-color: #f5f5f5; padding: 15px 0 7px 0; margin-top: 20px; padding: 30px 0 20px 0; } .table-container { width: 100%; overflow: scroll; height: 400px; margin: 20px 5px; } .dataTables_info { font-size: 1.2em; margin: 15px 0 20px 0; } #data-view td { font-size: 1.1em; padding:...
Add height to input message
/* 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 ...
/* 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%; } .message { height: 35px; } /* Petits écrans (tablettes, 768px et plus) */ @media (min-width: 768px...
Improve display of search results in Atom
/* * Your Stylesheet * * This stylesheet is loaded when Atom starts up and is reloaded automatically * when it is changed. */ /* * De-emphasize inactive panes, in order to make it easy to quickly see which * pane is active. * * Credit: http://discuss.atom.io/t/how-to-know-which-pane-is-focused/10577/2 */ ato...
/* * Your Stylesheet * * This stylesheet is loaded when Atom starts up and is reloaded automatically * when it is changed. */ /* * De-emphasize inactive panes, in order to make it easy to quickly see which * pane is active. * * Credit: http://discuss.atom.io/t/how-to-know-which-pane-is-focused/10577/2 */ ato...
Update the font to Open sans
html { font-family: 'Roboto', sans-serif; } body { font-size: 13px; line-height: 20px; background-color: #34495e; }
@import url(https://fonts.googleapis.com/css?family=Open+Sans); body { background-color: #34495e; font-family: 'Open Sans', sans-serif; }
Fix for the default foreground colour in the terminalviewer.
@font-face { font-family: "DejaVu Sans Mono"; src: url("DejaVuSansMono.ttf"); } .terminal { font-family: "DejaVu Sans Mono"; font-size: 13px; color: #f0f0f0; background: #000; } DIV:focus > DIV > SPAN.terminal-cursor { color: #000000; background: #ffffff; outline: 0px; } SPAN.terminal-curs...
@font-face { font-family: "DejaVu Sans Mono"; src: url("DejaVuSansMono.ttf"); } .terminal { font-family: "DejaVu Sans Mono"; font-size: 13px; color: rgb(178, 178, 178); background: #000; } DIV:focus > DIV > SPAN.terminal-cursor { color: #000000; background: #ffffff; outline: 0px; } SPAN.te...
Improve margins of document form
@import 'part:@sanity/base/theme/variables-style'; .root { max-width: 640px; flex-grow: 1; margin: 0 auto; padding: var(--large-padding) var(--medium-padding) var(--extra-large-padding); } .typeMisMatchMessage { padding: 10em 3em; }
@import 'part:@sanity/base/theme/variables-style'; :root { --form-view-padding-bottom-small: 7.5em; --form-view-padding-bottom-medium: 15em; } .root { max-width: 640px; flex-grow: 1; margin: 0 auto; padding: var(--large-padding) var(--medium-padding) var(--form-view-padding-bottom-small); @media (--scr...
Create rounded corners on browser tabs.
@font-face { src: url('NotoSans-Regular.ttf'); } .text { -fx-font-family: "Noto Sans"; } .addressButton { -fx-background-color:transparent; } .addressButton:hover { -fx-background-color:#dae7f3; } .button-raised{ -fx-padding: 0.7em 0.57em; fx-font-size: 14px; -jfx-button-type: RAISED; -fx-background...
@font-face { src: url('NotoSans-Regular.ttf'); } .text { -fx-font-family: "Noto Sans"; } .addressButton { -fx-background-color:transparent; } .addressButton:hover { -fx-background-color:#dae7f3; } .button-raised{ -fx-padding: 0.7em 0.57em; fx-font-size: 14px; -jfx-button-type: RAISED; -fx-background...
Set max overflow of demo to 640px
.exampleOutput { display: flex; border: 1px solid rgb(224, 224, 224); padding: 2rem; border-top-left-radius: 4px; border-top-right-radius: 4px; } .codeBlock pre { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; max-height: 250px; overflow: auto; } .example-grid-content { backgroun...
.exampleOutput { display: flex; border: 1px solid rgb(224, 224, 224); padding: 2rem; border-top-left-radius: 4px; border-top-right-radius: 4px; max-height: 640px; overflow: auto; } .codeBlock pre { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; max-height: 250px; overflow: auto;...
Set max-width on p in the new window dialog
.window-input { display: flex; flex-direction: row; align-items: center; } .window-input > * { margin: 0; } .window-input > .labelled-input { margin: 0 0 0 5px; flex-grow: 1; }
.window-input { display: flex; flex-direction: row; align-items: center; } .window-input > * { margin: 0; } .window-input > .labelled-input { margin: 0 0 0 5px; flex-grow: 1; } .new-window-dialog p { max-width: 292px; }
Move notebook CSS to separate file
span.input_prompt { color:blue; font-family: monospace; font-size:12pt; float: left; clear: left; } span.output_prompt { color:red; /*display:none;*/ clear: left; font-family: monospace; font-size:12pt; float: left; } div.output_delimiter { height: 3px; clear: left; } div.insert_new_cell { ...
Reduce size of the table
body { background: snow; } h1{ text-align: center; } .filter{ display: flex; justify-content: space-around; border-bottom: 1px solid #CCC; } .filter > div { margin: 10px; } .filter label { display: block; font-weight: bold; } .token-input input { width: 100%; padding: 6px 10...
body { background: snow; } h1{ text-align: center; } .filter{ display: flex; justify-content: space-around; border-bottom: 1px solid #CCC; } .filter > div { margin: 10px; } .filter label { display: block; font-weight: bold; } .token-input input { width: 100%; padding: 6px 10...
Increase width of console progress dialog
@external dialogTop, dialogContent; .labelCell { padding-right: 6px; } .buttonCell button { position: relative; left: 2px; width: 60px; } .progressCell img { position: relative; top: 1px; } .consoleProgressDialog .dialogTop { display: none; } .consoleProgressDialog .dialogContent { margin-t...
@external dialogTop, dialogContent; .labelCell { padding-right: 6px; } .buttonCell button { position: relative; left: 2px; width: 60px; } .progressCell img { position: relative; top: 1px; } .consoleProgressDialog .dialogTop { display: none; } .consoleProgressDialog .dialogContent { margin-t...
Add padding over the sidebar, on small screens.
body { padding-top: 80px; } p { font-size: 120%; } img { width: 100%; height: auto; }
body { padding-top: 80px; } p { font-size: 120%; } img { width: 100%; height: auto; } @media (max-width: 992px) { .sidebar { padding-top: 2em; } }
Increase width and reduce margin
.photo-grid__item { margin-bottom: 30px; margin-left: auto; margin-right: auto; background-size: cover !important; } .mdl-card { width: auto; } .photo-grid__item a { cursor: pointer; } .photo-grid__item-dimension { color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; } .downloa...
.photo-grid__item { margin-bottom: 20px; margin-left: auto; margin-right: auto; background-size: cover !important; } .mdl-card { width: auto; min-height: 250px !important; } .photo-grid__item a { cursor: pointer; } .photo-grid__item-dimension { color: #fff; font-size: 14px; font-weight: 500; te...
Remove default background color from outer-wrapper.
/* Document : styles.css Created on : 08/12/2015, 09:01:15 PM Author : cesarmejiaguzman Description: */ /* Util */ .holder{ margin: 0 auto; max-width: 1010px; width: 100%; } /* Navigation */ .navigation{ position: fixed; right: 0; top: 0; width: 100%; z-index: 1;...
/* Document : styles.css Created on : 08/12/2015, 09:01:15 PM Author : cesarmejiaguzman Description: */ /* Util */ .holder{ margin: 0 auto; max-width: 1010px; width: 100%; } /* Navigation */ .navigation{ position: fixed; right: 0; top: 0; width: 100%; z-index: 1;...
Add newline at end of file
/* This file has style declarations specific to printed pages. This is mainly to */ @media print { div.headder { display: none; } div.container, div.large_container { max-width: none; } thead tr { border-bottom: 1px #eeeeee solid; } }
/* This file has style declarations specific to printed pages. This is mainly to */ @media print { div.headder { display: none; } div.container, div.large_container { max-width: none; } thead tr { border-bottom: 1px #eeeeee solid; } }
Make 5in to min-height of a three-piece viewport
@import 'colors.css'; @custom-media --three-piece-viewport (min-height: 6in); @custom-media --two-sided-viewport (min-width: 8.5in); html, body { background: var(--blog-background); font-family: 'Source Sans Pro'; margin: 0; padding: 0; } .blog { background: var(--blog-background); min-height: 100vh; wi...
@import 'colors.css'; @custom-media --three-piece-viewport (min-height: 5in); @custom-media --two-sided-viewport (min-width: 8.5in); html, body { background: var(--blog-background); font-family: 'Source Sans Pro'; margin: 0; padding: 0; } .blog { background: var(--blog-background); min-height: 100vh; wi...
Add 0 margin to body, html
body, html { background-image: url(images/arch-linux-minimalistic-rainbow.jpg); background-position: center; background-repeat: no-repeat; background-size: cover; height: 100%; } a:link { color: white; } a:visited { color: lightgrey; } .element { text-decoration: none; color: blac...
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; ...
Fix Dialog top border css
.aui-dialog { } .aui-dialog .aui-icon-loading { margin: 0 auto; } .aui-dialog .aui-widget-hd { color: #333333; cursor: move; font-size: 15px; font-weight: bold; padding: 8px 10px; } .aui-dialog .aui-widget-bd { border: 1px solid #ccc; border-color: transparent #999 #999 #bbb; padding: 10px; background: #f...
.aui-dialog { } .aui-dialog .aui-icon-loading { margin: 0 auto; } .aui-dialog .aui-widget-hd { color: #333333; cursor: move; font-size: 15px; font-weight: bold; padding: 8px 10px; } .aui-dialog .aui-widget-bd { border: 1px solid #ccc; border-color: #fff #999 #999 #bbb; padding: 10px; background: #fff; ov...
Remove logo for production purposes
nav { background-color: var(--gray); background-image: url(v3.png); background-repeat: no-repeat; background-size: auto 28px; background-position: 4px 8px; height: 44px; cursor: pointer; width: 320px; position: absolute; top: 0; } nav h3 { margin: 0 8px 0 0; line-height: 44px; } nav h3 a { ...
nav { background-color: var(--gray); /*background-image: url(v3.png); for production*/ background-repeat: no-repeat; background-size: auto 28px; background-position: 4px 8px; height: 44px; cursor: pointer; width: 320px; position: absolute; top: 0; } nav h3 { margin: 0 8px 0 0; line-height: 44p...
Fix sub panel scrolling issue by removing the app scroll
html, body { padding: 0; margin: 0; } html, body, #app, .container.devtools-container, .container.devtools-container .row { height: 100%; } .col.devtools-panel { max-width: 50%; } .devtools-panel .devtools-subpanel { height: 50%; overflow-y: auto; margin-top: 10px; } .panel-header { ...
html, body { padding: 0; margin: 0; } html, body, #app, .container.devtools-container, .container.devtools-container .row { height: 100%; } #app { overflow: hidden; } .col.devtools-panel { max-width: 50%; } .devtools-panel .devtools-subpanel { height: 50%; overflow-y: auto; margin-to...
Change top block relative week stylesheet
#top { display:block; display: absolute; background-color:; top: 120px; } #second_from_top { display: block; position: relative; top: 300px; }
#top { display:block; display: relative; background-color:; top: 120px; } #second_from_top { display: block; position: relative; top: 300px; }
Improve syntax highlighting for most JSON specs.
.hljs{display:block;overflow-x:auto;padding:0.5em;color:#333;background:#f8f8f8}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:bold}.hljs-number,.hljs-literal,.hljs-variable,.hljs-template-variable,.hljs-tag .hljs-attr{color:#008080}.hljs-strin...
.hljs{display:block;overflow-x:auto;padding:0.5em;color:#333;background:#f8f8f8}.hljs-comment,.hljs-quote{color:#998;font-style:italic}.hljs-keyword,.hljs-selector-tag,.hljs-subst{color:#333;font-weight:bold}.hljs-number,.hljs-literal,.hljs-variable,.hljs-template-variable,.hljs-tag .hljs-attr{color:#008080}.hljs-strin...
Add background color on button hover
canvas { image-rendering: -webkit-optimize-contrast; /* Old Android, Safari, UC Browser */ image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: crisp-edges; /* Safari */ image-rendering: pixelated; /* Chrome & Opera */ /* Note: keep this declaration at the bottom until https://github.com/postcss/a...
canvas { image-rendering: -webkit-optimize-contrast; /* Old Android, Safari, UC Browser */ image-rendering: -moz-crisp-edges; /* Firefox */ image-rendering: crisp-edges; /* Safari */ image-rendering: pixelated; /* Chrome & Opera */ /* Note: keep this declaration at the bottom until https://github.com/postcss/a...
Remove margin from last info box paragraph
html, body, #map { height: 100%; width: 100%; } #loading { background-color: gray; color: white; font-size: 18px; height: 100%; left: 0; opacity: 0.85; padding-top: 20%; position: fixed; text-align: center; top: 0; width: 100%; z-index: 1001; } #info { background-color: #407cc9; /* blue...
html, body, #map { height: 100%; width: 100%; } #loading { background-color: gray; color: white; font-size: 18px; height: 100%; left: 0; opacity: 0.85; padding-top: 20%; position: fixed; text-align: center; top: 0; width: 100%; z-index: 1001; } #info { background-color: #407cc9; /* blue...
Move Color Picker Modifications To Our CSS
/* History Square */ .colors-history-square { width: 15px; height: 15px; font-size: 1px; } /* Label on left side of color box */ .ed-color-box-label { position: absolute; left: 50%; margin-left: 5.5rem; top: 2.5rem; width: 5rem; transform: rotate(-90deg); } .ed-color-box { w...
/* History Square */ .colors-history-square { width: 15px; height: 15px; font-size: 1px; } /* Label on left side of color box */ .ed-color-box-label { position: absolute; left: 50%; margin-left: 5.5rem; top: 2.5rem; width: 5rem; transform: rotate(-90deg); } .ed-color-box { w...
Modify line height and font color
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) { .top-p...
html { position: relative; min-height: 100%; } body { color: #444; margin-bottom: 35px; line-height:1.6; } h1,h2,h3 { line-height:1.2; } #logo { text-align: center; } @media (max-width: 500px) { .top-padding { min-height: 10px; } .navbar { text-align: center; } .navbar-nav { display: inline-block; ...
Add a selected tile class.
.unseen { opacity: 0.35; } .Player:after { content: '@' } .Floor { background: #44f; } .Wall { background: #003; } .Bot { color: pink; } .Bot:after { content: 'x'; } .Script { color: pink; } .Script:after { content: 's'; } .Adware { color: red; } .Adware:after { content:...
.unseen { opacity: 0.35; } .selected { width: 28px; height: 28px; border: 2px solid red; } .Player:after { content: '@' } .Floor { background: #44f; } .Wall { background: #003; } .Bot { color: pink; } .Bot:after { content: 'x'; } .Script { color: pink; } .Script:after { ...
Tweak border-width of notebook tab buttons
.notebook tab .button { -GtkButton-default-border: 0; -GtkButton-default-outside-border: 0; -GtkButton-inner-border: 0; -GtkWidget-focus-line-width: 0; -GtkWidget-focus-padding: 0; padding: 0; } GtkOverlay > * { padding: 4px; border-style: solid; border-radius: 0 5px 0 0; border...
.notebook tab .button { -GtkButton-default-border: 0; -GtkButton-default-outside-border: 0; -GtkButton-inner-border: 0; -GtkWidget-focus-line-width: 0; -GtkWidget-focus-padding: 0; padding: 0; border-width: 1px 1px 0 0; } GtkOverlay > * { padding: 4px; border-style: solid; borde...
Remove right hand margin from CSS
body { margin: 0; background-color: #222222; font-size: 20px; color: white; font-family: "Helvetica Neue", Helvetica, 'Open Sans', 'FreeSans', Arial, sans-serif; } #header h1 { font-size: 55px; font-weight: bold; padding: 0; margin: 0; color: #AAA; position: absolute; right: 0; } #header img {...
body { margin: 0; background-color: #222222; font-size: 20px; color: white; font-family: "Helvetica Neue", Helvetica, 'Open Sans', 'FreeSans', Arial, sans-serif; } #header h1 { font-size: 55px; font-weight: bold; padding: 0; margin: 0; color: #AAA; position: absolute; right: 0; } #header img {...
Remove external font dependency to speed up loading
@import url(http://fonts.googleapis.com/css?family=Kite+One); body { font-family: 'Kite One', sans-serif; } .main { padding: 20px 40px; margin: 10px 30px; box-shadow: 1px 1px 2px black; border-radius: 3px; background-color: tomato; }
body { font-family: sans-serif; } .main { padding: 20px 40px; margin: 10px 30px; box-shadow: 1px 1px 2px black; border-radius: 3px; background-color: tomato; } input { width: 100%; }
Revert "Changes hoverover color for Azure test"
html { background: url(../images/background-mid.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } body { padding: 50px; font: 20px "Lucida Grande", Helvetica, Arial, sans-serif; color: #1F333E } a { ...
html { background: url(../images/background-mid.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; } body { padding: 50px; font: 20px "Lucida Grande", Helvetica, Arial, sans-serif; color: #1F333E } a { ...
Consolidate styles and fix word-wrap for old Opera
pre { background: #0B1022; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; margin: 0px; padding: 0px; padding: 10px; color: #fff; font-size: 14px; margin-bottom: 20px; } pre, code { font-family: 'Monaco', courier, monos...
pre { background: #0B1022; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word; margin: 0px; padding: 0px; padding: 10px; color: #fff; font-size: 14px; margin-bottom: 20px; } pre, code { font-fami...
Change the pointer for the canvas
.viewer { width: 15px; height: 15px; display: inline-block; } #info-bar { position: fixed; top: 3px; width: 50px; left: calc(100% - 50px); }
.viewer { width: 15px; height: 15px; display: inline-block; } #info-bar { position: fixed; top: 3px; width: 50px; left: calc(100% - 50px); } #canvas { cursor: crosshair; }
Check in a compiled css.
.answered { background-color: black; } .not_answered { background-color: #cccccc; } .correct { background-color: #ddffdd; } .incorrect { background-color: #ffdddd; } .table { width: 100%; display: table; border-collapse: collapse; } .row { display: table-row; width: 100%; } .cell { display: ta...
.answered { background-color: white; } .not_answered { background-color: #cccccc; } .correct { background-color: #ddffdd; } .incorrect { background-color: #ffdddd; } .table { width: 100%; display: table; border-collapse: collapse; } .row { display: table-row; width: 100%; } .cell { display: ta...
Add space above content, needed when h2 removed
h1 a { text-decoration: none; color: #333 } .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); } .button-success { background: rgb(28, ...
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...
Update styleguide navigation link colours
.section + .section { margin-top: var(--size-lg-ii); } .title { padding-left: var(--size-lg-i); padding-right: var(--size-lg-i); } .linkList { list-style-type: none; margin-top: var(--size-sm-i); margin-left: 0; margin-left: 0; margin-bottom: 0; padding: 0; } .link { display: block; composes: f...
.section + .section { margin-top: var(--size-lg-ii); } .title { padding-left: var(--size-lg-i); padding-right: var(--size-lg-i); } .linkList { list-style-type: none; margin-top: var(--size-sm-i); margin-left: 0; margin-left: 0; margin-bottom: 0; padding: 0; } .link { display: block; composes: f...
Add background color for the body
/** * styles.css * * App container styles */ .container { display: block; }
/** * styles.css * * App container styles */ body { background-color: #141518; } .container { display: block; }
Move user profile to new position.
@import 'base'; .profile { position: absolute; bottom: 0; left: 0; width: 250px; height: 100px; } .photo { position: absolute; top: 25px; left: 20px; width: 50px; height: 50px; border-radius: 5px; border: 1px solid $borderColorLight; cursor: pointer; } .name { position: absolute; top: 0...
@import 'base'; .profile { position: absolute; bottom: 0; left: 300px; width: 250px; height: 100px; } .photo { position: absolute; top: 25px; left: 25px; width: 50px; height: 50px; border-radius: 5px; border: 1px solid $borderColorLight; cursor: pointer; } .name { position: absolute; to...
Tweak to display text art
html, body { height: 100%; } #root { height: 100%; } textarea { font-size: 16px !important; } input { font-size: 16px !important; } pre { margin-bottom: 0px; overflow: auto; word-wrap: normal; white-space: pre-wrap; font-size: 1.1em; }
html, body { height: 100%; } #root { height: 100%; } textarea { font-size: 16px !important; } input { font-size: 16px !important; } pre { margin-bottom: 0px; overflow: auto; word-wrap: normal; white-space: pre-wrap; font-size: 1.1em; line-height: 18px; font-size: 16px; font-family: "MS Pゴシック", "...
Set background color for case where the spell checker component is used inside a repeat
.xbl-fr-spell-checker { display: inline; } .xbl-fr-spell-checker .xforms-dialog { width: 30em } .xbl-fr-spell-checker .xforms-label { width: 10em; display: inline-block } .xbl-fr-spell-checker .xforms-output-output { font-weight: bold } .xbl-fr-spell-checker input { width: 8em } .xbl-fr-spell-checker td { line-heig...
.xbl-fr-spell-checker { display: inline; } .xbl-fr-spell-checker .xforms-dialog { width: 30em } .xbl-fr-spell-checker .xforms-label { width: 10em; display: inline-block } .xbl-fr-spell-checker .xforms-output-output { font-weight: bold } .xbl-fr-spell-checker input { width: 8em } .xbl-fr-spell-checker td { line-heig...
Fix hidden attribute cannot hide elements
@import './variables.css'; @font-face { font-family: 'Archivo Narrow'; src: url('typeface-archivo-narrow/files/archivo-narrow-latin-400.woff'); } :global(body) { background-color: var(--oc-white); color: var(--main-font-color); margin: 0; } :global(a), :global(button), :global(input[type='checkbox']), :glo...
@import './variables.css'; @font-face { font-family: 'Archivo Narrow'; src: url('typeface-archivo-narrow/files/archivo-narrow-latin-400.woff'); } :global(body) { background-color: var(--oc-white); color: var(--main-font-color); margin: 0; } :global(a), :global(button), :global(input[type='checkbox']), :glo...
Add floating inside of parents
* { margin: 0; padding: 0; box-sizing: border-box; } .menu { height: 100px; background-color: #B2D6FF; /* Medium blue */ } .sidebar { float: left; width: 200px; height: 300px; background-color: #F09A9D; /* Red */ } .content { height: 500px; background-color: #F5...
* { margin: 0; padding: 0; box-sizing: border-box; } .page { width: 900px; margin: 0 auto; } .menu { height: 100px; background-color: #B2D6FF; /* Medium blue */ } .sidebar { float: left; width: 200px; height: 300px; background-color: #F09A9D; /* Red */ } .conte...
Enable change a color of button at hover
body { background: #e0e0e0; font-family: Arial, sans-serif; text-align: center; } #time { color: #00aaff; font-size: 128px; margin: 40px auto; } .btn { display: inline-block; width: 100px; padding: 7px; border-radius: 5px; box-shadow: 0 4px 0 #0088cc; color: #fff; background: #00aaff; curs...
body { background: #e0e0e0; font-family: Arial, sans-serif; text-align: center; } #time { color: #00aaff; font-size: 128px; margin: 40px auto; } .btn { display: inline-block; width: 100px; padding: 7px; border-radius: 5px; box-shadow: 0 4px 0 #0088cc; color: #fff; background: #00aaff; curs...
Remove underline under language buttom
body{ padding-bottom: 20px; padding-top: 20px; } .footer{ padding-top: 20px; padding-bottom: 20px; margin-top: 40px; border-top: 1px solid #eee; } .navbar{ margin-bottom: 20px; } .language-buttom{ background-color: transparent; text-decoration: underline; border: none; cursor: pointer; } /* https://github.c...
body{ padding-bottom: 20px; padding-top: 20px; } .footer{ padding-top: 20px; padding-bottom: 20px; margin-top: 40px; border-top: 1px solid #eee; } .navbar{ margin-bottom: 20px; } .language-buttom{ background-color: transparent; text-decoration: none; border: none; cursor: pointer; } /* https://github.com/ho...