Skip to content

Commit

Permalink
Added fonts + do it responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodem committed Feb 8, 2014
1 parent 23f10c6 commit 906da23
Show file tree
Hide file tree
Showing 18 changed files with 1,039 additions and 153 deletions.
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# meteor-boilerplate

This boilerplate is here to give you a structure for typical meteor projects, with a console tool to ease up some tasks.
This boilerplate is here to give you a structure for typical meteor projects, with a console tool to ease up some tasks.
Here's what the boilerplate looks like: [boilerplate.meteor.com](http://boilerplate.meteor.com)

## How to install

Expand All @@ -17,6 +18,19 @@ meteor
./meteor-boilerplate # Lists all possible commands
```

### Packages used

* semantic-ui
* collection2
* less
* jquery
* underscore
* handlebar-helpers
* iron-router
* iron-router-progress
* accounts-password
* accounts-ui

## What's in this boilerplate

The "insecure" and "autopublish" packages are removed by default. Several other packages are added, which are listed on the bottom. There's already a lot of predefined code in this boilerplate, to show you the possible functionality.
Expand Down Expand Up @@ -58,21 +72,6 @@ meteor-boilerplate.bat # Command line tool for windows

(*) = the command line tool creates files in these folders

### Packages used

* standard-app-packages
* preserve-inputs
* less
* jquery
* underscore
* handlebar-helpers
* iron-router
* iron-router-progress
* bootstrap3-less
* accounts-password
* accounts-entry
* accounts-ui

## Projects created with this boilerplate
[places](https://github.com/matteodem/places)

Expand Down
5 changes: 0 additions & 5 deletions client/config/accounts.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
Accounts.ui.config({
passwordSignupFields: 'USERNAME_AND_EMAIL'
});

AccountsEntry.config({
homeRoute: '/',
dashboardRoute : '/'
});
2 changes: 1 addition & 1 deletion client/stylesheets/content.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import 'variables.less';

.padding-wrapper {
padding: 30px 20px;
padding: 20px;
}
21 changes: 16 additions & 5 deletions client/stylesheets/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,42 @@ body, #main {
margin: 0px;
padding: 0px;
font-family: 'Fauna One', serif;
}

.divider:before {
margin-right: 0px;
}
#main {
margin: 0px 4px 0px 0px;
}

a {
color: inherit;
transition: 0.3s color;

&:hover {
color: @purple;
color: @primaryLinkHoverColor;
}
}

.icon {
&.orange {
color: @orange;
color: @html5Orange;
}
}

.ui.header {
font-family: 'Glegoo', serif;
}

/* -------------------
Footer
------------------- */
.padding-wrapper.footer {
border-radius: 0px;

a:hover {
color: @secondaryLinkHoverColor;
}
}

/* -------------------
Progress bar
------------------- */
Expand Down
18 changes: 11 additions & 7 deletions client/stylesheets/variables.less
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
// Declare variables for use in all the template specific / main less files

@purple: #682d71;
@lightPurple: #bd6ddb;
@white: #f6eff4;
@veryLightGray: #DDDDDD;
@lightestGray: #eeeeee;
@blue: #1b3fc3;
@primaryLinkHoverColor: #682d71;
@secondaryLinkHoverColor: #bd6ddb;
@secondaryFontColor: #f6eff4;
@secondaryFontColorVariation: #DDDDDD;
@primaryIconColor: #1b3fc3;

@orange: #F06529;
@html5Orange: #F06529;

// Responsive variables
@largeDesktopWidth: 1200px;
@mediumDesktopWidth: 992px;
@tabletWidth: 768px;
10 changes: 4 additions & 6 deletions client/views/common/footer.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<template name="footer">
<div class="padding-wrapper">pictures by <a href="http://www.flickr.com/photos/dexxus/">Paul Bica</a></div>
{{#if currentUser}}
<!-- p>You're logged in as {{currentUser.username}}, <a href="{{urlFor 'entrySignOut'}}">sign out here</a></p -->
{{else}}
<!-- a href="{{urlFor 'entrySignIn'}}">Sign in here</a> (or if you have no account <a href="{{urlFor 'entrySignUp'}}">sign up)</a -->
{{/if}}
<div class="ui inverted padding-wrapper footer segment">
project by <a href="https://github.com/matteodem">Matteo De Micheli</a>,
pictures by <a href="http://www.flickr.com/photos/dexxus/">Paul Bica</a>
</div>
</template>

8 changes: 4 additions & 4 deletions client/views/header/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
height: 450px;
background-position: 100% 100%;
transition: height 0.8s;
color: @white;
color: @secondaryFontColor;

.ui.header {
font-size: 3em;
padding-top: 160px;

> .sub.header {
color: @veryLightGray;
color: @secondaryFontColorVariation;
}
}

Expand All @@ -24,11 +24,11 @@
}

.angle.icon {
color: @white;
color: @secondaryFontColor;
}

a:hover {
color: @lightPurple;
color: @secondaryLinkHoverColor;
}

&.active {
Expand Down
Loading

0 comments on commit 906da23

Please sign in to comment.