Browse Source

Change the titles CSS, padding and line-height

pull/477/head
Timothée Jaussoin 8 years ago
parent
commit
67927cc104
  1. 4
      app/widgets/About/about.tpl
  2. 2
      app/widgets/Avatar/avatar.tpl
  3. 2
      app/widgets/Blog/blog.tpl
  4. 2
      app/widgets/Config/config.tpl
  5. 2
      app/widgets/Vcard4/vcard4.tpl
  6. 17
      themes/material/css/title.css

4
app/widgets/About/about.tpl

@ -1,10 +1,8 @@
<div class="tabelem" title="{$c->__('page.about')}" id="about">
<h2 class="padded_top_bottom">Movim {$version} - {$c->__('page.about')} </h2>
<ul class="list thick divided">
<li>
<span class="primary icon bubble color green"><i class="zmdi zmdi-info"></i></span>
<p>{$c->__('page.about')}</p>
<p>Movim {$version} - {$c->__('page.about')}</p>
<p class="all">{$c->__('about.info')} <a href="http://www.gnu.org/licenses/agpl-3.0.html">GNU Affero General Public License v3</a>.</p>
</li>
<li class="subheader">

2
app/widgets/Avatar/avatar.tpl

@ -1,4 +1,4 @@
<div class="tabelem padded" title="{$c->__('page.avatar')}" id="avatar" >
<div class="tabelem padded_top_bottom" title="{$c->__('page.avatar')}" id="avatar" >
<div id="avatar_form">
<ul class="list thick">
<li>

2
app/widgets/Blog/blog.tpl

@ -91,7 +91,7 @@
<div class="card shadow" title="{$c->__('page.feed')}" id="blog" >
{loop="$posts"}
{if="$c->getUser()->isLogged()"}
{if="$mode == 'tag'"}
{$c->prepareCard($value)}
{else}
{$c->preparePost($value)}

2
app/widgets/Config/config.tpl

@ -1,3 +1,3 @@
<div class="tabelem padded" title="{$c->__('page.configuration')}" id="config_widget" >
<div class="tabelem padded_top_bottom" title="{$c->__('page.configuration')}" id="config_widget" >
{$form}
</div>

2
app/widgets/Vcard4/vcard4.tpl

@ -1,4 +1,4 @@
<div class="tabelem padded" title="{$c->__('vcard.title')}" id="vcard4" >
<div class="tabelem padded_top_bottom" title="{$c->__('vcard.title')}" id="vcard4" >
{if="!isset($me->jid)"}
<script type="text/javascript">
MovimWebsocket.attach(function() {

17
themes/material/css/title.css

@ -4,39 +4,46 @@ h1 { /* Display 1 */
font-size: 4.25rem;
line-height: 7rem;
}
/*
article h1 {
line-height: 5.6rem;
font-size: 4rem;
padding: 0.75rem 0;
}
*/
article h1,
h2 { /* Headline */
font-size: 3rem;
line-height: 4rem;
padding: 1.5rem 0;
}
article h2 {
/*article h2 {
padding: 0.5rem 0;
}
h2.thin {
line-height: 5rem;
}
}*/
article h2,
h3 { /* Title */
font-size: 2.5rem;
font-weight: 700;
font-weight: 600;
line-height: 3rem;
padding: 1rem 0;
}
article h3,
h4, input, textarea, select { /* Headline */
font-size: 2rem;
line-height: 3rem;
}
article h4 {
font-weight: 600;
}
h4 {
font-weight: 400;
}

Loading…
Cancel
Save