Pārlūkot izejas kodu

Libre 2: Adds cleaner styles and spacing to Jetpack contact forms; better alignment for radio and checkbox labels with their form elements; removes bold font face from radio and checkbox labels. All styles prefaced with the body tag to override Jetpack's styles. See #2

Caroline Moore 7 gadi atpakaļ
vecāks
revīzija
aa3458589f
1 mainītis faili ar 32 papildinājumiem un 0 dzēšanām
  1. 32 0
      libre-2/style.css

+ 32 - 0
libre-2/style.css

@@ -1350,6 +1350,38 @@ td#next {
 	margin-top: 3.5em;
 }
 
+/*--------------------------------------------------------------
+# Jetpack Contact Forms
+--------------------------------------------------------------*/
+
+.site-content .contact-form input[type="radio"],
+.site-content .contact-form input[type="checkbox"] {
+	margin-bottom: 6px;
+	margin-right: .3em;
+	vertical-align: middle;
+}
+.site-content .contact-form label.checkbox,
+.site-content .contact-form label.checkbox-multiple,
+.site-content .contact-form label.radio {
+	font-weight: normal;
+	font-style: normal;
+	margin-bottom: .4375em;
+}
+.site-content .contact-form label.checkbox,
+.site-content .contact-form > div {
+	margin-bottom: .875em;
+}
+.site-content .contact-form textarea,
+.site-content .contact-form input[type='text'],
+.site-content .contact-form input[type='email'],
+.site-content .contact-form input[type='url'],
+.site-content .contact-form select {
+	margin-bottom: .4375em;
+}
+.site-content .contact-form .grunion-field-label {
+	margin-bottom: .21875em;
+}
+
 /*--------------------------------------------------------------
 # Media
 --------------------------------------------------------------*/