Skip to content

Commit

Permalink
Remove overview, use defaut background
Browse files Browse the repository at this point in the history
  • Loading branch information
wildskyf committed Dec 21, 2015
1 parent cdddae4 commit a616d31
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
Binary file added images/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
</head>
<body>
<header>
<span class="overview">概覽</span>
<h1>
{% include gnomelogo.svg %}
Gnome 台灣社群支援站
Expand All @@ -22,6 +21,10 @@ <h1>
</a>
</span>
</header>
<main>這裡是 Gnome 台灣非官方社群支援站,你可以在這裡獲得協助。</main>
<main>
這裡是 Gnome 台灣社群支援站,你可以在這裡獲得協助。
<div id="left_bar"></div>
<div id="right_bar"></div>
</main>
</body>
</html>
18 changes: 4 additions & 14 deletions style.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
---
---

@mixin bg-gradient-t2b($start-colour, $end-colour) {
background-color: $start-colour;
background-image: -webkit-gradient(linear, left top, left bottom, from($start-colour), to($end-colour));
background-image: -webkit-linear-gradient(top, $start-colour, $end-colour);
background-image: -moz-linear-gradient(top, $start-colour, $end-colour);
background-image: -ms-linear-gradient(top, $start-colour, $end-colour);
background-image: -o-linear-gradient(top, $start-colour, $end-colour);
background-image: linear-gradient(top, $start-colour, $end-colour);
filter: progid:DXImageTransform.Microsoft.gradient(start-colourStr='#{$start-colour}', end-colourStr='#{$end-colour}');
}


body {
margin: 0;
padding: 0;
min-height: 100vh;
@include bg-gradient-t2b(#8FB3D9, #fff);
background: url('/images/bg.png') no-repeat repeat;
background-size: contain;
}

header {
Expand All @@ -27,8 +16,9 @@ header {
h1 {
display: inline-block;
padding: 0;
margin: 0 2rem;
margin: 0 .5rem;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 500;
&:hover {
color: #fff;
Expand Down

0 comments on commit a616d31

Please sign in to comment.