Commit c0c85cc1 authored by nirgendswo's avatar nirgendswo

adding style

parent 0b74e276
......@@ -1420,13 +1420,27 @@ template {
* @author Björn Hase
*
*/
.content pre {
.content pre, .content .code {
overflow-y: hidden;
overflow-x: scroll;
overflow-x: auto;
padding: 10px;
border: 1px solid #d4d4d4;
background-color: #f9f9f9; }
.content .code {
font-family: monospace, monospace;
font-size: 1em; }
.content .code__result dl {
clear: left;
margin: 0 0 10px 0; }
.content .code__result dl dt {
clear: left;
float: left; }
.content .code__result dl dd {
color: red; }
.content .code .form__submit {
margin-top: 15px; }
.content table {
border-spacing: 0;
border-collapse: collapse; }
......@@ -1497,6 +1511,9 @@ hr {
height: 1px;
background-color: #d1d1d1; }
.hr--next {
margin-bottom: 10px; }
figure {
margin: 0; }
......@@ -1620,7 +1637,7 @@ textarea {
line-height: 0.5em;
font-size: 9px;
font-size: 0.9rem; }
.navigation__item.active, .navigation__item:hover {
.navigation__item--current, .navigation__item.active, .navigation__item:hover {
color: white;
background-color: #5a146d; }
.navigation__item:focus {
......@@ -1891,6 +1908,15 @@ textarea {
-o-border-radius: 5px; }
.box--feature {
height: 100%; }
.box--next {
height: 100%;
padding: 0 20px 5px; }
.box--next ul {
padding: 0 0 0 17px; }
.box--post {
padding: 25px 25px 10px; }
.box--post h2 {
margin-top: 0; }
/**
* site header
......
......@@ -16,4 +16,21 @@
&--feature {
height: 100%;
}
&--next {
height: 100%;
padding: 0 20px 5px;
ul {
padding: 0 0 0 17px;
}
}
&--post {
padding: 25px 25px 10px;
h2 {
margin-top: 0;
}
}
}
......@@ -12,7 +12,7 @@ $table__border-color: #d4d4d4;
$table__background-color--odd: #f9f9f9;
.content {
pre {
pre, .code {
overflow-y: hidden;
overflow-x: auto;
padding: 10px;
......@@ -20,6 +20,30 @@ $table__background-color--odd: #f9f9f9;
background-color: #f9f9f9;
}
.code {
font-family: monospace, monospace;
font-size: 1em;
&__result {
dl {
margin: 0 0 10px 0;
dt {
clear: left;
float: left;
}
dd {
color: red;
}
}
}
.form__submit {
margin-top: 15px;
}
}
table {
border-spacing: 0;
border-collapse: collapse;
......
......@@ -26,6 +26,7 @@
@include fontSize(0.9);
&--current,
&.active,
&:hover {
color: white;
......
......@@ -26,6 +26,10 @@ hr {
background-color: $grey-light-color;
}
.hr--next {
margin-bottom: 10px;
}
figure {
margin: 0;
}
......
......@@ -22,7 +22,7 @@
['type' => 'post'],
['parent' => '/blog', 'orderBy' => ['createdAt' => 'asc']]) as $post)
<article class="grid__col-xs-12 grid__col-md-8">
<div class="box">
<div class="box box--post">
<h2>
{{ $post->data['title'] }}
</h2>
......
......@@ -23,7 +23,7 @@
<div class="content">
{!! $page->html() !!}
<div class="code">
<div class="result">
<div class="code__result">
<dl>
<dt>result['value']</dt><dd>{{ $viewHelper->text('value', $result) }}</dd>
<dt>result['checkbox']</dt><dd>{{ $viewHelper->text('checkbox', $result) }}</dd>
......@@ -38,7 +38,9 @@
<input id="form-input-checkbox" type="checkbox" name="checkbox" {{ $viewHelper->checkbox('checkbox', $result) }}>
<label for="form-input-checkbox">Checkbox</label>
</div>
<input type="submit">
<div class="form__submit">
<input type="submit" value="Send">
</div>
</form>
</div>
</div>
......
......@@ -38,7 +38,7 @@
<h2 class="page__title">
Next Features
</h2>
<hr>
<hr class="hr--next">
</header>
@foreach($pageRepository->find(
['type' => 'next'],
......
@extends('FuzzyCms.views.layout')
@section('content')
@inject('viewHelper', 'App\ViewHelper')
{{ $viewHelper->timeElapsed($page->data['publishedAt']) }}
{!! $page->html() !!}
@endsection
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment