Tweak widget title sizes on mobile

This commit is contained in:
Oliver Davies 2019-05-08 21:35:08 +01:00
parent 46d405f276
commit 5a83ba9b9e
2 changed files with 2 additions and 6 deletions

View file

@ -1,7 +1,3 @@
.widget {
@apply text-xl;
}
.widget a { .widget a {
@apply text-blue-700 font-bold; @apply text-blue-700 font-bold
} }

View file

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