Skip to content

Commit

Permalink
Initial template setup
Browse files Browse the repository at this point in the history
Former-commit-id: 6e57526e567344e5a60b3b5c3912da9e9a5372bb
  • Loading branch information
Graham Bancroft committed Apr 28, 2015
1 parent de1ebcb commit 85e8980
Show file tree
Hide file tree
Showing 308 changed files with 7,204 additions and 8,310 deletions.
227 changes: 227 additions & 0 deletions django-error.log

Large diffs are not rendered by default.

2,048 changes: 814 additions & 1,234 deletions etc/mirrors.rss

Large diffs are not rendered by default.

257 changes: 167 additions & 90 deletions redirects.txt
100644 → 100755

Large diffs are not rendered by default.

14 changes: 0 additions & 14 deletions static/css/_scratch.scss

This file was deleted.

File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions static/css/ie/ie6.scss
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "../core-constants";

html.lt-ie7 {
.row-box { overflow: hidden; }
font-size: 16px;
Expand Down
2 changes: 0 additions & 2 deletions static/css/ie/ie7.scss
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "../core-constants";

html.lt-ie8 {
* { zoom: 1; }

Expand Down
81 changes: 81 additions & 0 deletions static/css/scratch.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
/*
* This stylesheet is used to override the core styles until the monthly merge.
*
* Please comment your changes to help documentation.
CONTENTS:
-----------------------------------------------------------------
*/

// additional helper class for shouty text
.caps {
text-transform: uppercase;
}

@media only screen and (max-width : 768px) {
// helper class for small
.small-align-center {
text-align: center;
}
}

/* Chinese Social links */

.list--social__item {
height: 37px;
margin-right: 20px;
padding: 0;
text-indent: -999em;
width: 37px;
float: left;
display: inline-block;

&:after {
content: " " !important;
}

a {
display: block;
height: 37px;
width: 37px;
margin: 0;
overflow: hidden;
}

&.active a {
background-image:
url('../img/icons/icon-wechat.svg'),
url('../img/homepage/kylin/qr-code-wechat.png');
background-repeat: no-repeat;
background-position: left top, right top;
background-size: 37px 37px, auto;
width: 140px;
height: 116px;
}
} // &__item

.list--social__item--wechat a {
background: url('../img/icons/icon-wechat.svg') no-repeat;
}

.list--social__item--weibo a {
background: url('../img/icons/icon-weibo.svg') no-repeat;
}

main section .strip-inner-wrapper {

}

main .list--social {
display: inline;
}

.china-mobile {
float: left;
margin-right: 40px;
}

.homepage footer .list--social {
display: none;
}
4 changes: 4 additions & 0 deletions static/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ core scss files are in /sites/core/static/css
-------------------------------------------------------------- */
@import "section/tablet";

/* @section things
-------------------------------------------------------------- */
@import "section/things";

/* @section tv
-------------------------------------------------------------- */
@import "section/tv";
Expand Down
3 changes: 2 additions & 1 deletion static/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ var ai = [{ url: "http://www.ubuntu.com", title:"Ubuntu" },
{ url: "http://discourse.ubuntu.com", title:"Discourse" },
{ url: "http://www.ubuntu.com/certification", title:"Hardware" },
{ url: "https://insights.ubuntu.com", title:"Insights" },
{ url: "https://juju.ubuntu.com", title:"Juju" },
{ url: "https://jujucharms.com", title:"Juju" },
{ url: "http://partners.ubuntu.com", title:"Partners" },
{ url: "http://shop.ubuntu.com", title:"Shop" }];

var more = [{ url: "http://apps.ubuntu.com", title:"Apps" },
Expand Down
Loading

0 comments on commit 85e8980

Please sign in to comment.