hubl/src/styles/main.scss

232 lines
3.1 KiB
SCSS
Raw Normal View History

2018-09-28 19:20:15 +00:00
@import 'variables';
[hidden] {
display: none !important;
}
2018-10-31 09:38:41 +00:00
*,
2018-11-17 17:01:19 +00:00
*::after,
*::before {
// box-sizing: inherit;
2018-10-19 18:36:16 +00:00
}
:root {
font-size: 62.5%;
2018-09-28 19:20:15 +00:00
font-family: Open Sans, sans-serif;
body {
//box-sizing: border-box;
background-color: $color-anti-flash-white;
color: $color-text-base;
font-size: 1.6rem;
margin: 0 auto;
overflow-wrap: break-word;
}
2018-09-28 19:20:15 +00:00
}
2019-02-13 11:34:29 +00:00
2018-10-05 09:37:48 +00:00
h1,
h2,
h3,
h4,
h5,
h6 {
color: $color-dark-lava;
2018-10-05 09:37:48 +00:00
font-weight: 600;
2018-10-18 18:06:43 +00:00
padding: 0;
/*margin: 0.67em 0;*/
2018-11-17 17:01:19 +00:00
2018-10-05 09:37:48 +00:00
span {
font-weight: 400;
padding-left: 0.85rem;
2018-11-17 17:01:19 +00:00
2018-10-05 09:37:48 +00:00
&:before {
content: '// ';
}
}
}
h1 {
font-size: 2.1rem;
2018-10-05 09:37:48 +00:00
}
2018-11-17 17:01:19 +00:00
h2 { font-size: 2rem;
2018-10-05 09:37:48 +00:00
}
2018-11-17 17:01:19 +00:00
2018-10-05 09:37:48 +00:00
h3 {
font-size: 1.6rem;
2018-10-31 09:38:41 +00:00
}
2018-11-17 17:01:19 +00:00
2018-10-31 09:38:41 +00:00
h4 {
font-size: 1.2rem;
2018-10-05 09:37:48 +00:00
}
h5 {
font-size: 2rem;
}
2018-10-05 09:37:48 +00:00
.debug {
outline: 2px dotted red;
}
button {
background: none;
border: none;
cursor: pointer;
margin: 0;
padding: 0;
text-decoration: none;
-webkit-appearance: none;
}
li {
list-style: none;
margin-right: 0.4rem;
padding-left: 0;
}
#job-offers,
#members {
@extend %content-padding;
}
2018-10-31 09:38:41 +00:00
.frame {
@extend %frame;
padding: 5rem;
2018-12-06 18:47:32 +00:00
}
2018-11-17 17:01:19 +00:00
.layer {
position: absolute;
bottom: 0;
top: 0;
right: 0;
left: 0;
display: flex;
2018-11-16 10:33:39 +00:00
flex-direction: column;
align-items: stretch;
overflow-x: hidden;
}
#content {
2018-09-28 19:20:15 +00:00
display: flex;
2019-02-13 11:34:29 +00:00
overflow: hidden;
2018-09-28 19:20:15 +00:00
}
#mainContainer {
2018-11-16 10:33:39 +00:00
flex-grow: 1;
flex-shrink: 1;
overflow-y: auto;
2018-09-28 19:20:15 +00:00
}
2018-10-08 08:49:31 +00:00
.limiter {
2018-10-05 09:37:48 +00:00
display: block;
max-width: 650px;
2018-09-29 00:22:00 +00:00
}
2018-10-05 09:37:48 +00:00
/* sub menu (right menu) */
#mainContainer {
2018-10-05 09:37:48 +00:00
display: flex;
> div#project,
> div#circle {
flex-grow: 1;
2018-11-20 15:28:00 +00:00
display: flex;
flex-direction: row-reverse;
align-items: stretch;
overflow-x: hidden;
2018-11-17 17:01:19 +00:00
> div {
//display: flex;
//margin: 2.6em;
//padding:2.6em;
//flex: 1 1 0;
flex-grow: 1;
}
2018-09-29 00:22:00 +00:00
}
}
2018-10-05 09:37:48 +00:00
2018-10-08 08:49:31 +00:00
sib-route,
sib-trigger,
sib-link {
2018-10-08 08:49:31 +00:00
cursor: pointer;
}
sib-link.back {
color: $color-purple-dark;
2018-10-05 09:37:48 +00:00
display: block;
font-size: 2rem;
font-weight: bold;
text-align: right;
2018-10-05 09:37:48 +00:00
}
2018-11-17 17:01:19 +00:00
.containerH {
display: flex;
2018-11-19 18:45:42 +00:00
flex-wrap: wrap;
2018-11-17 17:01:19 +00:00
}
.containerV {
display: flex;
flex-direction: column;
align-items: stretch;
}
.grow {
flex-grow: 1;
flex-shrink: 1;
}
.fix {
flex-grow: 0;
flex-shrink: 0;
}
.containerCenter {
justify-content: center;
align-items: center;
}
2018-11-19 18:45:42 +00:00
.reverse {
2018-11-19 18:45:42 +00:00
flex-direction: row-reverse;
}
#views-container {
flex: 1 0 0;
overflow-y: auto;
}
.grid-layer{
display: grid;
2018-12-09 18:56:56 +00:00
font-size: 16px;
2018-12-09 14:42:12 +00:00
grid-template-columns: [start]auto[middle]25%[end];
2018-12-09 18:56:56 +00:00
grid-template-rows: [start]13em[middle]auto[end];
}
2018-12-11 12:42:53 +00:00
.grid-layer-main {
grid-column-start: start;
grid-column-end: end;
grid-row-start: start;
grid-row-end: end;
}
2018-12-11 12:42:53 +00:00
.grid-layer-links {
grid-column-start: middle;
grid-column-end: end;
grid-row-start: start;
grid-row-end: middle;
}
2018-12-21 10:10:13 +00:00
/* TEMPLATE SKILLS*/
sib-multiple[name*='skills'] {
2018-12-21 10:10:13 +00:00
display: flex;
flex-wrap: wrap;
2018-12-21 10:10:13 +00:00
}
.skill {
background-color: $color-selective-yellow;
border: 1px solid $color-selective-yellow;
border-radius: 2em;
color: $color-white;
font-size: 1.4rem;
font-weight: bold;
margin: 0.4rem 0.4rem 0.4rem 0;
padding: 0.5rem 2rem;
}