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

187 lines
3.1 KiB
CSS
Raw 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;
}
2017-07-29 19:46:04 +00:00
.background-grid {
background-repeat: no-repeat;
background-position: center;
background-size: cover;
min-height: 150px;
}
2018-01-06 19:03:02 +00:00
.background-home {
background-image: url(../img/woman-keeping-records.jpg);
}
.background-eclipse {
background-image: url(../img/total-solar-eclipse-scottsbluff-ne.jpg);
}
.background-bull-calf {
background-image: url(../img/number-2-bull-calf.jpg);
}
2017-07-29 19:46:04 +00:00
.background-cover {
background-image: url(../img/Newnotebookandtexturewoodencoverwithpencil.jpg);
}
.background-sec-1 {
2018-01-06 19:03:02 +00:00
background-image: url(../img/Close-up-of-a-very-nice-young-award-winner-cow.jpg);
2017-07-29 19:46:04 +00:00
}
.background-sec-2 {
background-image: url(../img/winner.jpg);
}
.background-sec-3 {
background-image: url(../img/Manmakingspeech.jpg);
}
.background-sec-4 {
background-image: url(../img/Teamofvolunteerspickinguplitterinpark.jpg);
}
.background-sec-5 {
background-image: url(../img/OldFashionWhiteChurchwithaSteeple.jpg);
}
.background-sec-6 {
background-image: url(../img/Oldscrollpaperonwoodenbackground.jpg);
}
.background-sec-7 {
background-image: url(../img/Prettywomanisaproffessionalphotographerwithdslrcamera.jpg);
}
2017-09-29 00:15:14 +00:00
@media (max-width: 767px) {
.center-sm {
margin: auto;
}
}
2017-07-29 19:46:04 +00:00
.float-left {
float: left;
}
2017-08-07 02:11:38 +00:00
.float-right {
float: right;
}
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;
2018-01-06 19:03:02 +00:00
background-size: cover;
width: 100%;
height: 225px;
overflow: hidden;
display: block;
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
}
/*From https://css-tricks.com/text-blocks-over-image/ */
.image-block {
position: relative;
width: 100%; /* for IE 6 */
}
2018-01-06 19:03:02 +00:00
h6 {
2017-08-07 02:11:38 +00:00
position: absolute;
top: 0;
left: 0;
width: 100%;
}
2018-01-06 19:03:02 +00:00
h6 span {
2017-08-07 02:11:38 +00:00
color: white;
/*font: bold 24px/45px Helvetica, Sans-Serif;*/
letter-spacing: -1px;
background: rgba(0, 0, 0, 0.7);
2018-01-12 04:03:38 +00:00
padding: 2px;
font-size: 16pt;
2017-08-07 02:11:38 +00:00
}
2018-01-12 04:03:38 +00:00
h6 span.spacer {
2017-08-07 02:11:38 +00:00
padding:0 2px;
}
2017-09-13 01:08:34 +00:00
.font-mono {
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
2018-01-06 19:03:02 +00:00
overflow: hidden
2017-09-13 01:08:34 +00:00
}
.table-fixed-width {
table-layout: fixed;
2018-01-06 19:03:02 +00:00
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;
}
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;
2018-01-12 04:03:38 +00:00
font-size: larger;
2018-01-06 19:03:02 +00:00
}
h4 {
text-decoration: underline;
2018-01-12 04:03:38 +00:00
font-size: larger;
2018-01-06 19:03:02 +00:00
}
h5 {
font-style: italic;
font-size: larger;
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;
2017-09-13 01:08:34 +00:00
}