Skip to content

Instantly share code, notes, and snippets.

@jhthorsen
Last active September 22, 2019 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhthorsen/8392e31a8d7a8e2adda69f75bd8c224b to your computer and use it in GitHub Desktop.
Save jhthorsen/8392e31a8d7a8e2adda69f75bd8c224b to your computer and use it in GitHub Desktop.
Custom css for https://wedsites.com/
h2,
h3 {
text-transform: uppercase;
}
.site {
letter-spacing: 0.1em;
line-height: 1.6rem;
text-transform: none;
max-width: 100% !important;
}
.hero {
background: #333;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 60vw;
max-height: 700px;
min-height: 530px;
overflow: hidden;
}
.hero__image {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
opacity: 0.8;
}
@media (max-width: 600px) {
.hero__image {
height: 100%;
width: auto;
max-width: none;
}
}
.v5 .header {
background: none !important;
background-color: transparent !important;
padding: 5vw 0;
}
.header__date,
.header__name,
.header__delimiter {
color: #fff !important;
text-shadow: -1px 1px 3px #000;
}
.header_date {
font-size: 1.2rem;
}
.header__button {
background: #9f7784;
color: #fff !important;
font-size: 1.3rem;
border: 0 !important;
border-radius: 6px;
box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.3);
transition: filter 0.3s ease-in-out;
}
.header__button:hover {
color: #fff !important;
border: 0 !important;
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.18);
filter: brightness(1.2);
}
.section--element-image {
margin: 0 auto;
float: none;
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment