colorlab
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

styles-other.css
text/css

Download raw (8.8 KB)

/* réinitialisations de base, ne pas toucher */
* {
    margin: 0;
    padding: 0;
    /*color: blue;*/
}

/* liens vers la typo */
@font-face {
    font-family: 'herschey-complex';
    src: url('fonts/hershey-webfont/avhersheycomplexmedium-webfont.woff2') format('woff2'),
         url('fonts/hershey-webfont/avhersheycomplexmedium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'herschey-noaille-futura';
    src: url('fonts/webfonts/hershey-noailles-futuram-webfont.woff2') format('woff2'),
         url('fonts/webfonts/hershey-noailles-futuram-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'armata';
    src: url('fonts/webfonts/armata-regular-webfont.woff2') format('woff2'),
         url('fonts/webfonts/armata-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'hershey futura light';
  src:url('fonts/futuraLightAngled.ttf');
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-research: green;
  --chelodonium: #E1A800;
  /*--pluvialis: #ED7B3C;*/
  --pluvialis: #ed9f3c;
  /*--spiruline:#43905a;*/
  --spiruline:#00b386;
  --murex:#9F5881;
  --murex:#a800e1;
  /*--salina: #CC6052;*/
  --salina: #ff5c3d;
  --bleu: #0039e1;
  --header-shadow-distance: .13ex;
  --background-rotation: 30deg;
}


#colors {
  position: fixed;
  top: 40vh;
  right: 0;
  left: 0;
  height: 30vh;
}

#colors div {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#colors div:nth-of-type(1) {
  --background-color: blueviolet;
  /* background: repeating-linear-gradient(17deg, blueviolet, blueviolet 1px, transparent 1px,transparent 5px); */
}

#colors div:nth-of-type(2) {
  background: repeating-linear-gradient(17deg, blue, blue 1px, transparent 1px,transparent 5px);
}

#colors div:nth-of-type(2) {
  background: repeating-linear-gradient(17deg, slateblue, slateblue 1px, transparent 1px,transparent 5px);
}

#menu {
  --background-color: seagreen;
  /* background: repeating-linear-gradient(17deg, seagreen, seagreen 1px, transparent 1px,transparent 4px); */
}

#menu ul li {
    font-size: 12pt;
}

li {
  /* background: repeating-linear-gradient(17deg, orangered, orangered 1px, transparent 1px,transparent 4px); */
  /*padding: 10px;*/
  margin: 10px;
}

body {
  font-family: 'herschey-noaille-futura';

}
h1, h2, h3 {
  font-family: 'herschey-noaille-futura';
  font-weight: normal;


}
h1, .projects h2 {
  color: transparent;
  font-family: 'hershey futura light';
  text-shadow: calc(-1 * var(--header-shadow-distance)) 0px 0px black, 0px calc(-1 * var(--header-shadow-distance)) 0px black, var(--header-shadow-distance) 0px 0px black, 0px var(--header-shadow-distance) 0px black;
  letter-spacing: .35ex;
  font-weight: normal;
  font-size: 150%;
  margin-top: -2em;
  margin-bottom: 1em;
  text-align: center;
  text-transform: uppercase;
}
/*h1.colored, h2.colored {
  text-shadow: -.var(--header-shadow-distance) 0px 0px black, 0px -.var(--header-shadow-distance) 0px var(--murex), .var(--header-shadow-distance) 0px 0px var(--salina), 0px .var(--header-shadow-distance) 0px black;
}*/
#project-page h1.colored, #project-page h2.colored {
  text-shadow: calc(-1 * var(--header-shadow-distance)) 0px 0px black, 0px calc(-1 * var(--header-shadow-distance)) 0px var(--spiruline), var(--header-shadow-distance) 0px 0px var(--spiruline), 0px var(--header-shadow-distance) 0px black;
}
#about-page h1.colored, #about-page h2.colored {
  text-shadow: calc(-1 * var(--header-shadow-distance)) 0px 0px black, 0px calc(-1 * var(--header-shadow-distance)) 0px var(--murex), var(--header-shadow-distance) 0px 0px var(--murex), 0px var(--header-shadow-distance) 0px black;
}
#education-page h1.colored, #education-page h2.colored {
  text-shadow: calc(-1 * var(--header-shadow-distance)) 0px 0px black, 0px calc(-1 * var(--header-shadow-distance)) 0px var(--pluvialis), var(--header-shadow-distance) 0px 0px var(--pluvialis), 0px var(--header-shadow-distance) 0px black;
}
h1 {
  font-size: 125%;
}
h2.colored {
  font-size: 9.5pt;
line-height: 1.25em;
}
h2 {
  font-size: 14pt;
  margin-top: 24px;
}
h2:first-of-type {
  margin-top: 0px;

}
h3 {
  font-size: 11pt;
  margin: 10px 0px 5px 0px;
}
p {
  /*font-size: 20pt;
  line-height: 1.15em;
  font-family: 'herschey-noaille-futura';
  margin-bottom: 1.3em;*/

  /*line-height: 1.1em;*/

  font-size: 16pt;
  line-height: 1.4em;
  font-family: 'herschey-noaille-futura';
  letter-spacing: -0.03em;
}

body {
  padding-top: 10em;
}

#about-page #main {
  /* padding: 30px; */
  width: 63%;
  display: inline-block;
  position: relative;
  /* background: white; */
  margin-top: 20px;
  /* padding: 100px; */
  margin-left: 10%;
}
#main {
  /* padding: 30px; */
  width: 55%;
  display: inline-block;
  position: relative;
  /* background: white; */
  /* margin-top: 20px; */
  /* padding: 100px; */
  /* margin-left: 16%; */
  margin-bottom: 20vh;
}

.projects {
  padding: 30px;
  width: 35%;
  display: inline-block;
  position: relative;
  /* background: white; */
  margin-top: 20px;
  padding: 100px;
  margin-left: 16%;
}
/*div.projects:nth-of-type(even) {
    margin-left: 36%;
}*/
.projects:nth-of-type(3n+3) {
  margin-left: 36%;

}

#menu {
  position: sticky;
  top: 10px;
  z-index: 1;
  /*margin-left: 50px;
  margin-right: 50px;*/
  /*font-size: 10pt;*/
  /*text-transform: uppercase;*/
  padding: 50px;
  margin-top: 40px;
}
nav#menu {
  position: fixed;
  z-index: 1000;

  font-size: 10pt;
  /*color:white;*/
  padding: 20px 20px 0px 34px;
  width: 100%;
  height: 70px;
/* background: repeating-linear-gradient(17deg, var(--chelodonium), var(--chelodonium) 1px, transparent 1px,transparent 4px); */
}
#menu li {
    /*display: inline-block;
    margin-right: 30px;
    font-family: 'herschey-noaille-futura';*/
    /*display: inline-block;
margin-right: 30px;
font-family: 'herschey-noaille-futura';
text-transform: lowercase;
font-weight: bold;*/
/* background: white; */

display: inline-block;
margin-right: 30px;
font-family: 'herschey-noaille-futura';
text-transform: lowercase;
font-weight: bold;
background: white;
    padding: 4px 2px 2px 2px;

}
#menu a, .menu a:hover, .menu a:visited, li a, a {
    text-decoration: none;
    border-bottom: 0px solid;
}

.img-header {
  float: left;
  position: relative;
  margin-right: 20px;
  width: 44%;
}

span.color{
  background-color: green;
  width: 100%;
  height: 10vh;
  display: block;
}
figure {
  width: 100%;
  float: left;
  position: relative;
  /*margin-top: 12px;
  margin-right: 19px;*/
}

figure img {
  width: 100%;
}
ul {
    margin-right: 15px;
}
ul li {
    list-style: none;
    line-height: 1.05em;
font-size: 11.5pt;
}

#project-page a, a {
  color:blue;
}
#project-page a:hover {
  color:var(--spiruline);
}
#about-page a:hover {
  color:var(--murex);
}
#education-page a:hover {
  color:var(--pluvialis);
}

.rightside, .leftside {
  position: fixed;
  width: 15%;
  margin-top: 95px;
  font-size: 10pt;
  padding: 25px

}
.leftside {
  /*border: 1px solid red;*/
  left: 0px;

}
.rightside {
    right: 0px;
}
.leftside li, .rightside li {
display: inline;
margin-right: 30px;
font-family: 'herschey-noaille-futura';
/*text-transform: lowercase;*/
font-weight: bold;
background: white;
font-size: 9.5pt;
line-height: 1.35em;
display: table;
        padding: 4px 2px 2px 2px;
        text-transform: uppercase;
}
.leftside li footer, .rightside li footer {
  text-transform: initial;
  font-weight: normal;
font-size: 10pt;

}
.rightside li figure {
  display: none;
}
.rightside li:hover figure {
  display: block;
}
p.footer-more {
  font-size: 12pt;
  font-weight: bold;
  font-family: 'herschey-noaille-futura';
      line-height: 2.25em;
      color:red;
          line-height: 1.25em;
}
.projects .figure {
  width: 40%;
  margin-right: 18px;
  float: left;
  position: relative;

}
.projects div figure {
  position: unset;
  float: none;
}

figcaption {
  font-weight: bold;
color: blue;
text-align: center;
    font-size: 8pt;
  }
.projects h2 {
      margin-bottom: 18px;
      line-height: 2em;
}
.projects p {
      font-size: 13.5pt;
      line-height: 1.4em;
      letter-spacing: -0.03em;
}
.projects p + p {
      margin-top: 16pt;
 }
 .projects figure + figure {
       margin-top: 10px;
 }

 .anchor {
   padding-top: 50px;
 }


.patterned, .patterned-border {
  background: repeating-linear-gradient(var(--background-rotation), var(--background-color),  var(--background-color) 1px, transparent 1px, transparent 4px);
}

.patterned-background {
  background: repeating-linear-gradient(calc(var(--background-rotation) + 90deg), var(--blocking-background-color),  var(--blocking-background-color) 3px, transparent 3px, transparent 4px);
}

.bordered, .patterned-border {
  padding: 30px;
}

.patterned-background {
  padding: 20px;
}

#div {
  --background-color: green;
  --blocking-
}