Re-order classes

This commit is contained in:
Oliver Davies 2019-06-16 00:30:30 +01:00
parent 80f9b51fe0
commit d7958deef1
3 changed files with 5 additions and 5 deletions

View file

@ -104,7 +104,7 @@ $discussion = twentynineteen_get_discussion_data();
<div> <div>
<span class="screen-reader-text"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></span> <span class="screen-reader-text"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></span>
<?php twentynineteen_comment_form( 'asc' ); ?> <?php twentynineteen_comment_form( 'asc' ); ?>
<h2 class="text-3xl font-bold mt-10" aria-hidden="true"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></h2> <h2 class="mt-10 text-3xl font-bold" aria-hidden="true"><?php _e( 'Leave a comment', 'twentynineteen' ); ?></h2>
</div> </div>
<?php <?php
endif; endif;

View file

@ -19,9 +19,9 @@ add_action('widgets_init', function () {
array( array(
'name' => 'Sidebar', 'name' => 'Sidebar',
'id' => 'sidebar-1', 'id' => 'sidebar-1',
'before_title' => '<h2 class="text-2xl md:text-5xl font-bold mt-6 mb-4 tracking-tight">', 'before_title' => '<h2 class="mt-6 mb-4 text-2xl font-bold tracking-tight md:text-5xl">',
'after_title' => '</h2>', 'after_title' => '</h2>',
'before_widget' => '<div class="mt-10 w-full md:w-1/2 px-6 text-2xl">', 'before_widget' => '<div class="w-full mt-10 px-6 text-2xl md:w-1/2">',
'after_widget' => '</div>', 'after_widget' => '</div>',
) )
); );

View file

@ -7,11 +7,11 @@
<?php wp_head(); ?> <?php wp_head(); ?>
</head> </head>
<body class="font-sans bg-white text-gray-900 leading-normal antialiased"> <body class="font-sans bg-white text-gray-900 leading-normal antialiased">
<div class="max-w-5xl 2xl:max-w-6xl mx-auto px-4"> <div class="max-w-5xl mx-auto px-4 2xl:max-w-6xl">
<header class="mt-16 mb-24"> <header class="mt-16 mb-24">
<div> <div>
<p class="text-2xl"> <p class="text-2xl">
<a href="<?php echo esc_url(home_url( '/' )); ?>" class="text-black hover:text-gray-800 hover:underline_"> <a href="<?php echo esc_url(home_url( '/' )); ?>" class="text-black hover:text-gray-800">
<?php bloginfo('slogan'); ?> <?php bloginfo('slogan'); ?>
</a> </a>
<span class="font-serif font-thin text-gray-700"> <span class="font-serif font-thin text-gray-700">