Browse Source

block styles

windhamdavid 3 years ago
parent
commit
2116cdc08a
3 changed files with 19 additions and 1 deletions
  1. 2 1
      functions.php
  2. 17 0
      style.css
  3. 0 0
      v3-style.min.css

+ 2 - 1
functions.php

@@ -7,6 +7,7 @@ function dw_setup() {
 	require( get_template_directory() . '/inc/tweaks.php' );
 	if ( ! isset( $content_width ) ) $content_width = 1310;
 	add_theme_support( 'title-tag' );
+  add_theme_support( 'wp-block-styles' );
 	add_theme_support( 'automatic-feed-links' );
 	add_theme_support( 'menus' );
 	add_theme_support( 'post-thumbnails' );
@@ -41,7 +42,7 @@ add_action( 'enqueue_block_editor_assets', 'dw_editor' );
 function dw_remove_block_library_css(){
     wp_dequeue_style( 'wp-block-library' );
 }
-add_action( 'wp_enqueue_scripts', 'dw_remove_block_library_css' );
+//add_action( 'wp_enqueue_scripts', 'dw_remove_block_library_css' );
 
 add_action( 'wp_enqueue_scripts', 'dw_scripts' );
 function dw_scripts() {

+ 17 - 0
style.css

@@ -2027,6 +2027,23 @@ span.author {
 .entry-content sub {
 	font-size: 10px;
 }
+.entry-content blockquote {
+  border-left:none;
+  font-style:italic;
+	margin: 0 50px 20px;
+  color:#333;
+  background:#f1f1f1;
+  padding:20px;
+  border-radius:20px;
+}
+.entry-content blockquote cite {
+  text-align:right;
+  margin-bottom:0;
+}
+.entry-content blockquote cite p {
+  text-align:right;
+  margin-bottom:0 !important;
+}
 .entry-content blockquote.left {
 	float: left;
 	margin-left: 0;

File diff suppressed because it is too large
+ 0 - 0
v3-style.min.css


Some files were not shown because too many files changed in this diff