Files
irma-website/css/irma.css
2019-07-31 16:55:07 +02:00

137 lines
2.1 KiB
CSS

/* Changing header */
.block-header-1--logo img {
max-height: 4.0rem
}
.block-header-1 {
padding: 0.5rem 2rem
}
header {
border-bottom: 1px solid #000;
}
.block-header-1--logo {
padding-right: 30px;
}
.block-header-1 .nav-item {
font-size: 16px;
padding: 0.5rem 0;
font-size: 1.0rem
}
/* Double call to action */
.button.primary.inverted {
margin-right: 1px;
}
/* Overwriting colors */
.button.primary {
background-color:#004C92
}
.button.secondary {
border:1.5px solid #004C92
}
.block-header-1 .nav-item.active a {
color:#004C92
}
.block-header-1 .nav-item.active a:hover {
color:#004C92
}
.block-header-1 .nav-item.active a {
color:#004C92
}
.block-header-1 .nav-item.active a:hover {
color:#004C92
}
.block-hero-1 {
--bg:#004C92
}
.block-hero-2 {
--bg:#004C92
}
.block-cta-bar {
background:#004C92
}
::-moz-selection {
background:#ffedbc
}
::-webkit-selection {
background:#004C92
}
::selection {
background:#004C92
}
/* Adjusting the size of elements */
@media screen and (min-width:700px) {
.block-hero-2 .column.text {
-ms-flex: 0 0 50%;
flex: 0 0 50%
}
.block-hero-2 .column.media {
-ms-flex: 0 0 50%;
flex: 0 0 50%
}
.block-hero-2 .column.media img {
width:25vw;
max-width:320px
}
header {
background-color: #fff;
position: absolute;
top: 0;
width: 100%
}
}
/* Increase font sizes */
column.text p {
font-size: 20px;
font-size: 1.25rem;
}
/* Style collapsible from https://www.w3schools.com/howto/howto_js_collapsible.asp */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
}
/* Add a background color to the button if it is clicked on (add the .open class with JS), and when you move the mouse over it (hover) */
.open, .collapsible:hover {
background-color: #ccc;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}