From d4c9387682ea6a9fc9568f42daac11c5db095474 Mon Sep 17 00:00:00 2001
From: Joe Dolson
Date: Sat, 30 Dec 2023 17:02:38 -0600
Subject: [PATCH] Meta box styling tweaks
---
src/css/post-styles.css | 18 ++++++------------
src/wp-to-twitter.php | 2 +-
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/src/css/post-styles.css b/src/css/post-styles.css
index 808fc30..6ad691f 100644
--- a/src/css/post-styles.css
+++ b/src/css/post-styles.css
@@ -10,10 +10,10 @@
#wp2t .counter {
position: absolute;
- right: 4%;
- bottom: 2px;
+ right: 0;
+ bottom: -2px;
font-size: 1.1em;
- font-weight: 700;
+ font-weight: 600;
color: #666;
}
@@ -188,7 +188,7 @@ button.time div {
.wpt-options .tabs a.active {
background: #fefefe;
color: #444;
- font-weight: 700;
+ font-weight: 600;
}
.wptab .inline-list {
@@ -229,12 +229,6 @@ button.time div {
border-top-left-radius: 0;
}
-.wp-to-twitter .wpt-template {
- margin: 0;
- padding: .5em;
- background: rgba( 0, 0, 0, .05 );
-}
-
.toggle-btn-group {
margin: .5em auto .5em !important;
width: auto;
@@ -271,7 +265,7 @@ button.time div {
outline: 1px solid #00a0d2;
text-decoration: none;
cursor: text;
- font-weight: 700;
+ font-weight: 600;
color: #fff;
}
@@ -304,7 +298,7 @@ button.time div {
padding: .5rem 1rem;
font-size: 1.2rem;
background: #555;
- font-weight: 700;
+ font-weight: 600;
text-decoration: none;
color: #fff;
box-shadow: 3px 3px 0 #fcb000;
diff --git a/src/wp-to-twitter.php b/src/wp-to-twitter.php
index 5ce81fc..9f67263 100644
--- a/src/wp-to-twitter.php
+++ b/src/wp-to-twitter.php
@@ -1457,7 +1457,7 @@ function wpt_add_twitter_inner_box( $post ) {
-
+