geary/ui/composer-web-view.css

71 lines
1.3 KiB
CSS

/*
* Copyright 2016 Software Freedom Conservancy Inc.
* Copyright 2017 Michael Gratton <mike@vee.net>
*/
:root {
/* Adjust default controls and system colors for light and dark mode.
See https://www.w3.org/TR/css-color-adjust-1/#color-scheme-effect */
color-scheme: light dark;
/* Apply canvas background to the root element, so body can darken
it using alpha. */
background-color: canvas;
}
body {
background-color: rgb(50% 50% 50% / .05);
margin: 0 !important;
border: 0 !important;
padding: 0 !important;
font-size: medium !important;
}
body.plain {
font-family: monospace;
text-decoration: none;
}
body.plain a {
cursor: text;
}
body > *.geary-no-display {
display: none !important;
}
body > div#geary-body {
margin: 0 !important;
border: 0 !important;
padding: 12px !important;
outline: 0px !important;
}
body > div#geary-signature,
body > div#geary-quote {
margin: 0 6px !important;
border: 0 !important;
padding: 6px !important;
}
body > div:focus-within {
background-color: canvas;
}
body > div#geary-signature:focus-within,
body > div#geary-quote:focus-within {
outline: 1px dashed #ccc !important;
}
blockquote {
margin: 0 10px;
border: 0;
border-left: 3px #aaa solid;
padding: 0 5px;
}
pre {
white-space: break-spaces;
margin: 0;
}