Created
June 27, 2020 13:12
-
-
Save tjstalcup/b802d7e6cd4a83fae025fa54c4c0b846 to your computer and use it in GitHub Desktop.
supreet css cleanup
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
.Header__not-logged-in { | |
background-color: forestgreen; | |
padding: 20px; | |
font-size: 20px; | |
} | |
.Header__not-logged-in a { | |
color: white; | |
text-decoration: none; | |
} | |
.Main { | |
padding-left: 25px; | |
padding-right: 25px; | |
padding-top: 25px; | |
} | |
h1 a { | |
font-size: 30px; | |
} | |
.main-landing > a { | |
padding: 15px 30px; | |
font-size: 25px; | |
background-color: forestgreen; | |
color: white; | |
text-decoration: none; | |
border-radius: 10px; | |
display: inline-block; | |
border-bottom: 3px solid darkgreen; | |
} | |
#js-form input, #js-form button { | |
font-size: 25px; | |
padding: 10px; | |
} | |
h3 { | |
font-size: 25px; | |
border-top: 1px solid #ccc; | |
padding-top: 25px; | |
} | |
.trail-filters section * { | |
font-size: 25px; | |
padding-right: 10px; | |
} | |
li.trails { | |
flex: 1; | |
min-width: 20%; | |
border: 1px solid forestgreen; | |
padding: 25px; | |
margin: 25px; | |
position: relative; | |
} | |
ul#results-list { | |
display: flex; | |
flex-wrap: wrap; | |
justify-content: space-between; | |
} | |
.trails a { | |
font-size: 30px; | |
font-weight: bold; | |
} | |
button.completed { | |
display: block; | |
position: absolute; | |
top: 5px; | |
right: 5px; | |
font-size: 20px; | |
} | |
li.trails:hover { | |
background-color: forestgreen; | |
color: white; | |
/* cursor: pointer; */ | |
} | |
.trail-image { | |
height: 150px; | |
background-repeat: no-repeat; | |
background-size: cover; | |
background-position: center center; | |
margin-bottom: 10px; | |
} |
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
<li class="trails"> | |
<div> | |
<div class="trail-image" style="background-image:url('https://via.placeholder.com/150x50')"></div> | |
<a href="/trails/7047895">Florida National Scenic Trail - Green Swamp East Segment</a> | |
<button class="completed">Mark Completed</button> | |
<p>Rating: 5 - Length: 22.7</p> | |
<p>Location: Polk City, Florida</p> | |
</div> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment