Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Update css to fix build errors.
@tailwind base; /*Customised Elements*/ p a { color: #000c4e; font-weight: bold; text-decoration-line: underline; text-decoration-style: solid; text-decoration-color: hsl(70, 100%, 40%); } form ul { list-style: disc; text-indent: 1em; padding-left: 2em; padding-bottom: 1em; } h1, h2, h3 { color:...
@tailwind base; @tailwind components; .pagination { @apply list-none flex mx-auto; } .pagination li { @apply mt-4 mb-2 mx-2; } .pagination li a { @apply text-sm border-0 rounded px-3 py-2 bg-primary text-gold mx-auto no-underline; } @tailwind utilities; /*Custom Classes*/ .text-shadow-black { text-shadow:...
Remove unecessary focused grid active cell style.
.zambezi-grid-cell.is-selected { background-color: yellow; } .zambezi-grid-cell.is-active { border: 2px dotted rgba(255, 0, 255, 0.4); } .zambezi-grid:focus .zambezi-grid-cell.is-active { border: 2px dotted magenta; } .zambezi-grid-cell.is-active.editable-cell:hover { border: 2px dotted green; }
.zambezi-grid-cell.is-selected { background-color: yellow; } .zambezi-grid-cell.is-active { border: 2px dotted rgba(255, 0, 255, 0.4); } .zambezi-grid-cell.is-active.editable-cell:hover { border: 2px dotted green; }
Fix RTL for font sample text div by using a fixed width instead of absolutely positioning it.
#font-settings > section > .font-input-div { -webkit-margin-end: 4em; } .font-input-div > div > select { margin-bottom: 10px; } .font-input-div > div > .font-input { width: 12em; } #font-settings > section > .font-sample-div { height: 90px; overflow: hidden; position: absolute; } .font-settings-huge { ...
#font-settings > section > .font-input-div { -webkit-margin-end: 4em; } .font-input-div > div > select { margin-bottom: 10px; } .font-input-div > div > .font-input { width: 12em; } #font-settings > section > .font-sample-div { height: 90px; overflow: hidden; width: 300px; } .font-settings-huge { float...
Add styling for ng-promise-x classes for object promises
.body { color: black; } .ng-promise-pending { color: orange; } .ng-promise-resolved { color: lawngreen; } .ng-promise-resolved.ng-promise-settled { color: lightgreen; } .ng-promise-rejected { color: red; } .ng-promise-rejected.ng-promise-settled { color: palevioletred; } /* First */ .first.ng-promise...
.body { color: black; } .ng-promise-pending { color: orange; } .ng-promise-resolved { color: lawngreen; } .ng-promise-resolved.ng-promise-settled { color: lightgreen; } .ng-promise-rejected { color: red; } .ng-promise-rejected.ng-promise-settled { color: palevioletred; } /* First */ .ng-promised-firs...
Upgrade to 1.5 - Windows / Dupe Fix
.button { -webkit-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0; -moz-box-shadow:rgba(0,0,0,0.98) 0 1px 0 0; box-shadow:rgba(0,0,0,0.98) 0 1px 0 0; background-color:#EEE; border-radius:0; -webkit-border-radius:0; -moz-border-radius:0; border:1px solid #999; color:#6A6; font-family:'Lucida Grande',Tahoma,Verdana,Aria...
Increase the body top padding
BODY { padding-top: 45px; } SPAN.inherit { font-style: italic; } A.selected { font-size: large; font-weight: bold; } DIV#topspread { padding: 0px 5px; } DIV.menu { margin-bottom: 10px; } /** Copy of "#right h3" */ DIV#left H3 { height: 30px; line-height: 30px; color: #fff; ...
BODY { padding-top: 60px; } SPAN.inherit { font-style: italic; } A.selected { font-size: large; font-weight: bold; } DIV#topspread { padding: 0px 5px; } DIV.menu { margin-bottom: 10px; } /** Copy of "#right h3" */ DIV#left H3 { height: 30px; line-height: 30px; color: #fff; ...
Fix bug with fill left theme in which it doesn’t hide when pace is inactive
.pace { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .pace .pace-progress { background-color: `Color(args.color).clearer(0.8).rgbString() || "rgba(0, 0, 0, 0.2)"`; position: fixed; z-index: -1; top: 0; left: 0; bottom:...
.pace { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .pace-inactive { display: none; } .pace .pace-progress { background-color: `Color(args.color).clearer(0.8).rgbString() || "rgba(0, 0, 0, 0.2)"`; position: fixed; z-inde...
Change the look and feel
/* Highlight interlanguage links for Wikipedia */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("wikipedia.org") { #p-lang li.interwiki-en a, #p-lang li.interwiki-ja a { color: #fff !important; font: 18px/1.8 "Arial", sans-serif !important; text-align: center !important; padding: 0 !important; bac...
/* Highlight interlanguage links for Wikipedia */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("wikipedia.org") { #p-lang li.interwiki-en a, #p-lang li.interwiki-ja a { color: #fff !important; font: 1.4rem/1.8 sans-serif !important; text-align: center !important; text-decoration: none !important;...
Move the tile margin to the bottom
.navbar { margin-top: 30px; } .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: 8e...
.navbar { margin-top: 30px; } .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: 8e...
Remove the hardcoded horizontal margin.
@import '@teamleader/ui-colors'; @import '@teamleader/ui-typography'; @import '@teamleader/ui-utilities'; .label { font-family: var(--font-family-medium); text-transform: none; vertical-align: middle; } .neutral { color: var(--color-teal-darkest); } @each $color in (mint, violet, ruby, gold, aqua) { .$(col...
@import '@teamleader/ui-colors'; @import '@teamleader/ui-typography'; @import '@teamleader/ui-utilities'; .label { font-family: var(--font-family-medium); text-transform: none; vertical-align: middle; } .neutral { color: var(--color-teal-darkest); } @each $color in (mint, violet, ruby, gold, aqua) { .$(col...
Fix boolean checkbox if form-vertical
/* *= require bootstrap *= require google-code-prettify */ .alert p.error_notification { margin-bottom: 0; } header.master { padding-top: 60px; } div.well { padding: 5px 10px; } pre { display: none; } article .content { margin: 10px 0; } #article-comments { padding: 10px; border: 1px solid #ccc; b...
/* *= require bootstrap *= require google-code-prettify */ .alert p.error_notification { margin-bottom: 0; } header.master { padding-top: 60px; } div.well { padding: 5px 10px; } pre { display: none; } article .content { margin: 10px 0; } #article-comments { padding: 10px; border: 1px solid #ccc; b...
Change padding and margin for *
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's * vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to a...
/* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's * vendor/assets/stylesheets directory can be referenced here using a relative path. * * You're free to a...
Fix invalid CSS selector on Windows
row > hbox, row > vbox { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; } row vbox[fieldname], { margin-left: 1px; } .creator-type-label image { margin-bottom: 0; } textbox { padding: 2px 2px 2px 2px; margin: -1px 0 -1px 1px; } #item-type-menu...
row > hbox, row > vbox { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; } row vbox[fieldname] { margin-left: 1px; } .creator-type-label image { margin-bottom: 0; } textbox { padding: 2px 2px 2px 2px; margin: -1px 0 -1px 1px; } #item-type-menu ...
Fix analysis view not scrolling.
/* Copyright (c) 2013 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. */ .analysis-view { background-color: white; display: -webkit-flex; } .analysis-view.viewing-old-style-analysis { overflow: auto; } .analysis...
/* Copyright (c) 2013 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. */ .analysis-view { background-color: white; display: -webkit-flex; overflow: auto; } .analysis-view.viewing-old-style-analysis { overflow: ...
Add in a css fix for releases
div.sidebar { margin: 0px; border: 0px; padding: 0px; background-color: inherit; } div.sidebar .sidebar-title { display: none; } form.navbar-form { padding: 0px 10px; }
div.sidebar { margin: 0px; border: 0px; padding: 0px; background-color: inherit; } div.sidebar .sidebar-title { display: none; } form.navbar-form { padding: 0px 10px; } div#changelog > div.section > ul > li > p:only-child { margin-bottom: 0; }
Fix headline on small devices
* { font-family: 'Montserrat', sans-serif; } body { background-color: #000; color: #fff; text-align: center; } .container-fluid { background-color: #222; padding: 0; padding-top: 70px; } #result-container { margin: 0; } a, a:hover { color: #fff; } h1 { font-size: 5em; color: #fff; } .head { ...
* { font-family: 'Montserrat', sans-serif; } body { background-color: #000; color: #fff; text-align: center; } .container-fluid { background-color: #222; padding: 0; padding-top: 70px; } #result-container { margin: 0; } a, a:hover { color: #fff; } h1{ color: #fff; } @media (min-width:768px) { ...
Change good-medium-bad styling to background color
header, main, footer { margin: 0 auto; max-width: 40rem; } table { text-align: left; } .good { color: darkgreen; } .medium { color: darkorange; } .bad { color: darkred; }
header, main, footer { margin: 0 auto; max-width: 40rem; } table { text-align: left; } .good { background-color: rgb(200,255, 200); } .medium { background-color: rgb(255, 255, 170); } .bad { background-color: rgb(255, 200, 200); }
Update annotation body styles to include table styles
/* This isn't strictly BassCSS here, but it's the only easy way to render the * different elements within an annotation body */ .annotation-body pre { padding: 10px; margin: 1em 0; } .annotation-body details > summary { cursor: pointer; } .annotation-body details[open] > summary { margin-bottom: 1em; } .an...
/* * Styles for annotation bodies * Note that this is defined separately for the app and emails, * so both places should be kept in sync as much as possible. */ .annotation-body pre { padding: 10px; margin: 1em 0; } .annotation-body details > summary { cursor: pointer; } .annotation-body details[open] ...
Add pointer style to annotation summary
/* This isn't strictly BassCSS here, but it's the only easy way to render the * different elements within an annotation body */ .annotation-body pre { padding: 10px; margin-bottom: 10px; } .annotation-body details summary { outline: none !important; } .annotation-body details[open] summary { margin-bottom: ...
/* This isn't strictly BassCSS here, but it's the only easy way to render the * different elements within an annotation body */ .annotation-body pre { padding: 10px; margin-bottom: 10px; } .annotation-body details summary { cursor: pointer; } .annotation-body details[open] summary { margin-bottom: 10px; }
Fix tag hover color in dark mode
.dark .label.label-default { color: #fff; }
.dark .label.label-default { color: #fff; } .dark .label.label-default:hover { color: #000; }
Add url() function around the namespace URI.
/** * Hoa Framework * * * @license * * GNU General Public License * * This file is part of HOA Open Accessibility. * Copyright (c) 2007, 2010 Ivan ENDERLIN. All rights reserved. * * HOA Open Accessibility is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
/** * Hoa Framework * * * @license * * GNU General Public License * * This file is part of HOA Open Accessibility. * Copyright (c) 2007, 2010 Ivan ENDERLIN. All rights reserved. * * HOA Open Accessibility is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
Add CSS file for all quality metrics pages
.aqm1 { } .aqm2 { } .aqm3 { } .aqm4 { } .aqm5 { } .aqm6 { } .aqm7 { } .aqm8 { } .aqm9 { } .aqm10 { } .aqm11 { } .aqm12 { } .aqm13 { } .aqm14 { } .aqm15 { } .aqm16 { } .aqm17 { } .aqm18 { } .aqm19 { } .aqm20 { } table { border-collapse: collapse; background-color: #ffffff; border-color: #ffffff; font-s...
Adjust font-size and padding at different viewport sizes
body { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; } h1 { font-size: 400%; padding: 150px 0px 50px 0px; } p, h1 { text-align: center; } p { padding-top: 20px; letter-spacing: .5px; } .socialbuttons { text...
body { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; } h1 { font-size: 200%; padding: 50px 0px 50px 0px; } p, h1 { text-align: center; } p { padding-top: 20px; letter-spacing: .5px; } .socialbuttons { text-...
Reduce size of period font
#clockNumbers { font-family: Roboto, sans-serif; font-size: 80px; line-height: 80%; } #clockPeriod { color: #FFF; font-size: 45px; line-height: 80%; } #clockSeconds { font-family: Roboto, sans-serif; font-weight: 100; font-size: 35px; line-height: 80%; } #clockDate { font-size: 35px; margin-l...
#clockNumbers { font-family: Roboto, sans-serif; font-size: 80px; line-height: 80%; } #clockPeriod { color: #FFF; font-size: 42px; line-height: 80%; } #clockSeconds { font-family: Roboto, sans-serif; font-weight: 100; font-size: 35px; line-height: 80%; } #clockDate { font-size: 35px; margin...
Reduce margin to 0, which bring the page width down. This makes two pics on the index fit exactly onto a 360px wide screen, such as a phone
body { background-color: #FFFFEE; } ul.thumbnail-list { list-style-type: none; padding: 0; } li { display: inline; } .index { margin-left: auto; margin-right: auto; text-align: center; /*fit inside a 1024 monitor.*/ max-width: 950px } .thumbnail-cntr { background-color: #2c1fc0; border-style: s...
body { background-color: #FFFFEE; margin: 0 } ul.thumbnail-list { list-style-type: none; padding: 0; } li { display: inline; } .index { margin-left: auto; margin-right: auto; text-align: center; /*fit inside a 1024 monitor.*/ max-width: 950px } .thumbnail-cntr { background-color: #2c1fc0; bo...
Add 'overflow: hidden' to autofill items so we don't occlude the close button.
.autofill-list-item { -webkit-box-flex: 1; -webkit-padding-start: 8px; } .autofill-list-item + img { -webkit-padding-end: 20px; vertical-align: middle; } #autofill-options > div:last-child { margin-top: 15px; } #autofill-options > div.settings-list > div:last-child { border-top: 1px solid #D9D9D9; padd...
.autofill-list-item { -webkit-box-flex: 1; -webkit-padding-start: 8px; overflow: hidden; text-overflow: ellipsis; } .autofill-list-item + img { -webkit-padding-end: 20px; vertical-align: middle; } #autofill-options > div:last-child { margin-top: 15px; } #autofill-options > div.settings-list > div:last-...
Change content exception table styling.
/* Copyright (c) 2010 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. */ .exception-pattern { -webkit-box-flex: 1; -webkit-margin-end: 10px; -webkit-margin-start: 14px; } .exception-setting { -webkit-margin-end: 20px;...
/* Copyright (c) 2010 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. */ .exception-pattern { -webkit-box-flex: 1; -webkit-margin-end: 10px; -webkit-margin-start: 14px; } .exception-setting { display: inline-block; ...
Add the border to the User details card
/*display table and table-cell ie fix*/ dl.alerts li.alert{ margin-bottom: 5px; } dl.alerts li.alert dt, dl.alerts li.alert dd{ display: inline; } /* add proper spacing to the catalog dropdown button on pools#show */ #obj_actions .catalog_link { margin-right: 5px; } /* fix the height of the submit buttons */ input[...
/*display table and table-cell ie fix*/ dl.alerts li.alert{ margin-bottom: 5px; } dl.alerts li.alert dt, dl.alerts li.alert dd{ display: inline; } /* add proper spacing to the catalog dropdown button on pools#show */ #obj_actions .catalog_link { margin-right: 5px; } /* fix the height of the submit buttons */ input[...
Add text-align right to flex fields.
body { font-family: "Arimo", serif; } .tabpanel-container { display: block; margin-top: 20px; } .tabpanel-container md-content { height: 130px; }
body { font-family: "Arimo", serif; } .tabpanel-container { display: block; margin-top: 20px; } .tabpanel-container md-content { height: 130px; } [flex] { text-align: right; }
Archive title line-heigh fixed on iphone/ipad
/* ==|== media queries ====================================================== */ @media only screen and (max-width: 480px) { #head hgroup h1 a{ font-size: 37px; line-height: 45px;} #head hgroup h2{ font-size: 20px; line-height: 30px;} #content{ padding-bottom: 50px; border-bottom: 4px solid #bcbcbc; margin-...
/* ==|== media queries ====================================================== */ @media only screen and (max-width: 480px) { #head hgroup h1 a{ font-size: 37px; line-height: 45px;} #head hgroup h2{ font-size: 20px; line-height: 30px;} #content{ padding-bottom: 50px; border-bottom: 4px solid #bcbcbc; margin-...
Add border radius to form elements.
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; } h1 { font-weight: lighter; margin: 0 0 30px 0; text-align: center; } .form-title { color: white; } form { color: white; max-width:300px; mar...
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; } h1 { font-weight: lighter; margin: 0 0 30px 0; text-align: center; } .form-title { color: white; } /* form */ form { color: white; max-width:...
Increase min-width of template previews
@import 'part:@sanity/base/theme/variables-style'; .root { display: grid; width: 100%; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); grid-gap: var(--medium-padding); margin: 0; padding: 0; } .item { display: block; padding: 0; margin: 0; }
@import 'part:@sanity/base/theme/variables-style'; .root { display: grid; width: 100%; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); grid-gap: var(--medium-padding); margin: 0; padding: 0; } .item { display: block; padding: 0; margin: 0; }
Change background color to transparent.
:host { display: block; margin: calc(1%) calc(5%); min-height: calc(50vh); position: relative; } .table { overflow-y: scroll; margin-bottom: calc(5%); } .nodes-input-block { display: block; margin-bottom: calc(15%); } .node-input-table-wrapper { z-index: 9999; margin-bottom...
:host { display: block; margin: calc(1%) calc(5%); min-height: calc(50vh); position: relative; } .table { overflow-y: scroll; margin-bottom: calc(5%); } .nodes-input-block { display: block; margin-bottom: calc(15%); } .node-input-table-wrapper { padding-bottom: calc(0.5%); ...
Add CSS for todo list.
/* SkCode TO.DO list */ .task_done { text-decoration: line-through; list-style-type: none; } .task_done p:before { font-family: FontAwesome; content:'\f046'; display: inline-block; padding-right: 3px; vertical-align: middle; } .task_pending { list-style-type: none; } .task_pending p:...
Add style for teal fragments.
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 1em; padding-bottom: 2em; } .reveal .photo-credit { position: absolute; font-size: x-small; bottom: 1em; color: #888; } .reveal .photo-credit a { color: #ccc; } dt { color: #00C5CD; }
.reveal .text-bg { background-color: rgba(0, 0, 0, 0.8); color: #fff; padding: 1em; padding-bottom: 2em; } .reveal .photo-credit { position: absolute; font-size: x-small; bottom: 1em; color: #888; } .reveal .photo-credit a { color: #ccc; } dt { color: #00C5CD; } .reveal .slides section .fragment...
Add a - yet unused - stylesheet
/* * http://lea.verou.me/demos/css3-patterns.html class="horizontal stripes" class="vertical stripes" class="angled stripes" */ .stripes { /* height: 250px; width: 375px; float: left; margin: 10px; -moz-box-shadow: 1px 1px 8px gray; box-shadow: 1px 1px 8px gray;*/ background-size: 50px 50px; } .a...
Add default and min map heights.
#applist .media i { text-align: center; } #calendar th { text-align: center; width: 14.2857142857%; } #calendar .forecast { width: 100%; clear: both; text-align: center; font-size: smaller; } @media (max-width: 600px) { #calendar table, #calendar thead, #calendar tbody, #calendar th, #calendar td, #cale...
#applist .media i { text-align: center; } #calendar th { text-align: center; width: 14.2857142857%; } #calendar .forecast { width: 100%; clear: both; text-align: center; font-size: smaller; } @media (max-width: 600px) { #calendar table, #calendar thead, #calendar tbody, #calendar th, #calendar td, #cale...
Fix Add button drop down indicator
select.credentials-select { width:auto; vertical-align: top; } div.credentials-select-content-inactive { display:none; } div#credentialsDialog {overflow-y: scroll;} body.masked {overflow-y: hidden;} @media (min-width: 1600px) { select.credentials-select { max-width: 90%; } } @media (max-width: 1600px...
select.credentials-select { width:auto; vertical-align: top; } button.credentials-add-menu { padding:0 20px 0 10px; } div.credentials-select-content-inactive { display:none; } div#credentialsDialog {overflow-y: scroll;} body.masked {overflow-y: hidden;} @media (min-width: 1600px) { select.credentials-select { ...
Set a max width for CMS field
.focus-point-field { display: block; margin: 0; overflow: hidden; border-radius: 3px; display: inline-block; position: relative; left: 0; top: 0; } .focus-point-field img { display: block; margin: 0; width: auto; height: auto; max-width: 100%; max-height: 150px; } .focus-point-field .grid { width: 100%...
.focus-point-field { display: block; margin: 0; overflow: hidden; border-radius: 3px; display: inline-block; position: relative; left: 0; top: 0; max-width: 300px; } .focus-point-field img { display: block; margin: 0; width: auto; height: auto; max-width: 100%; max-height: 150px; } .focus-point-field ....
Remove pointer cursor to keep consistency.
.sc-authors-list.sm-hidden { display: none; } .sc-authors-list { cursor: default; } .sc-authors-list .se-contrib { padding: var(--t-input-padding); margin: var(--t-negative-list-padding); cursor: pointer; } .sc-authors-list .se-contrib.sm-empty { color: var(--t-light-text-color); } .sc-authors-list .se-...
.sc-authors-list.sm-hidden { display: none; } .sc-authors-list { cursor: default; } .sc-authors-list .se-contrib { padding: var(--t-input-padding); margin: var(--t-negative-list-padding); cursor: default; } .sc-authors-list .se-contrib.sm-empty { color: var(--t-light-text-color); } .sc-authors-list .se-...
Disable the footer for the time being
html { height: 100%; width: 100%; } body { padding: 0; margin: 0; background-color: white; height: 100%; width: 100%; } #map { position: absolute; top: 0; bottom: 30px; left: 0; right: 0; height: 100%; width: 100%; } #header { width: auto; height: auto;...
html { height: 100%; width: 100%; } body { padding: 0; margin: 0; background-color: white; height: 100%; width: 100%; } #map { position: absolute; top: 0; bottom: 30px; left: 0; right: 0; height: 100%; width: 100%; } #header { width: auto; height: auto;...
Fix an issue where the sample font text would display outside its containing div. Also fix a margin issue.
#font-settings > section > .font-input-div { -webkit-margin-end: 5em; } .font-input-div > div > select { margin-bottom: 10px; } .font-input-div > div > .font-input { width: 12em; } #font-settings > section > .font-sample-div { position: absolute; } .font-settings-huge { float: right; }
#font-settings > section > .font-input-div { -webkit-margin-end: 4em; } .font-input-div > div > select { margin-bottom: 10px; } .font-input-div > div > .font-input { width: 12em; } #font-settings > section > .font-sample-div { height: 90px; overflow: hidden; position: absolute; } .font-settings-huge { ...
Make header draggable and add spacing between circle buttons
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Add [selected] rule for x-tabbar-tab so they look visually different
html, body { height: 100%; padding: 0; margin: 0; }
html, body { height: 100%; padding: 0; margin: 0; } x-tabbar-tab[selected] { background: rgba(14, 115, 161, 1); }
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; ...
Add a break-word utility css class.
ul { margin-left: 0; margin-bottom: 0; } li { list-style: none; padding: 4px; } li li { padding-top: 0px; padding-bottom: 0px; } li.selected { background-color: #cee; } .modal-body { height: 400px; } thead { background: #fafafa; border-bottom: 1px solid #ddd; } table { font-size: 12px; } .table th { ...
ul { margin-left: 0; margin-bottom: 0; } li { list-style: none; padding: 4px; } li li { padding-top: 0px; padding-bottom: 0px; } li.selected { background-color: #cee; } .modal-body { height: 400px; } thead { background: #fafafa; border-bottom: 1px solid #ddd; } table { font-size: 12px; } .table th { ...
Make the branchable action bar less visible.
.title { display : none; } .actions { font-family : sans; font-size : smaller; } .actions a { color : grey; text-decoration : none; }
Add hover color for labels
ul.tags li { display: inline-block; margin: 0 5px 10px 5px; padding: 5px; background-color: #fff; border: 1px solid #ff8600; color: #777; cursor: pointer; } ul.tags li.selected { background-color: #ff8600; color: #fff; }
ul.tags li { display: inline-block; margin: 0 5px 10px 5px; padding: 5px; background-color: #fff; border: 1px solid #ff8600; color: #777; cursor: pointer; } ul.tags li.selected { background-color: #ff8600; color: #fff; } ul.tags li:hover { background-color: #FF9966; }
Fix width email submit form
#body-login #email, #body-login #username, #body-login #password { width: 223px; padding-left: 36px; } #email-icon, #username-icon, #password-icon { position: absolute; left: 16px; top: 22px; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter: alpha(opacity=30); opacity: .3; } #username-i...
#body-login #email, #body-login #username, #body-login #password { width: calc(100% - 56px); padding-left: 36px; } #email-icon, #username-icon, #password-icon { position: absolute; left: 16px; top: 22px; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; filter: alpha(opacity=30); opacity: .3; }...
Add margin to improve layout on mobile.
.dropdown { display: inline-block; } .dropdown-toggle { min-width: 12em; } .dropdown a:hover { cursor: pointer; } .tooltip-inner { text-align: left; } .name { display: inline-block; background-color: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 0.25em; padding: .1em 0.25em; margin: 0.2em...
.dropdown { display: inline-block; margin: 0.2em; } .dropdown-toggle { min-width: 12em; } .dropdown a:hover { cursor: pointer; } .tooltip-inner { text-align: left; } .name { display: inline-block; background-color: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 0.25em; padding: .1em 0.2...
Add height, width, background color, and margin to class cell divs
#board { height: 400px; width: 800px; background-color: #3399ff; }
#board { height: 400px; width: 800px; background-color: #3399ff; } .cell { height: 90px; width: 190px; background-color: #ffcc33; display: inline-block; margin: 3px; }
Make title and descr columns of 100% width to stretch table, all other columns whitespace set to no-wrap
/* Original */ .DNN_Documents TD { padding: 4px; } .SizeCell, .ClicksCell { text-align:right; } .dnnEditDocs{width:100%;margin:2em auto;} .dnnEditDocs .dnnFormItem input[type=checkbox], .dnnTabsModule .dnnFormItem input[type=radio]{width:auto;} .dnnEditDocs .dnnRight{display:block;width: 68%;} .d...
.DNN_Documents table td { padding: 4px; white-space:nowrap } .SizeCell, .ClicksCell { text-align:right; } .TitleCell, .DescriptionCell { width:100%; white-space:wrap } .dnnEditDocs{width:100%;margin:2em auto;} .dnnEditDocs .dnnFormItem input[type=checkbox], .dnnTabsModule .dnnFormItem inpu...
Fix the overlapping with legend and timestamp
/* Display map in full screen for X-RAIN */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url-prefix("http://www.river.go.jp/x/krd0107010.php") { /* Display map in full screen */ #main { width: 100% !important; } #map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width:...
/* Display map in full screen for X-RAIN */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url-prefix("http://www.river.go.jp/x/krd0107010.php") { /* Display map in full screen */ #main { width: 100% !important; } #map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width:...
Add alternate color and box shadow to the buttons
body { font-family: 'Ubuntu Condensed', sans-serif; font-weight: bold; background: #e3ede7; } .wrapper { margin: auto; max-width: 520px; } .buttons { text-align: center; margin-top: 1.5em; margin-bottom: 0.5em; } .button { width: 4.5em; height: 2.2em; margin: 0.5em; border: #74a588 solid 3px;...
body { font-family: 'Ubuntu Condensed', sans-serif; font-weight: bold; background: #e3ede7; } .wrapper { margin: auto; max-width: 520px; } .buttons { text-align: center; margin-top: 1.5em; margin-bottom: 0.5em; } .button { width: 4.5em; height: 2.2em; margin: 0.5em; border: #74a588 solid 3px;...
Update img's size to relative
input.form-control { outline: 0; width: 95%; margin: 5px; } input.form-control:focus{ box-shadow: none; } #directory-current-page { color: orange; } .pane { background-color: #333; } .pane img { width: auto; height: auto; max-width: 800px; max-height: 800px; position: absolute; top: 0; right...
input.form-control { outline: 0; width: 95%; margin: 5px; } input.form-control:focus{ box-shadow: none; } #directory-current-page { color: orange; } .pane { background-color: #333; } .pane img { width: auto; height: auto; max-width: 100%; max-height: 100%; position: absolute; top: 0; right: ...
Use scrollbar in legend dialog
#legend_panel_content { min-height: 400px; } .layer_legend_header { display: table; text-align: left; } .layer_legend_container { border: 0; } .legend_image { text-align: left; } .legend_image>img { min-width: 20px; min-height: 20px; } .layer_legend_source_label { position: absolute; ...
#legend_panel_content { height: 400px; overflow-y: auto; } .layer_legend_header { display: table; text-align: left; } .layer_legend_container { border: 0; } .legend_image { text-align: left; } .legend_image>img { min-width: 20px; min-height: 20px; } .layer_legend_source_label { posi...
Fix scroll styling on non-Mac devices
.panes { display: flex; flex-grow: 1; box-sizing: border-box; position: relative; flex-direction: row; align-items: stretch; } .pane { overflow: hidden; flex-grow: 1; position: relative; overflow: scroll; border-right: 1px solid #ccc; } .paneItems { display: block; list-style: none; margin...
.panes { display: flex; flex-grow: 1; box-sizing: border-box; position: relative; flex-direction: row; align-items: stretch; } .pane { overflow: hidden; flex-grow: 1; position: relative; overflow-y: auto; border-right: 1px solid #ccc; } .paneItems { display: block; list-style: none; margin...
Fix the responsive behavior of the works grid
.Works { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 2.618rem; }
.Works { display: grid; grid-template-columns: repeat(auto-fill, 315px); grid-gap: 2.618rem; justify-content: center; }
Add section headers for CSS
.panel-heading, .panel-footer { background-color: black; } .panel-heading h1, .panel-footer h1 { color: #FFF0F5; } .carousel { width: 100%; margin: 0 auto; } .carousel-caption { background-color: rgba(119, 129, 134, 0.8); border-radius: 5px; } .shadow-heavy { text-shadow: 1px 1px 2px black, ...
/******************/ /* Carousel Frame */ /******************/ .panel-heading, .panel-footer { background-color: black; } .panel-heading h1, .panel-footer h1 { color: #FFF0F5; } .carousel { width: 100%; margin: 0 auto; } .carousel-caption { background-color: rgba(119, 129, 134, 0.8); border-radius: 5px; ...
Create a CSS "viewport" that is mobile-friendly
html { font-family: 'Slabo 27px', serif; background-color: #E7FEFF; } .socialmedia { float: left; } .links { float: right; } #aboutme { display: inline-block; } .picture-right { float: right; margin: 10px; } .picture-left { /*float: left;*/ margin: 10%; } .picture-left.thumbnail { width: 200px; height:...
html { font-family: 'Slabo 27px', serif; background-color: #E7FEFF; } .socialmedia { float: left; } .links { float: right; } #aboutme { display: inline-block; } .picture-right { float: right; margin: 10px; } .picture-left { /*float: left;*/ margin: 10%; } .picture-left.thumbnail { width: 200px; height:...
Add Verdana, sans-serif as default font families
/* 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; } .a...
/* Custom style sheet */ body { font-family: Verdana, sans-serif; } .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...
Add fix for FxButton support
/* FxButton * id: {c6448328-31f7-4b12-a2e0-5c39d0290307} * URL: https://addons.mozilla.org/firefox/addon/fxbutton/ */ #TabsToolbar #appmenu-toolbar-button.fxbutton:not(:first-child) > .toolbarbutton-icon, toolbar:not(#TabsToolbar) #appmenu-toolbar-button.fxbutton > .toolbarbutton-icon { list-style-image: url(chrom...
/* FxButton * id: {c6448328-31f7-4b12-a2e0-5c39d0290307} * URL: https://addons.mozilla.org/firefox/addon/fxbutton/ */ #TabsToolbar #appmenu-toolbar-button.fxbutton:not(:first-child) > .toolbarbutton-icon, toolbar:not(#TabsToolbar) #appmenu-toolbar-button.fxbutton > .toolbarbutton-icon { list-style-image: url(chrom...
Add margin top for h1 title
html { height: 100% } body { background: #fafafa url("./livedoc-logo-round-gray.svg") no-repeat center; }
html { height: 100% } body { background: #fafafa url("./livedoc-logo-round-gray.svg") no-repeat center; } h1 { margin-top: 1rem; }
Set font-family back to Open Sans (font-family wasn't applied anymore due to changes in the source css). Add media queries to resize the font-size based on the width of the window.
h1 { text-align: left; } .blog-header h1, .blog-header h2 { text-align: center; } body { font-family: 'Open Sans',sans-serif; } pre.language-mermaid { background: none !important; border: none !important; } pre.language-mermaid g.label { color: #000; } #body #breadcrumbs span { padding: 0 1rem; }
h1 { text-align: left; } .blog-header h1, .blog-header h2 { text-align: center; } html, body, button, input, select, textarea, .pure-g, .pure-g [class*="pure-u"] { font-family: 'Open Sans',sans-serif; } pre.language-mermaid { background: none !important; border: none !important; } pre.language-mermaid g.label ...
Change the look of top banner
.pure-menu.pure-menu-fixed.main-menu { border-bottom: none; } .pure-button.signup-button { margin: 2px; } .splash-container { background: #521F8F; width: 100%; height: 100%; top: 0; left: 0; position: fixed; } .splash { width: 50%; height: 50%; margin: auto; position: ...
.pure-menu.pure-menu-fixed.main-menu { background: #E6E6E6; border-bottom: none; } .pure-button.signup-button { margin: 2px; } .splash-container { background: #521F8F; width: 100%; height: 100%; top: 0; left: 0; position: fixed; } .splash { width: 50%; height: 50%; mar...
Remove bottom padding in entry
.timeline { position: relative; margin-bottom: 10px; } .timeline-entry { padding-bottom: 10px; position: relative; page-break-inside: avoid; } .timeline-date { position: absolute; transform: translateX(calc(-100% - 8px)); padding: 8px; border-radius: 8px; flex-shrink: 0; background-colo...
.timeline { position: relative; margin-bottom: 10px; } .timeline-entry { position: relative; page-break-inside: avoid; } .timeline-date { position: absolute; transform: translateX(calc(-100% - 8px)); padding: 8px; border-radius: 8px; flex-shrink: 0; background-color: #ff7827; color: rgb...
Change styles from cards and list to better look
/* close commented backslash hack */ .page-content { padding: 10px 0; } .page-content .mdl-card { width: auto; max-width: 90%; margin: 0 auto; } .mdl-list { margin-top: 0; padding-top: 0; } .mdl-list__item--three-line .mdl-list__item-text-body { height: auto; padding: 5px 0; } .mdl-list__item--with-...
/* close commented backslash hack */ .page-content { padding: 10px 0; } .page-content .mdl-card { width: auto; max-width: 90%; margin: 0 auto; } .mdl-list { margin-top: 0; padding-top: 0; } .mdl-list__item--three-line .mdl-list__item-text-body { height: auto; padding: 5px 0; } .mdl-list__item--with-...
Clean up unused embed css
/* Rules for the page layout */ body { background-color: #224eb7; font-family: arial; font-size: 15px; } #browser-compatibility { display: none; position: absolute; width: 275px; margin-top: -58px; margin-left: -137px; top: 40%; left: 50%; background: white; text-align: center; } .about { po...
/* Rules for the page layout */ body { background-color: #224eb7; font-family: arial; font-size: 15px; } #browser-compatibility { display: none; position: absolute; width: 275px; margin-top: -58px; margin-left: -137px; top: 40%; left: 50%; background: white; text-align: center; } .about { po...
Fix css to be compatible with older browsers that are not cool enough for CSS3
html, body { margin:0; padding:0; height:100%; } #container { min-height: calc(100% - 60px); position: relative; padding-top: 60px; } #main-content { padding-bottom: 237px; } footer { background-color: #8BC53F; height: 200px; margin-top: 35px; border-top: 2px solid #000000; bottom:0; position: abs...
html, body { margin:0; padding:0; height:100%; } #container { min-height: 100%; min-height: calc(100% - 60px); padding-top: calc(60px); position: relative; } #main-content { padding-top: 60px; padding-top: calc(0px); padding-bottom: 237px; } footer { background-color: #8BC53F; height: 200px; margi...
Hide list when looking at the small screen
.main-container{ display: flex; flex-wrap: wrap; } .search-container{ width: 100%; margin-bottom: 5px; } .search-container input{ height: 20px; width:100%; } .location-list li{ word-wrap: break-word; margin: 15px 0; cursor: pointer; } .location-list-container{ width: 100%; height:600px; over...
.main-container{ display: flex; flex-wrap: wrap; } .search-container{ width: 100%; margin-bottom: 5px; } .search-container input{ height: 20px; width:100%; } .location-list li{ word-wrap: break-word; margin: 15px 0; cursor: pointer; } .location-list-container{ display: none; } .map-container{ ...
Add appropiate images for horizontal orientation to MPositionIndicator's css
/* MPositionIndicatorStyle : MWidgetStyle */ MPositionIndicatorStyle { indicator-image: "meegotouch-positionindicator-indicator" 2px 2px 2px 2px; background-image: "meegotouch-positionindicator-background" 2px 2px 2px 2px; minimum-size: 0.6mm 0.6mm; preferred-size: -1 -1; maximum-size...
/* MPositionIndicatorStyle : MWidgetStyle */ MPositionIndicatorStyle { indicator-image: "meegotouch-positionindicator-indicator" 2px 2px 2px 2px; background-image: "meegotouch-positionindicator-background" 2px 2px 2px 2px; indicator-image-horizontal: "meegotouch-positionindicator-indicator-horizontal"...
Improve style of list items
/* You can add global styles to this file, and also import other style files */ @import '~@angular/material/core/theming/prebuilt/indigo-pink.css'; body { width: 100%; margin: 0px; } label[for=md-input-0]:not([class~=md-empty]) { visibility: hidden; } .auto-complete-item { width: 500px; } .tag-item ...
/* You can add global styles to this file, and also import other style files */ @import '~@angular/material/core/theming/prebuilt/indigo-pink.css'; body { width: 100%; margin: 0px; } label[for=md-input-0]:not([class~=md-empty]) { visibility: hidden; } .result-item { padding: 6px; } .result-item:hove...
Add custom styling for gerbode highlights
@import 'tailwindcss/base'; /* Global */ html { @apply leading-relaxed text-lg antialiased text-gray-900 bg-white; } /* Headers */ h1 { @apply text-3xl my-6 font-bold; } h2 { @apply text-2xl my-6 font-bold; } h3, h4 { @apply text-xl my-3 font-semibold; } h5, h6 { @apply text-lg my-2; } a { @apply text...
@import 'tailwindcss/base'; /* Global */ html { @apply leading-relaxed text-lg antialiased text-gray-900 bg-white; } /* Headers */ h1 { @apply text-3xl my-6 font-bold; } h2 { @apply text-2xl my-6 font-bold; } h3, h4 { @apply text-xl my-3 font-semibold; } h5, h6 { @apply text-lg my-2; } a { @apply text...
Fix rotation center of spinning icon
/* Styles for the top bar */ /* The box that holds the button and input */ #formbox { padding: 0; display: block; overflow: hidden; /* Position */ position: fixed; top: 0; left: 0; width: 100vw; z-index: 1; /* Appearance */ box-shadow: 0 4px 4px -2px #ccc; } /* The buttons */ #formbox button {...
/* Styles for the top bar */ /* The box that holds the button and input */ #formbox { padding: 0; display: block; overflow: hidden; /* Position */ position: fixed; top: 0; left: 0; width: 100vw; z-index: 1; /* Appearance */ box-shadow: 0 4px 4px -2px #ccc; } /* The buttons */ #formbox button {...
Make the background of the comment flags transparent on IE.
body { } img, .box, .box-inner, .box h1.title { behavior: url("/scripts/pngfix.htc"); } /* IE doesn't support borders on tbodys or cols */ table.sidebyside tbody.collapsed td, table.sidebyside tbody.collapsed th { border-bottom: 1px #303030 solid; border-top: 1px #303030 solid; } /* Line number column and side...
body { } img, .box, .box-inner, .box h1.title, table.sidebyside .commentflag { behavior: url("/scripts/pngfix.htc"); } /* IE doesn't support borders on tbodys or cols */ table.sidebyside tbody.collapsed td, table.sidebyside tbody.collapsed th { border-bottom: 1px #303030 solid; border-top: 1px #303030 solid; } ...
Fix the menu using the wrong font
#leftside { border-right: 2px solid #dedede; display: inline; float: left; padding-right: 10px; width: 740px; } ul { font-family: 'Roboto', sans-serif; } #rightside { display: inline; float: left; padding: 9px; width: 230px; } iframe.facebook { background-color: transparent; border-width: 0; ...
#leftside { border-right: 2px solid #dedede; display: inline; float: left; padding-right: 10px; width: 740px; } ul { font-family: 'Roboto', sans-serif; } nav ul { font-family: 'Roboto Condensed', sans-serif; } #rightside { display: inline; float: left; padding: 9px; width: 230px; } iframe.face...
Document which style is the modal's
body { margin: 0px; font-family: Helvetica; } html, body, #map, #sidebar { height: 100%; } h1, h2, h3, h4, h5, h6 { margin: 0.5em 0px; } ul { margin: 0px; } label { display: inline-block; width: 3em; } input[type=text] { font-size: 100%; width: 220px; } #map { float: right; width: calc(100% - ...
body { margin: 0px; font-family: Helvetica; } html, body, #map, #sidebar { height: 100%; } h1, h2, h3, h4, h5, h6 { margin: 0.5em 0px; } ul { margin: 0px; } label { display: inline-block; width: 3em; } input[type=text] { font-size: 100%; width: 220px; } #map { float: right; width: calc(100% - ...
Adjust brand font and position
body { background: #eeeeee; text-align: center; } #body { background: #ffffff; text-align: left; padding: 15px; border: solid 1px #cccccc; margin-top: 50px; margin-left: auto; margin-right: auto; margin-bottom: 20px; } .smallLink { font-size: 0.8em; } .contentItem { margi...
body { background: #eeeeee; text-align: center; } #body { background: #ffffff; text-align: left; padding: 15px; border: solid 1px #cccccc; margin-top: 50px; margin-left: auto; margin-right: auto; margin-bottom: 20px; } .smallLink { font-size: 0.8em; } .contentItem { margi...
Adjust result title size and margin
body { padding: 0 16px; } label.timespan { margin-left: 20px; } .results { margin-top: 1em; } .result { margin: 0.5em 0; } .title { font-size: 1.2em; } .updated_at, .contet { font-size: 0.8em; }
body { padding: 0 16px; } label.timespan { margin-left: 20px; } .results { margin-top: 1em; } .result { margin: 1em 0; } .title { font-size: 1.4em; }
Make line-numbers styles more specific
pre.line-numbers { position: relative; padding-left: 3.8em; counter-reset: linenumber; } pre.line-numbers > code { position: relative; white-space: inherit; } .line-numbers .line-numbers-rows { position: absolute; pointer-events: none; top: 0; font-size: 100%; left: -3.8em; width: 3em; /* works for line...
pre[class*="language-"].line-numbers { position: relative; padding-left: 3.8em; counter-reset: linenumber; } pre[class*="language-"].line-numbers > code { position: relative; white-space: inherit; } .line-numbers .line-numbers-rows { position: absolute; pointer-events: none; top: 0; font-size: 100%; left: -...
Set privacy title margin bottom
/* * Style for components/Privacy/index.js */ .hr { width: 95%; margin: 40px auto 48px; border-top: 1px solid #92BBC2; } .title { font-size: 24px; color: #22727F; letter-spacing: -0.72px; padding-left: 36px; } .box { background-color: #FFF; border-radius: 4px; margin-top: 8p...
/* * Style for components/Privacy/index.js */ .hr { width: 95%; margin: 40px auto 48px; border-top: 1px solid #92BBC2; } .title { font-size: 24px; color: #22727F; letter-spacing: -0.72px; padding-left: 36px; } .box { background-color: #FFF; border-radius: 4px; margin-top: 8p...
Add lesson's excercise css file
h1{ background: #B3B3B3; font-size: 150%; } header{ background: #666666; text-align: center; } h1{ color: #FFFFFF; } nav{ font-variant: small-caps; font-size: 150%; font-family: Arial, "Time New Roman", serif; } h2{ color: #666666; background: #00B7E8; } details{ font-style: italic; } summary{ font-st...
Fix styling of code tags in headings (h1-6 tags)
div.admonition code { display: inline-block; overflow-x: visible; line-height: 18px; color: #404040; border: 1px solid rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.7); } div.admonition p { margin-bottom: 5px; } p, ol, ul { text-align: justify; } p code { word-wrap: normal; }
div.admonition code { display: inline-block; overflow-x: visible; line-height: 18px; color: #404040; border: 1px solid rgba(0, 0, 0, 0.2); background: rgba(255, 255, 255, 0.7); } div.admonition p { margin-bottom: 5px; } p, ol, ul { text-align: justify; } p code { word-wrap: normal; } h1 code, h2 c...
Fix app styles, footer, header, scroll area
.App { text-align: center; } .scrollable { height: calc(100vh - 120px); overflow-y: scroll; } .periods { margin-top: 7px; } .form { background-color: #fbfbfb; padding-bottom: 10px; display: flex; } .submit { flex: 1; align-self: center; } .search { flex: 1; } .App-logo { animation: App-logo-...
.App { text-align: center; } .fixed { width: 100%; z-index: 1; position: fixed; } .footer { right: 0; bottom: 0; background-color: #fff; position: fixed; } .app-tabs { background-color: white; } .periods { margin-top: 7px; } .form { background-color: #fbfbfb; padding-bottom: 10px; display...
Rewrite text-shadow on header headings
body.light { @apply bg-gray-200; @apply text-black; } .light a { @apply text-gray-900; @apply bg-white; @apply shadow; } .light a:hover, .light a:focus, .light a:active { @apply bg-blue-400; @apply text-white; } .light h1, .light h2 { @apply text-gray-800; } .light header { @apply bg-blue-400; @...
body.light { @apply bg-gray-200; @apply text-black; } .light a { @apply text-gray-900; @apply bg-white; @apply shadow; } .light a:hover, .light a:focus, .light a:active { @apply bg-blue-400; @apply text-white; } .light main h1, .light main h2 { @apply text-gray-800; } .light header { @apply bg-blu...
Make map canvas more large
/* Display map in full screen for X-RAIN */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url-prefix("http://www.river.go.jp/x/krd0107010.php") { /* Display map in full screen */ #main { width: 100% !important; } #map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width:...
/* Display map in full screen for X-RAIN */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document url-prefix("http://www.river.go.jp/x/krd0107010.php") { /* Display map in full screen */ #main { width: 100% !important; } #map-contents { width: auto !important; } #single-mp-radar, #mp-radar { width:...
Use ease transition for form popup
:root { --semantic-focused-input-border-color: #85B7D9; --semantic-light-grey: #DCDDDE; --semantic-teal: #00B5AD; --magenta: #FD1884; } :global .photo-backdrop { background-image: url(/images/good_hearted_boyman_takes_part_in_remote_retro.jpg); background-size: cover; box-shadow: inset 0 0 0 100rem rgba...
:root { --semantic-focused-input-border-color: #85B7D9; --semantic-light-grey: #DCDDDE; --semantic-teal: #00B5AD; --magenta: #FD1884; } :global .photo-backdrop { background-image: url(/images/good_hearted_boyman_takes_part_in_remote_retro.jpg); background-size: cover; box-shadow: inset 0 0 0 100rem rgba...
Add visual feedback when hovering over tabs
:host { @apply inline-block list-none h-full text-xs text-center pl-1 pr-4 py-2 leading-none flex-1 border; background: var(--color-neutral-300); color: var(--color-neutral-700); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--color-neutral-500); &:not(:last-of-type) { ...
:host { @apply inline-block list-none h-full text-xs text-center pl-1 pr-4 py-2 leading-none flex-1 border; background: var(--color-neutral-300); color: var(--color-neutral-700); border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--color-neutral-500); &:not(:last-of-type) { ...
Align header and navigation with table cells.
body { font-family: "Roboto"; } .main { margin-left: auto; margin-right: auto; width: 30em; margin-top: 5em; } .header { font-size: 1.4em; margin-bottom: 1em; } .float-left { float: left; } .calendar { clear: left; } button { border-style: none; font-size: 1.6em; bor...
body { font-family: "Roboto"; } .main { margin-left: auto; margin-right: auto; width: 30em; margin-top: 5em; } .header { font-size: 1.4em; margin-bottom: 1em; padding-left: 2px; } .navigation { padding-left: 2px; } .float-left { float: left; } .calendar { clear: left; } ...
Add a nav header class (missing in bootstrap 3).
body { font-weight: 400; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); } pre, code { border: none; border-radius: 0; background-color: #f9f9f9; font-size: 0.85em; } pre { font-size: 1em; } code { color: inherit; } #header { border-bottom: 1px solid #eee; margin-bottom: 20p...
body { font-weight: 400; text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); } pre, code { border: none; border-radius: 0; background-color: #f9f9f9; font-size: 0.85em; } pre { font-size: 1em; } code { color: inherit; } /* see: * http://stackoverflow.com/questions/18329010/what-happene...
Adjust title area sizes to improve alignment.
/** * Primary styles * * Author: IPython Development Team */ body { background-color: white; /* This makes sure that the body covers the entire window and needs to be in a different element than the display: box in wrapper below */ position: absolute; left: 0px; right: 0px; top: 0px...
/** * Primary styles * * Author: IPython Development Team */ body { background-color: white; /* This makes sure that the body covers the entire window and needs to be in a different element than the display: box in wrapper below */ position: absolute; left: 0px; right: 0px; top: 0px...
Add open modal buttons 🆗
/deep/ body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; margin: 0; } section { align-items: center; color: #fff; display: flex; flex-direction: column; justify-content: center; height: 100vh; } .red { backgro...
/deep/ body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; margin: 0; } section { align-items: center; color: #fff; display: flex; flex-direction: column; justify-content: center; height: 100vh; } .red { backgro...
Add `!important` to tools packages
@media (--viewport-sm) { .t-sm-shadow { box-shadow: var(--shadow) var(--shadow-color); } .t-sm-shadowXs { box-shadow: var(--shadow-xs) var(--shadow-color); } .t-sm-shadowSm { box-shadow: var(--shadow-sm) var(--shadow-color) } .t-sm-shadowMd { box-shadow: var(--shadow-md) var(--shadow-color) } .t-sm-shadowLg...
@media (--viewport-sm) { .t-sm-shadow { box-shadow: var(--shadow) var(--shadow-color) !important; } .t-sm-shadowXs { box-shadow: var(--shadow-xs) var(--shadow-color) !important; } .t-sm-shadowSm { box-shadow: var(--shadow-sm) var(--shadow-color) !important; } .t-sm-shadowMd { box-shadow: var(--shadow-md) var(...
Hide the 'go' button in the search entry
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #home-button { display: none; } #search-container { max-width: 200px; }
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); #home-button { display: none; } #search-container { max-width: 200px; } .search-go-container { display: none; }
Add some colours to the page layout.
/** * Custom styles. * Keep these separate from the HTML5 Boilerplate main.css */ html, body { width: 100%; } .sidebar { width: 30%; height: 100%; float: left; } .main { width: 60%; height: 100%; float: left; padding: 0 5%; } h1 { text-align: center; }
/** * Custom styles. * Keep these separate from the HTML5 Boilerplate main.css */ html, body { width: 100%; background-color: #ffffff; color: #000000; } .sidebar { width: 30%; height: 100%; float: left; } .main { width: 60%; height: 100%; float: left; padding: 0 5%; } .header { background-...
Add some Photon styles for buttons
.photon-button { /* reset default styles */ background: none; border: none; margin: 0; padding: 0; /* photon styles */ background-color: var(--grey-90-a10); padding: 0 8px; border-radius: 2px; } .photon-button:hover { background-color: var(--grey-90-a20); } .photon-button:hover:active { backgro...
Add background for <length> comp dropdown
/* * Copyright 2021 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .css-length { display: inline-block; position: relative; outline: none; } .value { cursor: ew-resize; } .unit-dropdown { display: none;...
/* * Copyright 2021 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ .css-length { display: inline-block; position: relative; outline: none; } .value { cursor: ew-resize; } .unit-dropdown { display: none;...
Set height of modal to 400px
ul { margin-left: 0; margin-bottom: 0; } li { list-style: none; padding: 4px; } li.selected { background-color: #cee; }
ul { margin-left: 0; margin-bottom: 0; } li { list-style: none; padding: 4px; } li.selected { background-color: #cee; } .modal-body { height: 400px; }
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...
Update some border and text color, and fix a minor alignment issue
/* Main css file */ body, html { margin: 0; padding-top: 50px; width: 100%; height: 100%; } img, embed, object, video { max-width: 100%; align-content: center; } nav, a, button { min-width: 48px; min-height: 48px; } #logo-name { border-bottom: 3px solid; } .row { padding: 20...
/* Main css file */ body, html { margin: 0; padding-top: 50px; width: 100%; height: 100%; } img, embed, object, video { max-width: 100%; align-content: center; } nav, a, button { min-width: 48px; min-height: 48px; } #logo-name { border-bottom: 3px solid #bcbbbb; } #portfolio { ...