Change css style sheets.
This commit is contained in:
+1
-18
@@ -1,22 +1,5 @@
|
|||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<!--
|
<p class="footer-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>
|
||||||
<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> © 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>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
+20
-18
@@ -1,27 +1,29 @@
|
|||||||
<header class="site-header">
|
<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">
|
<nav class="site-nav">
|
||||||
<a href="#" class="menu-icon">
|
<a href="#" class="menu-icon">
|
||||||
<svg viewBox="0 0 18 15">
|
<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,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,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"/>
|
<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>
|
</svg>
|
||||||
</a>
|
</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>
|
</div>
|
||||||
</nav>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
+3
-3
@@ -26,7 +26,7 @@ body {
|
|||||||
line-height: $base-line-height;
|
line-height: $base-line-height;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
background-color: $background-color;
|
background-color: white;
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -140,7 +140,8 @@ code {
|
|||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
border: 1px solid $grey-color-light;
|
border: 1px solid $grey-color-light;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background-color: #eef;
|
background-color: #f7f7f7;
|
||||||
|
font-family: Courier;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
@@ -149,7 +150,6 @@ code {
|
|||||||
|
|
||||||
pre {
|
pre {
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
overflow-x: scroll;
|
|
||||||
|
|
||||||
> code {
|
> code {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|||||||
+29
-16
@@ -2,38 +2,39 @@
|
|||||||
* Site header
|
* Site header
|
||||||
*/
|
*/
|
||||||
.site-header {
|
.site-header {
|
||||||
border-top: 5px solid $grey-color-dark;
|
border-bottom: 5px solid #1B73BA;
|
||||||
border-bottom: 1px solid $grey-color-light;
|
min-height: 64px;
|
||||||
min-height: 56px;
|
|
||||||
|
|
||||||
// Positioning context for the mobile navigation icon
|
// Positioning context for the mobile navigation icon
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-title {
|
.site-title {
|
||||||
font-size: 26px;
|
font-size: 36px;
|
||||||
line-height: 56px;
|
line-height: 64px;
|
||||||
letter-spacing: -1px;
|
letter-spacing: -1px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
float: left;
|
float: left;
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&:visited {
|
&:visited {
|
||||||
color: $grey-color-dark;
|
color: white;
|
||||||
|
/*font-family: Verdana;*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-nav {
|
.site-nav {
|
||||||
float: right;
|
float: right;
|
||||||
line-height: 56px;
|
line-height: 64px;
|
||||||
|
|
||||||
.menu-icon {
|
.menu-icon {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-link {
|
.page-link {
|
||||||
color: $text-color;
|
color: white;
|
||||||
line-height: $base-line-height;
|
line-height: $base-line-height;
|
||||||
|
font-size: 24px;
|
||||||
|
|
||||||
// Gaps between nav items, but not on the first one
|
// Gaps between nav items, but not on the first one
|
||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
@@ -76,12 +77,11 @@
|
|||||||
|
|
||||||
&:hover .trigger {
|
&:hover .trigger {
|
||||||
display: block;
|
display: block;
|
||||||
padding-bottom: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-link {
|
.page-link {
|
||||||
display: block;
|
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -92,8 +92,8 @@
|
|||||||
* Site footer
|
* Site footer
|
||||||
*/
|
*/
|
||||||
.site-footer {
|
.site-footer {
|
||||||
border-top: 1px solid $grey-color-light;
|
border-top: 5px solid #1B73BA;
|
||||||
padding: $spacing-unit 0;
|
background-color: #2388DB
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-heading {
|
.footer-heading {
|
||||||
@@ -104,6 +104,10 @@
|
|||||||
.footer-copy {
|
.footer-copy {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
color: white;
|
||||||
|
a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.contact-list,
|
.contact-list,
|
||||||
@@ -203,23 +207,32 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.post-title {
|
.post-title {
|
||||||
font-size: 42px;
|
font-size: 32px;
|
||||||
letter-spacing: -1px;
|
letter-spacing: -1px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
@include media-query($on-laptop) {
|
@include media-query($on-laptop) {
|
||||||
font-size: 36px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content {
|
.post-content {
|
||||||
margin-bottom: $spacing-unit;
|
margin-bottom: $spacing-unit;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #2388DB;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 32px;
|
font-size: 30px;
|
||||||
|
color: #2388DB;
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
@include media-query($on-laptop) {
|
@include media-query($on-laptop) {
|
||||||
font-size: 28px;
|
font-size: 26px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
// Our variables
|
// Our variables
|
||||||
$base-font-family: Helvetica, Arial, sans-serif;
|
$base-font-family: Verdana, Helvetica, Arial, sans-serif;
|
||||||
$base-font-size: 16px;
|
$base-font-size: 16px;
|
||||||
$small-font-size: $base-font-size * 0.875;
|
$small-font-size: $base-font-size * 0.875;
|
||||||
$base-line-height: 1.5;
|
$base-line-height: 1.5;
|
||||||
@@ -22,7 +22,7 @@ $grey-color-light: lighten($grey-color, 40%);
|
|||||||
$grey-color-dark: darken($grey-color, 25%);
|
$grey-color-dark: darken($grey-color, 25%);
|
||||||
|
|
||||||
// Width of the content area
|
// Width of the content area
|
||||||
$content-width: 800px;
|
$content-width: 1000px;
|
||||||
|
|
||||||
$on-palm: 600px;
|
$on-palm: 600px;
|
||||||
$on-laptop: 800px;
|
$on-laptop: 800px;
|
||||||
|
|||||||
Reference in New Issue
Block a user