pure/site/static/layouts/pricing/styles.css

220 lines
4.0 KiB
CSS
Raw Normal View History

/*
* -- BASE STYLES --
* Most of these are inherited from Base, but I want to change a few.
*/
body {
2021-09-25 16:41:07 +00:00
color: #526066;
}
2021-09-25 16:41:07 +00:00
h2,
h3 {
letter-spacing: 0.25em;
text-transform: uppercase;
font-weight: 600;
}
p {
2021-09-25 16:41:07 +00:00
line-height: 1.6em;
}
/*
* -- Layout Styles --
*/
.l-content {
2021-09-25 16:41:07 +00:00
margin: 0 auto;
}
.l-box {
2021-09-25 16:41:07 +00:00
padding: 0.5em 2em;
}
/*
* -- MENU STYLES --
* Make the menu have a very faint box-shadow.
*/
.pure-menu {
2021-09-25 16:41:07 +00:00
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.pure-menu-link {
2021-09-25 16:41:07 +00:00
padding: 0.5em 0.7em;
}
/*
* -- BANNER --
* The top banner with the headings. By using a combination
* of `display: table;` and `display: table-cell;`, we can
* vertically center the text.
*/
.banner {
2021-09-25 16:41:07 +00:00
background: transparent
url("https://24.media.tumblr.com/ccb268832580ac12951828a1c179de69/tumblr_mo2xbk8JUK1st5lhmo1_1280.jpg")
0 0 no-repeat fixed;
text-align: center;
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='https://24.media.tumblr.com/ccb268832580ac12951828a1c179de69/tumblr_mo2xbk8JUK1st5lhmo1_1280.jpg', sizingMethod='scale');
2021-09-25 16:41:07 +00:00
height: 200px;
width: 100%;
margin-bottom: 3em;
display: table;
}
2021-09-25 16:41:07 +00:00
.banner-head {
display: table-cell;
vertical-align: middle;
margin-bottom: 0;
font-size: 2em;
color: white;
font-weight: 500;
text-shadow: 0 1px 1px black;
}
/*
* -- PRICING TABLE WRAPPER --
* This element wraps up all the pricing table elements
*/
2021-09-25 16:41:07 +00:00
.pricing-tables,
.information {
max-width: 980px;
margin: 0 auto;
}
.pricing-tables {
2021-09-25 16:41:07 +00:00
margin-bottom: 3.125em;
text-align: center;
}
/*
* -- PRICING TABLE --
* Every pricing table has the .pricing-table class
*/
.pricing-table {
2021-09-25 16:41:07 +00:00
border: 1px solid #ddd;
margin: 0 0.5em 2em;
padding: 0 0 3em;
}
/*
* -- PRICING TABLE HEADER COLORS --
* Choose a different color based on the type of pricing table.
*/
.pricing-table-free .pricing-table-header {
2021-09-25 16:41:07 +00:00
background: #519251;
}
.pricing-table-biz .pricing-table-header {
2021-09-25 16:41:07 +00:00
background: #2c4985;
}
/*
* -- PRICING TABLE HEADER --
* By default, a header is black/white, and has some styles for its <h2> name.
*/
.pricing-table-header {
2021-09-25 16:41:07 +00:00
background: #111;
color: #fff;
}
.pricing-table-header h2 {
margin: 0;
padding-top: 2em;
font-size: 1em;
font-weight: normal;
}
/*
* -- PRICING TABLE PRICE --
* Styles for the price and the corresponding <span>per month</span>
*/
.pricing-table-price {
2021-09-25 16:41:07 +00:00
font-size: 6em;
margin: 0.2em 0 0;
font-weight: 100;
}
.pricing-table-price span {
display: block;
text-transform: uppercase;
font-size: 0.2em;
padding-bottom: 2em;
font-weight: 400;
color: rgba(255, 255, 255, 0.5);
*color: #fff;
}
/*
* -- PRICING TABLE LIST --
* Each pricing table has a <ul> which is denoted by the .pricing-table-list class
*/
.pricing-table-list {
2021-09-25 16:41:07 +00:00
list-style-type: none;
margin: 0;
padding: 0;
text-align: center;
}
/*
* -- PRICING TABLE LIST ELEMENTS --
* Styles for the individual list elements within each pricing table
*/
.pricing-table-list li {
2021-09-25 16:41:07 +00:00
padding: 0.8em 0;
background: #f7f7f7;
border-bottom: 1px solid #e7e7e7;
}
/*
* -- PRICING TABLE BUTTON --
* Styles for the "Choose" button at the bottom of a pricing table.
* This inherits from Pure Button.
*/
.button-choose {
2021-09-25 16:41:07 +00:00
border: 1px solid #ccc;
background: #fff;
color: #333;
border-radius: 2em;
font-weight: bold;
position: relative;
bottom: -1.5em;
}
.information-head {
2021-09-25 16:41:07 +00:00
color: black;
font-weight: 500;
}
.footer {
2021-09-25 16:41:07 +00:00
background: #111;
color: #888;
text-align: center;
}
.footer a {
color: #ddd;
}
/*
* -- TABLET MEDIA QUERIES --
* On tablets, we want to slightly adjust the size of the banner
* text and add some vertical space between the various pricing tables
*/
2021-09-25 16:41:07 +00:00
@media (min-width: 767px) {
.banner-head {
font-size: 4em;
}
.pricing-table {
margin-bottom: 0;
}
}
/*
* -- PHONE MEDIA QUERIES --
* On phones, we want to reduce the height and font-size of the banner further
*/
@media (min-width: 480px) {
2021-09-25 16:41:07 +00:00
.banner {
height: 400px;
}
.banner-head {
font-size: 3em;
}
}