summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/calendar/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/calendar/style.css')
-rw-r--r--wp-includes/blocks/calendar/style.css33
1 files changed, 33 insertions, 0 deletions
diff --git a/wp-includes/blocks/calendar/style.css b/wp-includes/blocks/calendar/style.css
new file mode 100644
index 0000000..1f43997
--- /dev/null
+++ b/wp-includes/blocks/calendar/style.css
@@ -0,0 +1,33 @@
+.wp-block-calendar{
+ text-align:center;
+}
+.wp-block-calendar td,.wp-block-calendar th{
+ border:1px solid;
+ padding:.25em;
+}
+.wp-block-calendar th{
+ font-weight:400;
+}
+.wp-block-calendar caption{
+ background-color:inherit;
+}
+.wp-block-calendar table{
+ border-collapse:collapse;
+ width:100%;
+}
+.wp-block-calendar table:where(:not(.has-text-color)){
+ color:#40464d;
+}
+.wp-block-calendar table:where(:not(.has-text-color)) td,.wp-block-calendar table:where(:not(.has-text-color)) th{
+ border-color:#ddd;
+}
+.wp-block-calendar table.has-background th{
+ background-color:inherit;
+}
+.wp-block-calendar table.has-text-color th{
+ color:inherit;
+}
+
+:where(.wp-block-calendar table:not(.has-background) th){
+ background:#ddd;
+} \ No newline at end of file