Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move the styling on the front_ui/index to stylesheets/front_ui.scss #1223

Merged
merged 1 commit into from
Feb 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions app/assets/stylesheets/front_ui.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

#hero {
margin-bottom: 0;
}
.activities p {
color: #aaa;
width: 80%;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 20%;
}
.lead-text {
padding: 30px 10px 10px;
border-radius: 4px;
box-shadow: 0 6px 12px rgba(0,0,0,0.175);
}
.featured-places a {
padding: 8px 12px;
}
.featured-places {
text-align: center;
padding-bottom: 20px;
width: 100%;
overflow: hidden;
position: absolute;
}
#anonymous-map button{
width: 70px;
background-color: #ffffff;
border: none;
margin-right: 0.25rem;
}
#anonymous-map i{
font-size:20px;
color:white;
}
@media(max-width: 780px) {
.before-featured-map {
margin-bottom: 50px;
}
}
43 changes: 0 additions & 43 deletions app/views/front_ui/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,49 +4,6 @@
<%= javascript_include_tag('/assets/leaflet-spin/example/leaflet.spin.min.js') %>
<%= javascript_include_tag('leaflet-fullHash.js') %>

<style>
#hero {
margin-bottom: 0;
}
.activities p {
color: #aaa;
width: 80%;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 20%;
}
.lead-text {
padding: 30px 10px 10px;
border-radius: 4px;
box-shadow: 0 6px 12px rgba(0,0,0,0.175);
}
.featured-places a {
padding: 8px 12px;
}
.featured-places {
text-align: center;
padding-bottom: 20px;
width: 100%;
overflow: hidden;
position: absolute;
}
#anonymous-map button{
width: 70px;
background-color: #ffffff;
border: none;
margin-right: 0.25rem;
}
#anonymous-map i{
font-size:20px;
color:white;
}
@media(max-width: 780px) {
.before-featured-map {
margin-bottom: 50px;
}
}
</style>

<!-- jumbotron with background-image -->
<div class="container-fluid jumbotron text-center" id="hero">
<div class="row">
Expand Down