modify docs box, add transition shadow and transform size

This commit is contained in:
readme 2020-03-24 17:48:42 +01:00
parent fe6a7cff74
commit ddd5d44e3e
6 changed files with 21 additions and 6 deletions

View file

@ -136,6 +136,7 @@ a:active {
flex-wrap: wrap; flex-wrap: wrap;
margin: 0; margin: 0;
line-height: 1.3; line-height: 1.3;
text-align: center;
} }
.pagelist li { .pagelist li {
@ -152,12 +153,19 @@ a:active {
overflow: hidden; overflow: hidden;
/* color for links in pagelist type page eg "Installation" (1 from 3) */ /* color for links in pagelist type page eg "Installation" (1 from 3) */
color: #111833; color: #111833;
background-color: #ffff;
transition: box-shadow .3s;
transition: transform .3s;
border-radius: 5px;
} }
.pagelist a:hover, .pagelist a:hover,
.pagelist a:focus { .pagelist a:focus {
/* background-color: #5a14dd; */ /* background-color: #5a14dd; */
border-color: rgb(238, 9, 150); /* border-color: rgb(238, 9, 150); */
box-shadow: 0 0 21px rgba(33, 33, 33, .2);
text-decoration: none;
transform: scale(1.03);
} }
.pagelist h2, .pagelist h2,
@ -169,6 +177,11 @@ a:active {
color: #111833; color: #111833;
} }
.pagelist img {
width: 100%;
float: none;
}
p.articleinfo { p.articleinfo {
font-size: 0.8em; font-size: 0.8em;
/* currently date */ /* currently date */

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View file

@ -1,7 +1,7 @@
--- ---
title: dashbox title: dashbox
description: Simple development framework for Dash Platform description: Simple development framework for Dash Platform
image: images/docs/dashbox-docs-orange.png image: images/docs/dashbox-docs-white-single.png
priority: 0.8 priority: 0.8
--- ---

View file

@ -54,7 +54,10 @@
</article> </article>
{{#if isPage}}
{{else}}
{{> footer template='article' }} {{> footer template='article' }}
{{/if}}
</div> </div>

View file

@ -5,9 +5,8 @@
<li> <li>
<a href="{{ path }}"> <a href="{{ path }}">
<!-- <img src="{{ root }}{{ image }}" width="80" /> --> <!-- <img src="{{ root }}{{ image }}" width="80" /> -->
<img src="{{ image }}" width="80" /> <img src="{{ image }}" />
<h2>{{ title }}</h2> <!-- <h2>{{ title }}</h2> -->
{{#if description}} {{#if description}}
<p>{{ description }}</p> <p>{{ description }}</p>
{{/if}} {{/if}}