Change css style sheets.

This commit is contained in:
Andrey Shitov 2015-06-13 22:33:01 +03:00
parent da994e5a7c
commit 7b5a6dc624
5 changed files with 55 additions and 57 deletions

View File

@ -1,22 +1,5 @@
<footer class="site-footer">
<div class="wrapper">
<!--
<h2 class="footer-heading">{{ site.title }}</h2>
<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">
<ul class="contact-list">
<li>{{ site.title }}</li>
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
</ul>
</div>
<h3 class="footer-heading">{{ site.title }}</h2>
<div class="footer-col footer-col-5">
<p class="text">{{ site.description }}</p>
</div>
-->
<div class="footer-copy">
<p> &copy; Copyright {{ site.time | date: '%Y' }} Samsung Electronics Co., Ltd., Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
</div>
<p class="footer-copy"> &copy; Copyright {{ site.time | date: '%Y' }} Samsung Electronics Co., Ltd., Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
</div>
</footer>

View File

@ -1,27 +1,29 @@
<header class="site-header">
<div class="wrapper">
<div style="background-color: #2388DB;">
<div class="wrapper">
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
<nav class="site-nav">
<a href="#" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>
<nav class="site-nav">
<a href="#" class="menu-icon">
<svg viewBox="0 0 18 15">
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
</svg>
</a>
<div class="trigger">
{% for page in site.pages %}
{% if page.title %}
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
</div>
</nav>
<div class="trigger">
{% for page in site.pages %}
{% if page.title %}
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
</div>
</nav>
</div>
</header>

View File

@ -26,7 +26,7 @@ body {
line-height: $base-line-height;
font-weight: 300;
color: $text-color;
background-color: $background-color;
background-color: white;
-webkit-text-size-adjust: 100%;
}
@ -140,7 +140,8 @@ code {
font-size: 15px;
border: 1px solid $grey-color-light;
border-radius: 3px;
background-color: #eef;
background-color: #f7f7f7;
font-family: Courier;
}
code {
@ -149,7 +150,6 @@ code {
pre {
padding: 8px 12px;
overflow-x: scroll;
> code {
border: 0;

View File

@ -2,38 +2,39 @@
* Site header
*/
.site-header {
border-top: 5px solid $grey-color-dark;
border-bottom: 1px solid $grey-color-light;
min-height: 56px;
border-bottom: 5px solid #1B73BA;
min-height: 64px;
// Positioning context for the mobile navigation icon
position: relative;
}
.site-title {
font-size: 26px;
line-height: 56px;
font-size: 36px;
line-height: 64px;
letter-spacing: -1px;
margin-bottom: 0;
float: left;
&,
&:visited {
color: $grey-color-dark;
color: white;
/*font-family: Verdana;*/
}
}
.site-nav {
float: right;
line-height: 56px;
line-height: 64px;
.menu-icon {
display: none;
}
.page-link {
color: $text-color;
color: white;
line-height: $base-line-height;
font-size: 24px;
// Gaps between nav items, but not on the first one
&:not(:first-child) {
@ -76,12 +77,11 @@
&:hover .trigger {
display: block;
padding-bottom: 5px;
}
.page-link {
display: block;
padding: 5px 10px;
vertical-align: middle;
}
}
}
@ -92,8 +92,8 @@
* Site footer
*/
.site-footer {
border-top: 1px solid $grey-color-light;
padding: $spacing-unit 0;
border-top: 5px solid #1B73BA;
background-color: #2388DB
}
.footer-heading {
@ -104,6 +104,10 @@
.footer-copy {
font-size: 14px;
text-align: center;
color: white;
a {
color: white;
}
}
.contact-list,
@ -203,23 +207,32 @@
}
.post-title {
font-size: 42px;
font-size: 32px;
letter-spacing: -1px;
line-height: 1;
margin-top: 10px;
margin-bottom: 10px;
@include media-query($on-laptop) {
font-size: 36px;
font-size: 28px;
}
}
.post-content {
margin-bottom: $spacing-unit;
h1 {
color: #2388DB;
}
h2 {
font-size: 32px;
font-size: 30px;
color: #2388DB;
margin-top: 10px;
margin-bottom: 5px;
@include media-query($on-laptop) {
font-size: 28px;
font-size: 26px;
}
}

View File

@ -6,7 +6,7 @@
// Our variables
$base-font-family: Helvetica, Arial, sans-serif;
$base-font-family: Verdana, Helvetica, Arial, sans-serif;
$base-font-size: 16px;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
@ -22,7 +22,7 @@ $grey-color-light: lighten($grey-color, 40%);
$grey-color-dark: darken($grey-color, 25%);
// Width of the content area
$content-width: 800px;
$content-width: 1000px;
$on-palm: 600px;
$on-laptop: 800px;