Sha256: 5994ab70de90892ebcfdce9cbbe834edcfff360978beac777bbb89e2144c561b
Contents?: true
Size: 1.93 KB
Versions: 7
Compression:
Stored size: 1.93 KB
Contents
// Styling for the masthead header.masthead { position: relative; overflow-y: hidden; width: 100%; min-height: auto; color: white; background-color: #020766; // background: url('../img/bg-pattern.png'), $theme-secondary; // background: url('../img/bg-pattern.png'), -webkit-linear-gradient(to left, $theme-secondary, $theme-tertiary); // background: url('../img/bg-pattern.png'), linear-gradient(to left, $theme-secondary, $theme-tertiary); .header-content { position: relative; padding: 100px 0 50px; text-align: center; .header-content-inner { position: relative; max-width: 500px; margin: 0 auto; h1 { font-size: 30px; margin-top: 0; margin-bottom: 30px; } .list-badges { margin-bottom: 25px; img { height: 50px; margin-bottom: 25px; } } } } .device-container { max-width: 300px; margin: 0 auto 100px; .screen img { border-radius: 3px; } } @media (min-width: 768px) { min-height: 100%; .header-content { height: 100vh; min-height: 600px; padding: 0; text-align: left; .header-content-inner { position: absolute; top: 50%; max-width: none; margin: 0; transform: translateY(-50%); h1 { font-size: 35px; } } } .device-container { max-width: none; max-height: calc(100vh - 100px); margin: 100px auto 0; } } @media (min-width: 992px) { .header-content .header-content-inner h1 { font-size: 50px; } } }
Version data entries
7 entries across 7 versions & 2 rubygems