Skip to content

Commit

Permalink
media quarries
Browse files Browse the repository at this point in the history
  • Loading branch information
rwieberdink committed Jun 7, 2018
1 parent 2fc13bd commit 47504f3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 17 deletions.
51 changes: 35 additions & 16 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
body {
html {
background-image: url(../images/gringotts.jpg);
background-color: transparent !important;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width:1200px;
text-shadow: .5px .5px black;
}
body {
background-color: transparent !important;
width:1140px;
max-width: 100%;
margin: auto !important;
}

.container {
color: rgb(240, 229, 82);
color: rgb(214, 202, 24);
font-family: 'Arbutus Slab', serif;
text-align: center;
height: 100%;
overflow: hidden;
z-index: 0;
float: center;
}

.jumbotron {
background-image: url(../images/gringotts.jpg);
color: rgb(240, 229, 82);
font-family: 'Arbutus Slab', serif;
max-width: 100%;
}

.flexbox {
Expand All @@ -34,14 +32,35 @@ body {

.coinsFlexbox {
display: flex;
flex-direction: row;
/*make flex-direction: row; for larger screens*/
justify-content: space-between;
max-height: 200px;
flex-flow: row wrap;
flex-direction: column;
justify-content: center;
width: 220px;
border-style: solid;
border-color: rgb(240, 229, 82);
border-width: 10px 10px;
background-color: white;
margin: auto auto 20px auto;
}
.coinImg {
size: auto;
width: 202px;
height: 202px;
margin: auto;
}

#dataRow {

}

@media(min-width: 576px) {
.coinsFlexbox {
flex-flow: row nowrap;
width: 100%;
max-height: 202px;
}
.coinImg {
width: 25%;
height: 100%;
}
}

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 id="numberToGuess">#</h1>
</div>
</div>

<div class="row">
<div class="row" id="dataRow">
<div class="col-md-4">
<h3 id="wins">Wins: </h3>
</div>
Expand Down

0 comments on commit 47504f3

Please sign in to comment.