-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
453 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,11 @@ virtualenv venv | |
. venv/bin/activate | ||
pip install -r requirements.txt | ||
grunt | ||
``` | ||
``` | ||
|
||
|
||
|
||
Package | ||
======= | ||
|
||
x |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
$primary-color: #FFA500; | ||
$secondary-color: #808080; | ||
$alt-color: #F5F1DE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,98 @@ | ||
@import "variables"; | ||
@import "../../../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap-compass.scss"; | ||
@import "../../../bower_components/fontawesome/scss/font-awesome.scss"; | ||
@import "../../../bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss"; | ||
@import "../../../bower_components/fontawesome/scss/font-awesome.scss"; | ||
|
||
/* GLOBAL STYLES | ||
-------------------------------------------------- */ | ||
|
||
body { | ||
padding-top: 10%; | ||
padding-bottom: 70px; | ||
color: $secondary-color; | ||
background-color: $primary-color; | ||
} | ||
|
||
|
||
/* NAVBAR | ||
-------------------------------------------------- */ | ||
|
||
.navbar-wrapper { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
left: 0; | ||
z-index: 20; | ||
|
||
.container { | ||
padding-right: 0; | ||
padding-left: 0; | ||
font-weight: bold; | ||
} | ||
|
||
.navbar { | ||
padding-right: 15px; | ||
padding-left: 15px; | ||
} | ||
} | ||
|
||
.navbar-wrapper .navbar .container { | ||
width: auto; | ||
} | ||
|
||
|
||
/* CAROUSEL | ||
-------------------------------------------------- */ | ||
|
||
.carousel { | ||
height: 500px; | ||
margin-bottom: 60px; | ||
|
||
.item { | ||
height: 500px; | ||
background-color: #777; | ||
} | ||
} | ||
|
||
.carousel-caption { | ||
z-index: 10; | ||
} | ||
|
||
.fletxeta { | ||
margin-top: 200%; | ||
} | ||
|
||
.carousel-inner > .item > img { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
min-width: 100%; | ||
height: 500px; | ||
} | ||
|
||
|
||
/* RESPONSIVE CSS | ||
-------------------------------------------------- */ | ||
|
||
@media (min-width: 768px) { | ||
.navbar-wrapper { | ||
margin-top: 20px; | ||
|
||
.container { | ||
padding-right: 15px; | ||
padding-left: 15px; | ||
} | ||
|
||
.navbar { | ||
padding-right: 0; | ||
padding-left: 0; | ||
border-radius: 4px; | ||
} | ||
} | ||
|
||
.carousel-caption p { | ||
margin-bottom: 20px; | ||
font-size: 21px; | ||
line-height: 1.4; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,62 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head lang="en"> | ||
<head lang="cat"> | ||
<meta charset="UTF-8"> | ||
<title></title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<link rel="icon" href="{{ homepage }}images/favicon.ico"> | ||
|
||
<title>Catux</title> | ||
|
||
|
||
<link rel="stylesheet" type="text/css" href="{{ homepage }}css/main.css"> | ||
</head> | ||
<body> | ||
<div class="navbar-wrapper"> | ||
<div class="container"> | ||
|
||
<nav class="navbar navbar-inverse navbar-static-top"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | ||
<span class="sr-only">Toggle navigation</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a href="{{ homepage }}"><img src="holder.js/240x60"></a> | ||
</div> | ||
<div id="navbar" class="navbar-collapse collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li><a href="{{ homepage }}post_list.html">Blog</a></li> | ||
<li><a href="{{ homepage }}fotos">Fotos</a></li> | ||
<li><a href="{{ homepage }}traduccio">Traducció</a></li> | ||
<li><a href="{{ homepage }}planet">Món (Planet)</a></li> | ||
<li><a href="{{ homepage }}llistes">Llistes de correu</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
</div> <!-- /.navbar-wrapper --> | ||
|
||
<div class="container"> | ||
{% block content %} | ||
{% endblock %} | ||
</div> <!-- /.container --> | ||
|
||
<div class="container"> | ||
<footer class="catux-footer"> | ||
<p> | ||
Tot el contingut de Catux està subjecte sota la nova versió de la llicència de | ||
<a href="http://creativecommons.org/licenses/by/2.5/es/deed.ca">Creative Commons</a> | ||
</p> | ||
</footer> | ||
</div> | ||
|
||
<script src="{{ homepage }}js/main.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"homepage": "http://localhost:9000/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
<title></title> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> | ||
{% extends 'base.html' %} | ||
|
||
{% block content %} | ||
<div id="homepage-carousel" class="carousel slide" data-ride="carousel"> | ||
<!-- Indicators --> | ||
<ol class="carousel-indicators"> | ||
<li data-target="#homepage-carousel" data-slide-to="0" class="active"></li> | ||
<li data-target="#homepage-carousel" data-slide-to="1"></li> | ||
<li data-target="#homepage-carousel" data-slide-to="2"></li> | ||
</ol> | ||
|
||
<!-- Wrapper for slide --> | ||
<div class="carousel-inner" role="listbox"> | ||
<div class="item active"> | ||
<img class="first-slide" src="{{ homepage }}/images/Slider1.jpg"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Traduccions</h1> | ||
<p>Pupita se calle ustée pecador a peich. Me cago en tus muelas te va a hasé pupitaa por la gloria de mi madre. </p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="item"> | ||
<img class="second-slide" src="{{ homepage }}/images/Slider2.jpg"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Catux-USB</h1> | ||
<p>Mamaar se calle ustée se calle ustée se calle ustée te voy a borrar el cerito. </p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="item"> | ||
<img class="third-slide" src="{{ homepage }}/images/Slider3.jpg"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Llistes</h1> | ||
<p>Lorem fistrum ahorarr por la gloria de mi madre me cago en tus muelas fistro. </p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Carousel controls --> | ||
<a class="left carousel-control" href="#homepage-carousel" role="button" data-slide="prev"> | ||
<i class="fletxeta fa fa-chevron-left" aria-hidden="true"></i> | ||
<span class="sr-only">Prèvia</span> | ||
</a> | ||
|
||
<a class="right carousel-control" href="#homepage-carousel" role="button" data-slide="next"> | ||
<i class="fletxeta fa fa-chevron-right" aria-hidden="true"></i> | ||
<span class="sr-only">Següent</span> | ||
</a> | ||
|
||
</div> <!-- ./carousel --> | ||
|
||
{% endblock %} |
Oops, something went wrong.