mas mejoras generales al ui, me gusta hacer eso
This commit is contained in:
29
public/css/app.css
vendored
29
public/css/app.css
vendored
@@ -1528,9 +1528,27 @@ p {
|
||||
|
||||
article {
|
||||
box-shadow: 3px 3px 10px 0px #aaa;
|
||||
padding: 2ch 10ch;
|
||||
padding: 2ch 2ch;
|
||||
margin-bottom: 2em;
|
||||
background-color: white;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
article {
|
||||
padding: 2ch 10ch;
|
||||
overflow-x: none;
|
||||
}
|
||||
}
|
||||
|
||||
.post-title {
|
||||
text-decoration: none;
|
||||
letter-spacing: 0.1ch;
|
||||
color: #241f1e;
|
||||
}
|
||||
|
||||
time {
|
||||
color: #937f7b;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
@@ -1673,8 +1691,7 @@ article {
|
||||
}
|
||||
|
||||
.special-link:hover {
|
||||
color: #ee1155;
|
||||
border-bottom: 1px #ee1155 solid;
|
||||
color: #f14177;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -1732,7 +1749,13 @@ article {
|
||||
}
|
||||
|
||||
.pure-table .controls {
|
||||
width: 10ch;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.pure-table .controls {
|
||||
width: 22ch;
|
||||
}
|
||||
}
|
||||
|
||||
.pure-table .controls > * {
|
||||
|
||||
32
resources/sass/app.scss
vendored
32
resources/sass/app.scss
vendored
@@ -46,11 +46,30 @@ p {
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
|
||||
article {
|
||||
box-shadow: 3px 3px 10px 0px #aaa;
|
||||
padding: 2ch 10ch;
|
||||
padding: 2ch 2ch;
|
||||
margin-bottom: 2em;
|
||||
background-color: lighten($background-color, 10%);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
article {
|
||||
padding: 2ch 10ch;
|
||||
overflow-x: none;
|
||||
}
|
||||
}
|
||||
|
||||
.post-title {
|
||||
text-decoration: none;
|
||||
letter-spacing: .1ch;
|
||||
color: $foreground-color;
|
||||
}
|
||||
|
||||
time {
|
||||
color: lighten($foreground-color, 40%);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
@@ -191,8 +210,7 @@ article {
|
||||
}
|
||||
|
||||
.special-link:hover{
|
||||
color: $admin-color;
|
||||
border-bottom: 1px $admin-color solid;
|
||||
color: lighten($admin-color,10%);
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -217,6 +235,7 @@ article {
|
||||
/******************************************************************************
|
||||
=> Tables
|
||||
*******************************************************************************/
|
||||
|
||||
.pure-table {
|
||||
margin-top: 1em;
|
||||
}
|
||||
@@ -244,12 +263,19 @@ article {
|
||||
max-width: 30ch;
|
||||
}
|
||||
|
||||
|
||||
.pure-table tr {
|
||||
border-bottom: 1px black solid;
|
||||
}
|
||||
|
||||
.pure-table .controls {
|
||||
width: 10ch;
|
||||
}
|
||||
|
||||
@media (min-width: 768px){
|
||||
.pure-table .controls {
|
||||
width: 22ch;
|
||||
}
|
||||
}
|
||||
|
||||
.pure-table .controls > *{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@extends('admin.base')
|
||||
|
||||
@section('content')
|
||||
<h1>Admin Panel</h1>
|
||||
@endsection
|
||||
|
||||
@@ -1,12 +1,15 @@
|
||||
@extends('base')
|
||||
|
||||
@section('content')
|
||||
<article>
|
||||
<h1>Archivo</h1>
|
||||
<ul>
|
||||
@foreach($posts as $post)
|
||||
<li>
|
||||
<a href="{{ route('blog.show', ['post' => $post->id]) }}">{{$post->title}}</a> <span>({{$post->created_at->format('Y-m-d')}})</span>
|
||||
<a href="{{ route('blog.show', ['post' => $post->id]) }}">{{$post->title}}</a>
|
||||
<time datetime="{{ $post->created_at->toDateString() }}"> {{ $post->created_at->toFormattedDateString() }} </time>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</article>
|
||||
@endsection
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
@foreach($posts as $post)
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{$post->title}}</h1>
|
||||
<h1><a class="post-title" href="{{ route('blog.show', ['post' => $post->id])}}">{{$post->title}}</a></h1>
|
||||
<time datetime="{{ $post->created_at->toDateString() }}"> {{ $post->created_at->toFormattedDateString() }} </time>
|
||||
</header>
|
||||
{!! $parse->text($post->md) !!}
|
||||
</article>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
@section('content')
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{$post->title}}</h1>
|
||||
<h1 class="post-title">{{$post->title}}</h1>
|
||||
</header>
|
||||
{!! $parse->text($post->md) !!}
|
||||
</article>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@extends('base')
|
||||
|
||||
@section('content')
|
||||
<h1>Home</h1>
|
||||
@endsection
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
@section('content')
|
||||
<article>
|
||||
<header>
|
||||
<h1>Now</h1>
|
||||
<h1 class="post-title">Now</h1>
|
||||
</header>
|
||||
{!! $parse->text($now->md) !!}
|
||||
</article>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@foreach($projects as $project)
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{ $project->title }}</h1>
|
||||
<h1 class="post-title">{{ $project->title }}</h1>
|
||||
</header>
|
||||
|
||||
{!! $parse->text($project->md) !!}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@foreach($setups as $setup)
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{$setup->title}}</h1>
|
||||
<h1 class="post-title">{{$setup->title}}</h1>
|
||||
</header>
|
||||
{!! $parse->text($setup->md) !!}
|
||||
</article>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
@extends('base')
|
||||
|
||||
@php
|
||||
$parse = new Parsedown();
|
||||
@endphp
|
||||
|
||||
@section('content')
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{$setup->title}}</h1>
|
||||
</header>
|
||||
{!! $parse->text($setup->md) !!}
|
||||
</article>
|
||||
<hr/>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user