4h-record-books/css/site.css

151 lines
2.8 KiB
CSS
Raw Permalink Normal View History

2017-07-29 19:46:04 +00:00
@charset "utf-8";
/* CSS Document */
2018-01-06 19:03:02 +00:00
body {
font-size: 14pt;
2018-01-06 19:03:02 +00:00
}
2017-07-29 19:46:04 +00:00
.background-grid {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
min-height: 150px;
2017-07-29 19:46:04 +00:00
}
2018-01-06 19:03:02 +00:00
.background-home {
background-image: url(../img/woman-keeping-records.jpg);
2018-01-06 19:03:02 +00:00
}
2017-07-29 19:46:04 +00:00
.background-cover {
background-image: url(../img/cover-bg-notebook.jpg);
2017-07-29 19:46:04 +00:00
}
.background-sec-1 {
background-image: url("../img/sec1-bg-cowshow.jpg");
2017-07-29 19:46:04 +00:00
}
.background-sec-2 {
background-image: url("../img/sec2-bg-trophy.jpg");
2017-07-29 19:46:04 +00:00
}
.background-sec-3 {
background-image: url("../img/sec3-bg-gavel.jpg");
2017-07-29 19:46:04 +00:00
}
.background-sec-4 {
background-image: url("../img/sec4-bg-cleanup.jpg");
2017-07-29 19:46:04 +00:00
}
.background-sec-5 {
background-image: url("../img/sec5-bg-church.jpg");
2017-07-29 19:46:04 +00:00
}
.background-sec-6 {
background-image: url("../img/sec6-bg-books.jpg");
2017-07-29 19:46:04 +00:00
}
.background-sec-7 {
background-image: url("../img/sec7-bg-camera.jpg");
2017-07-29 19:46:04 +00:00
}
2017-09-29 00:15:14 +00:00
@media (max-width: 767px) {
.center-sm {
margin: auto;
}
2017-09-29 00:15:14 +00:00
}
2017-07-29 19:46:04 +00:00
.float-left {
float: left;
2017-07-29 19:46:04 +00:00
}
2017-08-07 02:11:38 +00:00
.float-right {
float: right;
2017-08-07 02:11:38 +00:00
}
2017-07-29 19:46:04 +00:00
/*From https://stackoverflow.com/questions/11552380/how-to-automatically-crop-and-center-an-image*/
.center-cropped {
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 225px;
overflow: hidden;
display: block;
margin:auto;
2017-07-29 19:46:04 +00:00
}
/* Set the image to fill its parent and make transparent */
.center-cropped img {
min-height: 100%;
min-width: 100%;
/* IE 8 */
2018-01-06 19:03:02 +00:00
/*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";*/
2017-07-29 19:46:04 +00:00
/* IE 5-7 */
2018-01-06 19:03:02 +00:00
/*filter: alpha(opacity=0);*/
2017-07-29 19:46:04 +00:00
/* modern browsers */
2018-01-06 19:03:02 +00:00
/*opacity: 0;*/
2017-08-07 02:11:38 +00:00
}
.image-block {
position: relative;
width: 100%; /* for IE 6 */
}
h6 {
color: white;
letter-spacing: -1px;
font-size: 16pt;
}
.banner-heading {
display: inline-block;
background: rgba(0, 0, 0, 0.7);
padding: 2px 10px;
position: relative;
top: 25px;
transition: 0.5s ease;
margin: auto;
}
.banner-heading:hover {}
.hover-contents:hover div {
top: 5px;
}
h6 span {}
2018-01-12 04:03:38 +00:00
h6 span.spacer {
padding: 0 2px;
2017-08-07 02:11:38 +00:00
}
2017-09-13 01:08:34 +00:00
.font-mono {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
overflow: hidden
2017-09-13 01:08:34 +00:00
}
.table-fixed-width {
table-layout: fixed;
font-size: smaller;
2017-09-13 01:08:34 +00:00
}
.max-width-300 {
max-width: 300px;
2017-09-13 02:00:53 +00:00
}
.max-width-100 {
max-width: 100px;
2017-09-29 00:15:14 +00:00
}
.max-height-100 {
max-height: 100px;
2018-01-06 19:03:02 +00:00
}
p {
font-size: 14pt;
2018-01-06 19:03:02 +00:00
}
h1 {
font-variant-caps: all-petite-caps;
2018-01-06 19:03:02 +00:00
}
h1 small {
font-variant-caps: normal;
2018-01-06 19:03:02 +00:00
}
h2 {
padding-top: 12pt;
font-variant-caps: all-petite-caps;
2018-01-06 19:03:02 +00:00
}
h3 {
font-weight: bolder;
font-size: larger;
2018-01-06 19:03:02 +00:00
}
h4 {
text-decoration: underline;
font-size: larger;
2018-01-06 19:03:02 +00:00
}
h5 {
font-style: italic;
font-size: 14pt;
text-decoration: underline;
2018-01-06 19:03:02 +00:00
}
blockquote {
background: linear-gradient(to right, lightgray, #F3F3F3);
border-left: 5px solid black;
2018-01-06 19:03:02 +00:00
}
.underlined {
text-decoration: underline;
2018-01-06 19:03:02 +00:00
}
th, td {
vertical-align: top;
2017-09-13 01:08:34 +00:00
}