Updated site to scale better on small screens; Added clearfix css; Updated shadow feature to use css shadows instead of js/images.
Added code to the admin part of the site - still non-functional. Need to fix JSON streaming over HTTP such that native types (boolean, Date, int) are preserved for the DB; Need to finish the restore functionality & the hide/show of the edit, delete, and restore buttons on each editor page.
This commit is contained in:
@@ -1,6 +1,45 @@
|
||||
#markets {
|
||||
.farmVisitSlides, .farmerMarketSlides, .farmVisitSlides img, .farmerMarketSlides img {
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
max-width: 300px;
|
||||
max-height: 200px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cssImg {
|
||||
width:240px;
|
||||
height:160px;
|
||||
}
|
||||
|
||||
hr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
h5 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.farmersMarkets, .farmVisits {
|
||||
min-height: 300px;
|
||||
}
|
||||
.csa {
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.farmerMarketSlides, .farmVisitSlides, .csaImg {
|
||||
float: none;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
h5 {
|
||||
text-align: center;
|
||||
}
|
||||
hr {
|
||||
height: 2px;
|
||||
width: 100%;
|
||||
background-color: #b3b2ad;
|
||||
display: block;
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user