Line 25: | Line 25: | ||
**************************************** */ | **************************************** */ | ||
− | .ua- | + | .ua-home { |
− | + | position: relative; | |
+ | overflow: hidden; | ||
} | } | ||
− | .ua- | + | .ua-home-section { |
− | + | position: relative; | |
} | } | ||
− | .ua- | + | .ua-home-section:nth-child(2) { |
+ | margin-bottom: 200px; | ||
+ | } | ||
+ | |||
+ | .ua-stripes { | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
− | + | position: absolute; | |
+ | transform-origin: 0; | ||
+ | transform: skewY(-12deg); | ||
+ | display: grid; | ||
+ | grid-template: repeat(10, 76px) / repeat(10, 1fr); | ||
} | } | ||
− | .ua- | + | .ua-home-section:nth-child(1) .ua-stripes { |
− | + | /* background: linear-gradient(#9370DB, #E6E6FA); */ | |
+ | background: linear-gradient(rgb(255, 255, 255), rgb(248, 248, 213)); | ||
+ | z-index: -1; | ||
} | } | ||
− | .ua- | + | .ua-home-section:nth-child(1) .ua-stripes span:nth-child(1) { |
− | + | grid-area: 1 / 1 / 4 / -1; | |
+ | /* background: linear-gradient(168deg, #800080, #DA70D6); */ | ||
+ | background: linear-gradient(168deg, #FFDF00, #FFA500); | ||
} | } | ||
− | . | + | .ua-home-section:nth-child(1) .ua-stripes span:nth-child(2) { |
− | + | grid-area: 4 / 6 / 5 / -1; | |
− | + | /* background: linear-gradient(270deg, #800080, #DA70D6); */ | |
− | + | background: linear-gradient(168deg, #FFDF00, #FFA500); | |
− | + | ||
} | } | ||
− | . | + | /* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(3) { |
− | + | grid-area: 5 / 8 / 6 / -1; | |
− | + | background: linear-gradient(-12deg, #800080, #DA70D6); | |
− | + | } */ | |
− | + | ||
+ | .ua-home-section:nth-child(1) .ua-stripes span:nth-child(4) { | ||
+ | grid-area: 9 / 8 / -2 / -1; | ||
+ | /* background: linear-gradient(270deg, #800080, #DA70D6); */ | ||
+ | background: linear-gradient(168deg, #FFDF00, #FFA500); | ||
} | } | ||
− | . | + | .ua-home-section:nth-child(1) .ua-stripes span:nth-child(5) { |
− | + | grid-area: 10 / 10 / -2 / -1; | |
− | + | /* background: linear-gradient(168deg, #800080, #DA70D6); */ | |
− | + | background: linear-gradient(168deg, #FFDF00, #FFA500); | |
− | + | ||
} | } | ||
− | . | + | /* .ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) { |
− | + | grid-area: 10 / 1 / -1 / 4; | |
− | + | background: linear-gradient(145deg, #800080, #DA70D6); | |
− | + | } */ | |
− | + | ||
+ | .ua-home-section:nth-child(1) .ua-stripes span:nth-child(6) { | ||
+ | grid-area: 10 / 1 / -1 / -1; | ||
+ | /* background: linear-gradient(145deg, #800080, #DA70D6); */ | ||
+ | background: linear-gradient(90deg, #FFDF00, #FFA500); | ||
} | } | ||
− | .ua- | + | .ua-home-section:nth-child(2) .ua-stripes { |
− | + | background: #fff; | |
+ | z-index: -1; | ||
} | } | ||
− | . | + | .ua-home-section:nth-child(3) .ua-stripes { |
− | z-index: 1; | + | /* background: #E6E6FA; */ |
+ | background: rgb(248, 248, 213); | ||
+ | z-index: -1; | ||
} | } | ||
− | . | + | .ua-home-section-hero { |
− | + | position: relative; | |
+ | height: 760px; | ||
} | } | ||
− | .ua- | + | .ua-home-section-hero .row { |
− | + | height: 760px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin { |
− | + | position: absolute; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(1) { |
− | + | left: 0; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(2) { |
− | + | right: 0; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(3) { |
− | + | left: 0; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(4) { |
− | + | left: 0; | |
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(5) { |
− | + | right: 0; | |
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(6) { |
− | + | left: 0; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin img { |
position: relative; | position: relative; | ||
− | |||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(1) img { |
− | + | top: 100px; | |
+ | left: -240px; | ||
+ | width: 75%; | ||
+ | height: auto; | ||
+ | transform: rotate(16deg); | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(2) img { |
− | + | float: right; | |
+ | top: 250px; | ||
+ | right: -500px; | ||
+ | width: 120%; | ||
+ | height: auto; | ||
+ | transform: rotate(12deg); | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(3) img { |
− | + | top: 720px; | |
− | + | left: -180px; | |
− | + | width: 60%; | |
− | + | height: auto; | |
− | transform: | + | transform: rotate(-124deg); |
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(4) img { |
− | + | top: 130px; | |
− | + | left: -240px; | |
+ | width: 80%; | ||
+ | height: auto; | ||
+ | transform: rotate(40deg); | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(5) img { |
− | + | float: right; | |
− | + | top: 160px; | |
+ | right: -465px; | ||
+ | width: 120%; | ||
+ | height: auto; | ||
+ | transform: rotate(-5deg); | ||
} | } | ||
− | .ua- | + | .ua-porphyrin:nth-child(6) img { |
− | + | top: 840px; | |
− | + | left: -250px; | |
+ | width: 80%; | ||
+ | height: auto; | ||
+ | transform: rotate(-124deg); | ||
} | } | ||
− | + | .ua-home-section-secondary { | |
− | + | position: relative; | |
− | background: | + | height: 760px; |
− | } | + | /* background: #E6E6FA; */ |
+ | background: rgb(248, 248, 213); | ||
+ | z-index: -1; | ||
+ | } | ||
− | .ua- | + | .ua-research-content { |
− | + | padding: 50px 0; | |
− | + | ||
} | } | ||
− | .ua- | + | .ua-navbar { |
− | + | /* background: #8478b8; */ | |
− | background: | + | background: #800080; |
} | } | ||
− | + | .ua-navbar-brand { | |
− | + | height: 50px; | |
− | + | width: 272px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-banner { |
− | + | height: 350px; | |
− | + | ||
} | } | ||
− | .ua- | + | .ua-banner img { |
− | + | width: 100%; | |
− | + | height: 100%; | |
− | + | object-fit: cover | |
} | } | ||
− | .ua- | + | .ua-global-map { |
position: relative; | position: relative; | ||
− | |||
− | |||
} | } | ||
− | .ua- | + | .ua-global-map img { |
− | + | transition: all 0.2s; | |
− | + | ||
} | } | ||
− | . | + | .location-marker-1 { |
− | + | position: absolute; | |
+ | width: 3%; | ||
+ | top: 29%; | ||
+ | left: 9.5%; | ||
} | } | ||
− | . | + | .location-marker-2 { |
− | + | position: absolute; | |
+ | width: 3%; | ||
+ | top: 13%; | ||
+ | left: 11.5%; | ||
} | } | ||
− | . | + | .location-marker-3 { |
− | + | position: absolute; | |
− | + | width: 3%; | |
− | + | top: 13%; | |
− | + | left: 11%; | |
} | } | ||
− | . | + | .location-marker-4 { |
− | + | position: absolute; | |
− | + | width: 3%; | |
− | + | top: 12.5%; | |
− | + | left: 44.5%; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-global-map a img:hover { |
− | + | transform: translateY(-18%); | |
− | + | ||
} | } | ||
− | . | + | .location-marker-2:hover { |
− | + | z-index: 1; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .location-marker-3:hover { |
− | + | z-index: 1; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | .ua- | + | .ua-footer { |
− | + | /* background: #8478b8; */ | |
+ | background: #800080; | ||
+ | /* background: #FFA500; */ | ||
+ | height: 200px; | ||
+ | width: 100%; | ||
+ | margin-bottom: -5px; | ||
} | } | ||
− | .ua- | + | .ua-flipImage { |
− | + | transform: scaleX(-1); | |
− | + | ||
− | + | ||
} | } | ||
− | + | /* **************************************** | |
− | + | * Header and paragraph styles | |
− | + | **************************************** */ | |
− | .ua-home | + | .ua-home h1 { |
font-family: 'Amiko', sans-serif; | font-family: 'Amiko', sans-serif; | ||
− | font-size: | + | font-size: 48px; |
color: #4B0082; | color: #4B0082; | ||
− | |||
} | } | ||
− | .ua-home | + | .ua-home p { |
font-family: 'Karla', sans-serif; | font-family: 'Karla', sans-serif; | ||
+ | font-size: 20px; | ||
line-height: 160%; | line-height: 160%; | ||
− | + | text-align: justify; | |
color: #000; | color: #000; | ||
− | |||
} | } | ||
− | .ua-home- | + | .ua-home-section-primary p { |
− | + | padding: 20px; | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | .ua-research-content h1 { |
+ | font-family: 'Amiko', sans-serif; | ||
+ | font-size: 128px; | ||
+ | /* color: #007bb8; */ | ||
+ | color: #800080; | ||
text-align: center; | text-align: center; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 70px; | ||
+ | /* padding-top: 0; iGEM */ | ||
} | } | ||
− | + | .ua-research-content h2 { | |
− | + | font-family: 'Amiko', sans-serif; | |
− | + | font-size: 48px; | |
− | + | /* color: #007bb8; */ | |
+ | color: #800080; | ||
+ | text-align: left; | ||
+ | /* margin: 40px 0; | ||
+ | margin-top: 80px; */ | ||
} | } | ||
− | + | .ua-research-content h3 { | |
− | + | font-family: 'Amiko', sans-serif; | |
− | + | font-size: 48px; | |
+ | /* color: #007bb8; */ | ||
+ | color: #800080; | ||
+ | margin: 40px 0; | ||
+ | } | ||
− | + | .ua-research-content h4 { | |
− | font-family: 'Karla', sans-serif; | + | font-family: 'Amiko', sans-serif; |
+ | font-size: 32px; | ||
+ | color: #007bb8; | ||
+ | margin: 40px 0; | ||
+ | } | ||
+ | |||
+ | .ua-research-content p { | ||
+ | font-family: 'Karla', sans-serif !important; | ||
line-height: 160%; | line-height: 160%; | ||
− | + | text-align: justify; | |
− | + | font-size: 20px !important; | |
− | margin | + | margin: 20px; |
− | } */ | + | } |
+ | |||
+ | /* **************************************** | ||
+ | * Overrides | ||
+ | **************************************** */ | ||
− | |||
.navbar-dark .navbar-nav .nav-link { | .navbar-dark .navbar-nav .nav-link { | ||
color: rgba(255, 255, 255, 0.75); | color: rgba(255, 255, 255, 0.75); | ||
Line 354: | Line 377: | ||
.card img { | .card img { | ||
border-radius: 8px; | border-radius: 8px; | ||
+ | } | ||
+ | |||
+ | .fixed-top { | ||
+ | position: absolute; | ||
} | } | ||
Line 359: | Line 386: | ||
font-family: 'Amiko', sans-serif; | font-family: 'Amiko', sans-serif; | ||
} | } | ||
− | |||
− | |||
− | |||
</style> | </style> | ||
</html> | </html> |
Revision as of 22:58, 16 October 2018