Started CSS and Layout upgrades
Functionality is coming along at a good pace, so it was time to start adjusting the templates and styles to the new layout. Responsive will come after all of the pages have been updated.pull/8/head
parent
62a11168ec
commit
e35dff591f
@ -1,58 +1,43 @@
|
||||
section[role="start"] {
|
||||
background-image: url("../../images/global/special-trash.jpg");
|
||||
height: 100%;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
section[role="start"] div[role="index-wrapper"] {
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
section[role="start"] div[role="index-search"] {
|
||||
section.index-search {
|
||||
width: 100%;
|
||||
border-bottom: 1px solid var(--secondary);
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
section[role="start"] div[role="index-results"] {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: rgb(var(--primary-rgb) / 60%);
|
||||
border-bottom: 1px solid var(--white);
|
||||
section.start a.search-link {
|
||||
color: var(--highlight);
|
||||
font-size: 2.5em;
|
||||
font-weight: bold;
|
||||
border: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
section[role="start"] div input[type="text"] {
|
||||
background: none;
|
||||
font-weight: bold;
|
||||
font-size: 3.5em;
|
||||
width: 91%;
|
||||
color: var(--white);
|
||||
text-shadow: 1px 1px 1px var(--primary);
|
||||
outline: none;
|
||||
form.index-search-form {
|
||||
width: 80%;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 30px 0;
|
||||
}
|
||||
|
||||
section[role="start"] div button {
|
||||
vertical-align: text-bottom;
|
||||
width: 57px;
|
||||
height: 57px;
|
||||
input[type="text"]:focus {
|
||||
outline: solid var(--highlight);
|
||||
background-color: var(--highlight);
|
||||
}
|
||||
|
||||
section[role="start"] div button i {
|
||||
font-size: 1.5em;
|
||||
form.index-search-form > input[type="text"] {
|
||||
width: 91%;
|
||||
height: 50px;
|
||||
font: 44px var(--base-type);
|
||||
transition: all 0.2s linear;
|
||||
}
|
||||
|
||||
section[role="start"] h1 {
|
||||
color: var(--white);
|
||||
form.index-search-form > button {
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
position: relative;
|
||||
top: 9px;
|
||||
}
|
||||
|
||||
section[role="start"] a.search-link {
|
||||
::placeholder {
|
||||
/* Chrome, Firefox, Opera, Safari 10.1+ */
|
||||
color: var(--highlight);
|
||||
font-size: 2.5em;
|
||||
font-weight: bold;
|
||||
border: 0;
|
||||
display: block;
|
||||
}
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated by Pixelmator Pro 3.3.8 -->
|
||||
<svg width="101" height="100" viewBox="0 0 101 100" xmlns="http://www.w3.org/2000/svg">
|
||||
<g id="Group-copy">
|
||||
<path id="Path-copy-2" fill="none" stroke="#efebe3" stroke-width="8.777778" stroke-linecap="round" stroke-linejoin="round" d="M 11 41.722221 C 11 58.68964 24.754808 72.444443 41.722221 72.444443 C 58.68964 72.444443 72.444443 58.68964 72.444443 41.722221 C 72.444443 24.754807 58.68964 11 41.722221 11 C 24.754808 11 11 24.754807 11 41.722221"/>
|
||||
<path id="Path-copy" fill="none" stroke="#efebe3" stroke-width="8.777778" stroke-linecap="round" stroke-linejoin="round" d="M 90 90 L 63.666668 63.666668"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 729 B |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.8 KiB |
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.8 KiB |
@ -1,31 +1,18 @@
|
||||
@extends('frame')
|
||||
|
||||
@section('title', 'This is The Bad Space')
|
||||
|
||||
@section('main-content')
|
||||
@parent
|
||||
|
||||
<section role="start">
|
||||
<div role="index-wrapper">
|
||||
<div role="index-search">
|
||||
<form action="/search" method="post" enctype="multipart/form-data">
|
||||
<input type="text" name="index_search" value="" placeholder="SEARCH ME!" />
|
||||
<button>
|
||||
<i class="ti ti-search"></i>
|
||||
<section class="index-search">
|
||||
<form class="index-search-form" action="/search" method="post" enctype="multipart/form-data">
|
||||
<input type="text" name="index_search" value="" placeholder="Hi! This is where you search." />
|
||||
<button aria-label="search-button">
|
||||
<img class="button-icon" src="assets/images/global/icon-search.svg" />
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<div role="index-results">
|
||||
|
||||
{{$count}}
|
||||
Bad Spaces tracked. Shot by
|
||||
<a href="https://unsplash.com/photos/935EcPU1pBI">Ussama Azam</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</section>
|
||||
<section>
|
||||
<article>
|
||||
tracking {{$count}} sites;
|
||||
</article>
|
||||
</section>
|
||||
@endsection
|
Loading…
Reference in New Issue