Skip to content

Instantly share code, notes, and snippets.

@mikesaltsman
Created October 20, 2017 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikesaltsman/25ebe702a403500f190b30f544885821 to your computer and use it in GitHub Desktop.
Save mikesaltsman/25ebe702a403500f190b30f544885821 to your computer and use it in GitHub Desktop.
Convoy Grid Basic Styling
/*************************
Begin Convoy-specific styling
*************************/
h3.cnvy-grid {
display: none;
}
img.cnvy-header-img {
width: 100%;
margin-bottom: 40px;
}
ul.cnvy-grid {
padding: 0;
width: 100%;
}
li.cnvy-tour {
list-style: none !important;
margin: 0;
padding: 0;
}
ul.cnvy-event {
list-style: none;
margin: 0;
padding: 0;
width: 100%;
}
ul.cnvy-event li{
width: 25% !important;
display: inline-block;
text-align: center;
font-size: 20px;
padding: 10px 0;
text-transform: uppercase;
}
li.cnvy-event-tickets a {
text-decoration: none;
background: #000000;
color: #ffffff;
padding: 2px 40px;
}
li.cnvy-event-tickets a:hover {
background: #07d764;
}
/*************************
End Convoy-specific styling
*************************/
@media only screen and (max-width:767px){
/*************************
Begin Convoy-specific styling - max-width:767px
*************************/
li.cnvy-tour {
list-style: none !important;
padding-bottom: 20px;
margin-bottom: 20px;
border-bottom: 1px solid #000000;
}
ul.cnvy-event li{
display: block;
width: 100% !important;
text-align: center;
font-size: 20px;
padding: 10px 0;
text-transform: uppercase;
}
li.cnvy-event-tickets a {
text-decoration: none;
background: #000000;
color: #ffffff;
padding: 2px 40px;
}
/*************************
End Convoy-specific styling - max-width:767px
*************************/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment