mirror of
https://github.com/MillironX/4h-record-books.git
synced 2024-11-01 07:03:09 +00:00
151 lines
No EOL
2.8 KiB
CSS
151 lines
No EOL
2.8 KiB
CSS
@charset "utf-8";
|
|
/* CSS Document */
|
|
body {
|
|
font-size: 14pt;
|
|
}
|
|
.background-grid {
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
background-size: cover;
|
|
min-height: 150px;
|
|
}
|
|
.background-home {
|
|
background-image: url(../img/woman-keeping-records.jpg);
|
|
}
|
|
.background-cover {
|
|
background-image: url(../img/cover-bg-notebook.jpg);
|
|
}
|
|
.background-sec-1 {
|
|
background-image: url("../img/sec1-bg-cowshow.jpg");
|
|
}
|
|
.background-sec-2 {
|
|
background-image: url("../img/sec2-bg-trophy.jpg");
|
|
}
|
|
.background-sec-3 {
|
|
background-image: url("../img/sec3-bg-gavel.jpg");
|
|
}
|
|
.background-sec-4 {
|
|
background-image: url("../img/sec4-bg-cleanup.jpg");
|
|
}
|
|
.background-sec-5 {
|
|
background-image: url("../img/sec5-bg-church.jpg");
|
|
}
|
|
.background-sec-6 {
|
|
background-image: url("../img/sec6-bg-books.jpg");
|
|
}
|
|
.background-sec-7 {
|
|
background-image: url("../img/sec7-bg-camera.jpg");
|
|
}
|
|
@media (max-width: 767px) {
|
|
.center-sm {
|
|
margin: auto;
|
|
}
|
|
}
|
|
.float-left {
|
|
float: left;
|
|
}
|
|
.float-right {
|
|
float: right;
|
|
}
|
|
/*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;
|
|
}
|
|
/* Set the image to fill its parent and make transparent */
|
|
.center-cropped img {
|
|
min-height: 100%;
|
|
min-width: 100%;
|
|
/* IE 8 */
|
|
/*-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";*/
|
|
/* IE 5-7 */
|
|
/*filter: alpha(opacity=0);*/
|
|
/* modern browsers */
|
|
/*opacity: 0;*/
|
|
}
|
|
|
|
.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 {}
|
|
h6 span.spacer {
|
|
padding: 0 2px;
|
|
}
|
|
.font-mono {
|
|
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
overflow: hidden
|
|
}
|
|
.table-fixed-width {
|
|
table-layout: fixed;
|
|
font-size: smaller;
|
|
}
|
|
.max-width-300 {
|
|
max-width: 300px;
|
|
}
|
|
.max-width-100 {
|
|
max-width: 100px;
|
|
}
|
|
.max-height-100 {
|
|
max-height: 100px;
|
|
}
|
|
p {
|
|
font-size: 14pt;
|
|
}
|
|
h1 {
|
|
font-variant-caps: all-petite-caps;
|
|
}
|
|
h1 small {
|
|
font-variant-caps: normal;
|
|
}
|
|
h2 {
|
|
padding-top: 12pt;
|
|
font-variant-caps: all-petite-caps;
|
|
}
|
|
h3 {
|
|
font-weight: bolder;
|
|
font-size: larger;
|
|
}
|
|
h4 {
|
|
text-decoration: underline;
|
|
font-size: larger;
|
|
}
|
|
h5 {
|
|
font-style: italic;
|
|
font-size: 14pt;
|
|
text-decoration: underline;
|
|
}
|
|
blockquote {
|
|
background: linear-gradient(to right, lightgray, #F3F3F3);
|
|
border-left: 5px solid black;
|
|
}
|
|
.underlined {
|
|
text-decoration: underline;
|
|
}
|
|
th, td {
|
|
vertical-align: top;
|
|
} |