omegamma/static/css/common.css

102 lines
1.7 KiB
CSS

body {
font-family: 'Metropolis', 'Fira Sans','Ubuntu', 'Noto Sans', sans-serif;
overflow-x: hidden;
margin: 0px;
--light-font: 'Metropolis Light', 'Fira Sans Light','Ubuntu Light', 'Noto Sans Light', sans-serif;
--primary-color: #50DC71;
--secondary-color: #FAFAFA;
--nav-background: var(--secondary-color);
--footer-background: #111111;
}
/* button */
a[role=button] {
text-decoration: none;
color: black;
cursor: pointer;
}
a[role=button].primary {
background-color: var(--primary-color);
}
a[role=button].secondary {
background-color: var(--secondary-color);
}
a[role=button].primary, a[role=button].secondary {
padding: 0.5em;
text-transform: uppercase;
font-size: larger;
box-shadow: 0px 0px 2px 0px #000000;
transition: box-shadow 0.2s;
line-height: 3em;
}
a[role=button].primary:active, a[role=button].secondary:active {
box-shadow: 0px 0px 8px 0px #000000;
}
a[role=button].primary:hover, a[role=button].secondary:hover {
box-shadow: 0px 0px 4px 0px #000000;
}
/* format */
.center {
margin-right: auto;
margin-left: auto;
}
.text-center {
text-align: center;
}
.right-center {
text-align: right;
}
.icon-as-text {
width: 1em;
height: 1em;
margin-right: 0.4em;
}
.icon-larger-text {
width: 1.4em;
height: 1.4em;
margin-right: 0.4em;
margin-top: -0.2em;
}
h1 {
font-size: xx-large;
}
h2 {
font-size: x-large;
}
.grid {
display: flex;
flex-wrap: wrap;
margin: 3px;
}
.flex {
display: flex !important;
}
/* Columns */
.columns-container {
display: flex;
}
.column {
flex: auto;
}
.col3 {
width: 33%;
}