Update markup, fix weird padding/margin problem
This commit is contained in:
parent
fac991fb41
commit
f3ca556fd4
42
src/App.vue
42
src/App.vue
|
@ -1,8 +1,8 @@
|
||||||
<template>
|
<template>
|
||||||
<div id="app" class="min-h-screen font-sans text-black bg-black text-sm leading-normal">
|
<div id="app" class="min-h-screen font-sans bg-black text-white text-sm leading-normal">
|
||||||
<skip-link></skip-link>
|
<skip-link></skip-link>
|
||||||
|
|
||||||
<div class="bg-blue-300">
|
<header class="bg-blue-300">
|
||||||
<div class="py-4 text-white">
|
<div class="py-4 text-white">
|
||||||
<div id="header" class="xl:max-w-6xl mx-auto px-4 relative">
|
<div id="header" class="xl:max-w-6xl mx-auto px-4 relative">
|
||||||
<div class="flex flex-col-reverse">
|
<div class="flex flex-col-reverse">
|
||||||
|
@ -18,13 +18,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main-menu></main-menu>
|
<main-menu></main-menu>
|
||||||
</div>
|
</header>
|
||||||
|
|
||||||
<div id="main-content" class="bg-white pt-6 pb-4 lg:pb-12">
|
<div class="bg-white text-black">
|
||||||
<div class="xl:max-w-6xl mx-auto px-4">
|
<div class="max-w-6xl mx-auto px-4 py-6">
|
||||||
<drupal-message type="status">
|
<drupal-message type="status">
|
||||||
<p>
|
<p>
|
||||||
A Bartik clone, built with
|
A Bartik clone, built with
|
||||||
|
@ -33,22 +33,18 @@
|
||||||
</p>
|
</p>
|
||||||
</drupal-message>
|
</drupal-message>
|
||||||
|
|
||||||
<div class="flex flex-col md:flex-row-reverse md:-mx-6 my-6">
|
<div class="md:flex md:flex-row-reverse -mx-6">
|
||||||
<div id="main" class="w-full md:w-auto md:flex-1 md:px-6 mb-8 md:mb-0">
|
<main id="main" class="flex-1 px-6 pb-8 lg:pb-12">
|
||||||
<div class="font-serif">
|
<div class="font-serif">
|
||||||
<h1 class="text-3xl font-normal leading-tight mb-1">Welcome to {{ title }}</h1>
|
<h1 class="text-3xl font-normal leading-tight mb-1">Welcome to {{ title }}</h1>
|
||||||
<p>No front page content has been created yet.</p>
|
<p>No front page content has been created yet.</p>
|
||||||
<p>Follow the <a href="#0" class="">User Guide</a> to start building your site.</p>
|
<p>Follow the <a href="#0">User Guide</a> to start building your site.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-10">
|
<div class="mt-6 lg:mt-10"><a href="#0"><img src="img/feed.svg" alt=""></a></div>
|
||||||
<a href="#0">
|
</main>
|
||||||
<img src="img/feed.svg" alt="">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="w-full md:w-1/3 lg:w-1/4 flex-none md:px-6 -mb-4">
|
<aside class="w-full md:w-1/3 lg:w-1/4 px-6 -mb-4">
|
||||||
<sidebar-block>
|
<sidebar-block>
|
||||||
<h2 class="font-serif font-normal text-base text-grey-600 border-b border-solid border-grey-300 mb-3">Search</h2>
|
<h2 class="font-serif font-normal text-base text-grey-600 border-b border-solid border-grey-300 mb-3">Search</h2>
|
||||||
|
|
||||||
|
@ -62,19 +58,19 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</sidebar-block>
|
</sidebar-block>
|
||||||
</div>
|
</aside>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" class="text-xs text-white">
|
<footer id="footer" class="bg-black text-white text-xs">
|
||||||
<div class="xl:max-w-6xl mx-auto px-4 pt-16 pb-4">
|
<div class="max-w-6xl mx-auto px-4 pt-16 pb-8 bg-grey-700">
|
||||||
<div class="border-t border-solid border-grey-600 pt-6 -mb-6">
|
<div class="border-t border-solid border-grey-600 pt-6">
|
||||||
<div class="mb-6">
|
<div>
|
||||||
<p><a href="#0">Contact</a></p>
|
<p><a href="#0">Contact</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mb-6">
|
<div class="mt-6">
|
||||||
<p>
|
<p>
|
||||||
A clone of <a href="https://www.drupal.org">Drupal</a>’s default theme (Bartik).
|
A clone of <a href="https://www.drupal.org">Drupal</a>’s default theme (Bartik).
|
||||||
Built by <a href="https://www.oliverdavies.uk">Oliver Davies</a>
|
Built by <a href="https://www.oliverdavies.uk">Oliver Davies</a>
|
||||||
|
@ -84,7 +80,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="[ wrapperClasses, wrapperClasses ? 'pl-2 rounded-sm' : '' ]">
|
<div :class="[ wrapperClasses, wrapperClasses ? 'pl-2 rounded-sm' : '' ]">
|
||||||
<div class="py-4 pl-3 pr-4 mb-4 border flex items-center rounded-sm" :class="classes">
|
<div class="py-4 pl-3 pr-4 mb-6 border flex items-center rounded-sm" :class="classes">
|
||||||
<svg v-if="type == 'status'" class="fill-current w-4 h-4 text-green-300 mr-3" xmlns="http://www.w3.org/2000/svg"><path d="M6.464 13.676a.502.502 0 0 1-.707 0L.797 8.721a.502.502 0 0 1 0-.707l1.405-1.407a.5.5 0 0 1 .707 0l2.849 2.848a.504.504 0 0 0 .707 0l6.629-6.626a.502.502 0 0 1 .707 0l1.404 1.404a.504.504 0 0 1 0 .707l-8.741 8.736z"/></svg>
|
<svg v-if="type == 'status'" class="fill-current w-4 h-4 text-green-300 mr-3" xmlns="http://www.w3.org/2000/svg"><path d="M6.464 13.676a.502.502 0 0 1-.707 0L.797 8.721a.502.502 0 0 1 0-.707l1.405-1.407a.5.5 0 0 1 .707 0l2.849 2.848a.504.504 0 0 0 .707 0l6.629-6.626a.502.502 0 0 1 .707 0l1.404 1.404a.504.504 0 0 1 0 .707l-8.741 8.736z"/></svg>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue