OLD | NEW |
1 /* | 1 /* |
2 * The default style sheet used to render HTML. | 2 * The default style sheet used to render HTML. |
3 * | 3 * |
4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 right: 0; | 1087 right: 0; |
1088 width: -webkit-fit-content; | 1088 width: -webkit-fit-content; |
1089 height: -webkit-fit-content; | 1089 height: -webkit-fit-content; |
1090 margin: auto; | 1090 margin: auto; |
1091 border: solid; | 1091 border: solid; |
1092 padding: 1em; | 1092 padding: 1em; |
1093 background: white; | 1093 background: white; |
1094 color: black | 1094 color: black |
1095 } | 1095 } |
1096 | 1096 |
1097 /* TODO(foolip): In the Fullscreen spec, there's a ::backdrop block with the | |
1098 properties shared with :fullscreen::backdrop (see fullscreen.css). */ | |
1099 dialog::backdrop { | 1097 dialog::backdrop { |
1100 position: fixed; | 1098 position: fixed; |
1101 top: 0; | 1099 top: 0; |
1102 right: 0; | 1100 right: 0; |
1103 bottom: 0; | 1101 bottom: 0; |
1104 left: 0; | 1102 left: 0; |
1105 background: rgba(0,0,0,0.1) | 1103 background: rgba(0,0,0,0.1) |
1106 } | 1104 } |
1107 | 1105 |
1108 /* page */ | 1106 /* page */ |
1109 | 1107 |
1110 @page { | 1108 @page { |
1111 /* FIXME: Define the right default values for page properties. */ | 1109 /* FIXME: Define the right default values for page properties. */ |
1112 size: auto; | 1110 size: auto; |
1113 margin: auto; | 1111 margin: auto; |
1114 padding: 0px; | 1112 padding: 0px; |
1115 border-width: 0px; | 1113 border-width: 0px; |
1116 } | 1114 } |
1117 | 1115 |
1118 /* Allows thead sections to print at the top of each page. */ | 1116 /* Allows thead sections to print at the top of each page. */ |
1119 @media print { | 1117 @media print { |
1120 thead { break-inside:avoid; } | 1118 thead { break-inside:avoid; } |
1121 } | 1119 } |
1122 | 1120 |
1123 /* noscript is handled internally, as it depends on settings. */ | 1121 /* noscript is handled internally, as it depends on settings. */ |
OLD | NEW |