Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Sitemap updates #544

Merged
merged 2 commits into from
Nov 11, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions app/sitemap/sitemap.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.sitemap-wrapper
section.sitemap-nav
h2.sitemap-header Compete

ul
li
a(href="/challenges/design/active") Design Challenges
Expand All @@ -17,6 +18,7 @@

section.sitemap-nav.hide-small
h2.sitemap-header Learn

ul
li
a(href="/community/design") Design
Expand All @@ -29,6 +31,7 @@

section.sitemap-nav
h2.sitemap-header Community

ul
li
a(href="/community") Home
Expand All @@ -47,12 +50,13 @@

section.sitemap-nav.hide-small
h2.sitemap-header My Account

ul
li
a(href="/my-dashboard") Dashboard
a(ui-sref="dashboard") Dashboard
li
a(href="/members/") My Profile
li
a(href="/settings/profile") Settings
a(ui-sref="settings.profile") Settings


1 change: 1 addition & 0 deletions app/sitemap/sitemap.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

function routes($stateProvider, $locationProvider) {
$locationProvider.html5Mode(true);

var states = {
'sitemap': {
parent: 'root',
Expand Down
45 changes: 20 additions & 25 deletions assets/css/sitemap/sitemap.scss
Original file line number Diff line number Diff line change
@@ -1,97 +1,92 @@
// Sitemap styles
@import 'tc-includes';

.sitemap-container {
margin: 10px;
background: #fff;
background: $white;
padding: 34px 26px;
font-family: 'Sofia Pro';

@media only screen and (min-width: 768px) {
margin: 0;
padding: 0;
background: #F6F6F6;
background: $gray-lighter;

.sitemap-wrapper {
margin: 58px 69px;
background: #fff;
background: $white;
padding: 41px 58px;

&:after {
display: block;
content: '';
clear: both;
}
}
}

.page-header {
font-size: 22px;
font-weight: bold;
text-align: center;

@media only screen and (min-width: 768px) {
text-align: left;
font-size: 32px;
padding: 47px 38px 33px 129px;
background: #fff;
background: $white;
border-bottom: 2px solid #EBEBEB;
}
}

.sitemap-header {
font-weight: bold;
font-size: 14px;

@media only screen and (min-width: 768px) {
font-size: 15px;
}
}

.sitemap-nav {
margin-top: 32px;
font-size: 18px;
text-transform: uppercase;

@media only screen and (min-width: 768px) {
width: 25%;
float: left;
margin: 0;
box-sizing: border-box;
padding: 31px 5px 31px 5px;



&:nth-child(4n+1) {
clear: both;
}
}

a {
display: block;
margin-top: 16px;
color: #A3A3B4;
font-size: 15px;
}

+ .sitemap-nav {
margin-top: 42px;

@media only screen and (min-width: 768px) {
margin: 0;
}
}
}

.sitemap-subnav {
margin-left: 16px;

a {
font-size: 13px;
text-transform: none;
}
}

@media only screen and (max-width: 767px) {
.hide-small {
.hide-small {
display: none;
}
}
}
}
}