зеркало из https://github.com/mozilla/makerparty.git
tweaks & fix nav on mobile
This commit is contained in:
Родитель
4e9d7393ae
Коммит
b240675c0f
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"===FIXME===": "===FIXEME=== ===FIXEME=== ===FIXEME=== ===FIXEME=== ===FIXEME===",
|
||||||
"About Webmaker": "About Webmaker",
|
"About Webmaker": "About Webmaker",
|
||||||
"Anyone can join Maker Party by hosting or attending an event.": "Anyone can join Maker Party by hosting or attending an event.",
|
"Anyone can join Maker Party by hosting or attending an event.": "Anyone can join Maker Party by hosting or attending an event.",
|
||||||
"Attend an Event": "Attend an Event",
|
"Attend an Event": "Attend an Event",
|
||||||
|
@ -39,6 +40,7 @@
|
||||||
"Creativity Labs at Indiana University": "Creativity Labs at Indiana University",
|
"Creativity Labs at Indiana University": "Creativity Labs at Indiana University",
|
||||||
"Decoded": "Decoded",
|
"Decoded": "Decoded",
|
||||||
"DIY.org Desc": "<b>DIY.org</b> made 250,000 projects with kids [where?]",
|
"DIY.org Desc": "<b>DIY.org</b> made 250,000 projects with kids [where?]",
|
||||||
|
"Documents": "Documents",
|
||||||
"Donate": "Donate",
|
"Donate": "Donate",
|
||||||
"E-Skills": "E-Skills",
|
"E-Skills": "E-Skills",
|
||||||
"English": "English",
|
"English": "English",
|
||||||
|
@ -84,6 +86,7 @@
|
||||||
"Learn by teaching": "Learn by teaching",
|
"Learn by teaching": "Learn by teaching",
|
||||||
"Learn by teaching Desc": "The best way to learn the web is to teach it. Hosting a Maker Party is not only personally rewarding, it contributes to the greater goal of increasing web literacy for everyone, everywhere in the world.",
|
"Learn by teaching Desc": "The best way to learn the web is to teach it. Hosting a Maker Party is not only personally rewarding, it contributes to the greater goal of increasing web literacy for everyone, everywhere in the world.",
|
||||||
"Learn more about us": "Learn more about us.",
|
"Learn more about us": "Learn more about us.",
|
||||||
|
"Logos & Visual Assets": "Logos & Visual Assets",
|
||||||
"London Zoo/Edge of Existence": "London Zoo/Edge of Existence",
|
"London Zoo/Edge of Existence": "London Zoo/Edge of Existence",
|
||||||
"MadLab": "MadLab",
|
"MadLab": "MadLab",
|
||||||
"Make Waves": "Make Waves",
|
"Make Waves": "Make Waves",
|
||||||
|
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 264 KiB |
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 270 KiB |
|
@ -105,13 +105,10 @@ ul.nav-webmaker-logo {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar-toggle {
|
|
||||||
@media (min-width: @screen-sm-min) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar-collapse {
|
.navbar-collapse {
|
||||||
padding-left: 0;
|
@media (min-width: @screen-sm-min) {
|
||||||
|
padding-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar.navbar-inverse.navbar-no-header-xs {
|
.navbar.navbar-inverse.navbar-no-header-xs {
|
||||||
|
@ -137,28 +134,32 @@ ul.nav-webmaker-logo {
|
||||||
top: -40px;
|
top: -40px;
|
||||||
h2 {
|
h2 {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
color: @mp-green;
|
color: #fff;
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
background: @mp-yellow;
|
background: #99d2d4;
|
||||||
color: #000;
|
color: @mp-green;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.left-triangle {
|
.left-triangle {
|
||||||
width: 0;
|
@media (min-width: 830px ) {
|
||||||
height: 0;
|
width: 0;
|
||||||
border-left: 25px solid transparent;
|
height: 0;
|
||||||
border-bottom: 40px solid #cdbd2c;
|
border-left: 25px solid transparent;
|
||||||
position: absolute;
|
border-bottom: 40px solid @mp-green;
|
||||||
left: -25px;
|
position: absolute;
|
||||||
|
left: -25px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.right-triangle {
|
.right-triangle {
|
||||||
width: 0;
|
@media (min-width: 830px ) {
|
||||||
height: 0;
|
width: 0;
|
||||||
border-right: 25px solid transparent;
|
height: 0;
|
||||||
border-bottom: 40px solid #cdbd2c;
|
border-right: 25px solid transparent;
|
||||||
position: absolute;
|
border-bottom: 40px solid @mp-green;
|
||||||
right: -25px;
|
position: absolute;
|
||||||
|
right: -25px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -252,6 +253,15 @@ footer {
|
||||||
HOME page
|
HOME page
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.home {
|
||||||
|
.banner {
|
||||||
|
background-image: url('../img/makerparty_landing_image2.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center center;
|
||||||
|
min-height: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.home-banner-video {
|
.home-banner-video {
|
||||||
padding-bottom: 66.66%;
|
padding-bottom: 66.66%;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
@ -453,6 +463,16 @@ footer {
|
||||||
History page
|
History page
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.history {
|
||||||
|
.banner {
|
||||||
|
background-image: url('../img/makerparty_history_headeryellow2.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center center;
|
||||||
|
min-height: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.history {
|
.history {
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -608,4 +628,10 @@ footer {
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
}
|
}
|
||||||
|
.asset {
|
||||||
|
.preview {
|
||||||
|
background: @lightgrey;
|
||||||
|
min-height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,9 +28,7 @@
|
||||||
|
|
||||||
<nav class="navbar navbar-inverse navbar-no-header-xs">
|
<nav class="navbar navbar-inverse navbar-no-header-xs">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-collapse collapse" id="mp-navbar-row">
|
||||||
</div>
|
|
||||||
<div class="navbar-collapse" id="mp-navbar-row">
|
|
||||||
{% block navItems %}
|
{% block navItems %}
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<li class="active"><a href="/">{{ gettext("Maker Party") }}</a></li>
|
<li class="active"><a href="/">{{ gettext("Maker Party") }}</a></li>
|
||||||
|
@ -40,9 +38,9 @@
|
||||||
<li><a href="/history">{{ gettext("History") }}</a></li>
|
<li><a href="/history">{{ gettext("History") }}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<ul class="nav-webmaker-logo">
|
<!-- <ul class="nav-webmaker-logo">
|
||||||
<li><a href="https://webmaker.org"><img src="img/webmaker_headerwordmark.png"></a></li>
|
<li><a href="https://webmaker.org"><img src="img/webmaker_headerwordmark.png"></a></li>
|
||||||
</ul>
|
</ul> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -148,6 +146,7 @@
|
||||||
<script src="config.js"></script>
|
<script src="config.js"></script>
|
||||||
<script src="bower_components/jquery/dist/jquery.min.js"></script>
|
<script src="bower_components/jquery/dist/jquery.min.js"></script>
|
||||||
<script src="bower_components/jquery-colorbox/jquery.colorbox-min.js"></script>
|
<script src="bower_components/jquery-colorbox/jquery.colorbox-min.js"></script>
|
||||||
|
<script src="bower_components/bootstrap/js/collapse.js"></script>
|
||||||
<script src="http://mozorg.cdn.mozilla.net/tabzilla/tabzilla.js"></script>
|
<script src="http://mozorg.cdn.mozilla.net/tabzilla/tabzilla.js"></script>
|
||||||
|
|
||||||
<script src="js/ui.js"></script>
|
<script src="js/ui.js"></script>
|
||||||
|
|
|
@ -30,7 +30,59 @@
|
||||||
{% block mainContent %}
|
{% block mainContent %}
|
||||||
<div class="big-section">
|
<div class="big-section">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
Resources Page
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h2>{{ gettext("Documents") }}</h2>
|
||||||
|
<p>{{ gettext("===FIXME===") }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="big-section">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h2>{{ gettext("Logos & Visual Assets") }}</h2>
|
||||||
|
<p>{{ gettext("===FIXME===") }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 asset">
|
||||||
|
<div class="preview"></div>
|
||||||
|
<p>{{ gettext("") }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче