Skip to content

Commit

Permalink
Merge pull request #5 from tiagoporto/master
Browse files Browse the repository at this point in the history
Improvements and more
  • Loading branch information
welksonramos authored Oct 27, 2018
2 parents 661c389 + e6b0af4 commit 82043a7
Show file tree
Hide file tree
Showing 19 changed files with 4,296 additions and 497 deletions.
315 changes: 132 additions & 183 deletions dist/flagsbrasil.css

Large diffs are not rendered by default.

34 changes: 19 additions & 15 deletions dist/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,31 @@ body {
margin: 0;
padding: 0;
background: #fff;
font: 300 normal 1.5em/1.5 'open-sans', sans-serif;
font: 300 normal 1.5em/1.5 'Open Sans', sans-serif;
}
.header {
color: #fff;
display: block;
width: 100%;
height: 50vh;
padding: 20px 0;
padding: 20px 10px;
background: linear-gradient(to right, #019f6f, #f1c40f);
text-align: center;
margin-bottom: 50px;
}
.header h1 {
color: #fff;
margin: 0;
padding-top: 30px;
text-shadow: 7px 7px 0 rgba(0,0,0,0.2);
padding-top: 20px;
text-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}
.header h2 {
.header p {
font-size: 0.6em;
padding: 0;
max-width: 500px;
text-align: center;
margin: 12px auto;
text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}
.header h2 {
text-shadow: 5px 1px 0 rgba(0,0,0,0.2);
}
.btn-contribua {
.contribute-btn {
color: #fff;
font-size: 0.45em;
border: 2px solid #fff;
Expand All @@ -42,20 +39,27 @@ body {
text-decoration: none;
text-transform: uppercase;
}
.btn-contribua:hover {
.contribute-btn:hover {
color: rgba(255,255,255,0.5);
border: 2px solid rgba(255,255,255,0.5);
}
.section-flags {
.container {
display: flex;
flex-flow: row wrap;
align-items: left;
justify-content: space-between;
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 10px;
}
.container > div {
flex: 1 1;
margin-bottom: 50px;
}
.container h2 {
color: rgba(0,0,0,0.6);
font-size: 0.5em;
text-align: center;
}
.footer {
font-size: 0.5em;
width: 100%;
Expand Down
91 changes: 55 additions & 36 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,79 +28,98 @@
<meta name="mobile-web-app-capable" content="yes" />

<!-- CSS -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,700" rel="stylesheet">
<link rel="stylesheet" href="dist/flagsbrasil.css">
<link rel="stylesheet" href="dist/main.css">
</head>
<body>
<header class="header">
<h1>Flags Brazil</h1>
<h2>Coleção de Bandeiras dos Estados Federativos do Brasil desenvolvidas usando somente CSS</h2>
<a class="btn-contribua" href="https://github.com/welksonramos/flags-brazil">Contribua</a>
<p>Coleção de Bandeiras dos Estados Federativos do Brasil desenvolvidas usando somente CSS</p>
<a class="contribute-btn" href="https://github.com/welksonramos/flags-brazil">Contribua</a>
</header>
<section class="section-flags">

<section class="container">
<!-- Brasil -->
<div class="flag-br">
<div class="flag"></div>
<h1>Brasil</h1>
<div>
<div class="flag flag-br"></div>
<h2>Brasil</h2>
</div>

<!-- Acre -->
<div class="flag-ac">
<div class="flag"></div>
<h1>Acre</h1>
<div>
<div class="flag flag-ac"></div>
<h2>Acre</h2>
</div>

<!-- Bahia -->
<div class="flag-ba">
<div class="flag"></div>
<h1>Bahia</h1>
<div>
<div class="flag flag-ba"></div>
<h2>Bahia</h2>
</div>

<!-- Maranhão -->
<div class="flag-ma">
<div class="flag"></div>
<h1>Maranhão</h1>
<div>
<div class="flag flag-ma"></div>
<h2>Maranhão</h2>
</div>

<!-- Minas Gerais -->
<div>
<div class="flag flag-mg"></div>
<h2>Minas Gerais</h2>
</div>

<!-- Mato Grosso -->
<div class="flag-mt">
<div class="flag"></div>
<h1>Mato Grosso</h1>
<div>
<div class="flag flag-mt"></div>
<h2>Mato Grosso</h2>
</div>

<!-- Mato Grosso do Sul -->
<div class="flag-ms">
<div class="flag"></div>
<h1>Mato Grosso do Sul</h1>
<div>
<div class="flag flag-ms"></div>
<h2>Mato Grosso do Sul</h2>
</div>

<!-- Pará -->
<div class="flag-pa">
<div class="flag"></div>
<h1>Pará</h1>
<div>
<div class="flag flag-pa"></div>
<h2>Pará</h2>
</div>

<!-- Paraíba -->
<div class="flag-pb">
<div class="flag"></div>
<h1>Paraíba</h1>
<div>
<div class="flag flag-pb"></div>
<h2>Paraíba</h2>
</div>

<!-- Piauí -->
<div class="flag-pi">
<div class="flag"></div>
<h1>Piauí</h1>
<div>
<div class="flag flag-pi"></div>
<h2>Piauí</h2>
</div>

<!-- Rondônia -->
<div class="flag-ro">
<div class="flag"></div>
<h1>Rondônia</h1>
<div>
<div class="flag flag-ro"></div>
<h2>Rondônia</h2>
</div>

<!-- Roraima -->
<div class="flag-rr">
<div class="flag"></div>
<h1>Roraima</h1>
<div>
<div class="flag flag-rr"></div>
<h2>Roraima</h2>
</div>
</section>

<footer class="footer">
<p>Feito com <span class="heart">&#10084;</span> por <a href="http://github.com/welksonramos">Welkson Ramos</a></p>
</footer>

<a href="https://github.com/welksonramos/flags-brazil" class="github-corner"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#fff; color:#019f6f; position: absolute; top: 0; border: 0; left: 0; transform: scale(-1, 1);"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>


<!-- GOOGLE ANALYTICS -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand Down
Loading

0 comments on commit 82043a7

Please sign in to comment.