portfolio / styles /index.css
louisbrulenaudet's picture
Upload 78 files
503881f verified
:root {
--header-font-color: #fff;
--header-searchbar-background: rgba(38, 38, 38, 0.8);
--footer-background-color: #fff;
--footer-logo-h2-color: rgb(36, 41, 47);
--footer-logo-h3-color: rgb(36, 41, 47);
--display-link-title-color: rgb(87, 96, 106);
--display-link-elements-color: rgb(87, 96, 106);
--display-link-elements-hover-color: #0C3064;
--footer-socials-container-background-color: rgb(246, 248, 250);
--footer-socials-li-color: rgb(87, 96, 106);
--loading-spinner-background: rgba(0, 0, 0, 0.40);
--loading-spinner-body: #414146;
}
section .dark {
background: black;
padding: 80px 0px;
margin: 80px 0px;
}
.header {
width: auto;
height: auto;
text-align: center;
background: radial-gradient(circle, #0C3064 0%, #010C27 85%);
}
.header h1{
font-size: 80px;
color: white;
padding-top: 150px;
line-height: 1.1;
font-weight: 500;
margin-bottom: 20px;
}
.header h2 {
font-size: 28px;
color: white;
padding-top: 18px;
font-weight: 300;
}
.header .mockup {
position: relative;
width: 90%;
max-width: 1138px;
margin-top: 70px;
margin-left: auto;
margin-right: auto;
}
.header .mockup img {
max-width: 100%;
height: auto;
}
.header .mockup .screenshot {
position: absolute;
top: 0;
left: 0;
display: flex;
margin-top: 3%;
justify-content: center;
}
.header .mockup .screenshot img {
width: 80%;
opacity: 0.8;
}
.header p {
width: 800px;
margin-left: auto;
margin-right: auto;
font-size: 28px;
color: white;
margin-top: 50px;
margin-bottom: 60px;
font-weight: 300;
line-height: 1.3;
}
.header a {
text-decoration: none;
font-size: 28px;
color: #1187FF;
font-weight: 300;
cursor: pointer;
display: inline-block;
margin-bottom: 130px;
}
.header a:hover {
text-decoration: underline;
color: #005FD6;
}
@media only screen and (max-width : 992px) {
.header {
height: auto;
}
.header h1 {
font-size: 64px;
}
.header h2 {
font-size: 24px;
margin-left: 15px;
margin-right: 15px;
}
.header p {
width: 80%;
margin-left: auto;
margin-right: auto;
font-size: 24px;
font-weight: 300;
line-height: 1.3;
}
.header a {
font-size: 26px;
margin-bottom: 90px;
}
}
.main {
width: auto;
text-align: center;
padding: 80px 0px;
}
.main .logotypes-wrapper img {
width: 40%;
max-width: 700px;
height: auto;
}
.main.gray {
background-color: #f2f2f2;
}
.main h3 {
font-size: 60px;
color: rgb(15, 15, 15);
font-weight: 500;
line-height: 1;
margin-top: 30px;
letter-spacing: -0.02em;
}
section.dark h3 {
color: #fff;
}
.main p {
width: 800px;
margin-left: auto;
margin-right: auto;
font-size: 24px;
color: rgb(56, 56, 56);
margin-top: 40px;
margin-bottom: 20px;
font-weight: 370;
line-height: 1.4;
}
.main p a {
color: rgb(56, 56, 56);
font-weight: 370;
}
section .dark p {
color: #fff;
}
.main ul {
width: 800px;
margin-right: auto;
text-align: center;
margin-left: auto;
display: flex;
flex-wrap: wrap;
margin-bottom: 50px;
}
.main ul li {
box-sizing: border-box;
width: 50%;
text-align: left;
list-style: none;
padding: 30px;
}
.main ul li h4 {
margin-top: 0;
margin-bottom: .5rem;
font-weight: 500;
line-height: 1.2;
font-size: 1.5rem;
}
section .dark ul li h4 {
color: #fff;
}
.main ul li p {
width: 100%;
margin-top: 0;
margin-bottom: 1rem;
font-size: 16px;
font-weight: 400;
}
.main ul li a {
color: black;
text-decoration: none;
font-weight: 500;
}
section .dark ul li a {
color: #fff;
}
section .dark a {
color: #fff;
}
.main ul li a:hover {
color: #0C3064;
text-decoration: none;
}
.main .image-container{
width: 990px;
height: max-content;
margin-left: auto;
margin-right: auto;
margin-top: 80px;
overflow: hidden;
border-radius: 7px;
box-shadow: 0px 27px 46px 2px #BCBCBC;
margin-bottom: 90px;
}
.main .image-container img{
width:100%;
height:100%;
object-fit:cover;
}
.gist .gist-file {
width: 800px;
margin-left: auto;
margin-right: auto;
margin-bottom: 70px!important;
}
.main .quote-container {
position: relative;
width: max-content;
text-align: center;
border: solid 3px #1187FF;
border-radius: 35px;
margin-bottom: 40px;
margin-left: auto;
margin-right: auto;
}
.main .quote-container p {
color: #1187FF;
font-weight: 500;
padding: 20px 45px 20px 45px;
font-size: 16px;
margin: 0px;
width: 100%;
}
.main .card-wrapper {
width: 1000px;
height: auto;
margin-right: auto;
text-align: center;
margin-left: auto;
display: flex;
background-color: #0C3064;
border-radius: 30px;
overflow: hidden;
}
.main .card-wrapper .text {
width: 55%;
height: auto;
text-align: left;
margin-top: 27px;
border-radius: 30px;
margin-left: 25px;
}
.main .card-wrapper .text h4{
padding-top: 45px;
margin-left: 25px;
margin-right: 40px;
font-size: 24px;
font-weight: 600;
color: white;
}
.main .card-wrapper .text p{
margin-left: 25px;
margin-right: 40px;
color: white;
width: 100%;
font-weight: 400;
font-size: 16px;
}
.main .card-wrapper .text a {
color: white;
width: 100%;
font-weight: 400;
font-size: 16px;
}
.main .card-wrapper .image {
width: 45%;
margin-top: 50px;
}
.main .card-wrapper .image img{
width: 100%;
}
.main iframe.form{
width: 100%;
max-width: 800px;
margin: 0px 0px 70px 0px;
}
section .dark a:hover {
color: #fff!important;
}
.main .twitter-timeline {
width: 600px;
margin-left: auto;
margin-right: auto;
}
.main .gradio-container {
width: 90%;
margin-left: auto!important;
margin-right: auto!important;
margin-bottom: 30px;
text-align: center;
}
.main gradio-app[theme_mode="dark"] .gradio-container {
max-width: 980px;
}
.main gradio-app[theme_mode="light"] .gradio-container {
max-width: 800px;
}
.main .gradio-container p {
font-size: 16px;
width: 100%;
padding: 0px 15px;
}
.main .gradio-container[theme_mode="dark"] p {
color: white;
}
.main .gradio-container[theme_mode="light"] p {
color: #000;
}
.main .gradio-container h1 {
width: 100%;
max-width: 800px;
margin: 0px 0px 70px 0px;
}
.dropdown {
width: 90%;
max-width: 800px;
text-align: left;
margin: 0px 0px 30px 0px;
margin-left: auto;
margin-right: auto;
}
.short-description {
position: relative;
overflow: hidden;
cursor: pointer;
font-size: 24px;
color: rgb(56, 56, 56);
margin-top: 40px;
margin-bottom: 20px;
font-weight: 370;
line-height: 1.4;
}
.full-description {
display: none;
z-index: 1;
transition: all 0.3s ease;
}
.full-description p {
font-size: 17px;
width: 100%!important;
}
.dropdown.open .full-description {
display: block;
}
.contact-form {
max-width: 800px;
width: 90%;
margin: 20px 0px 30px 0px;
}
@media only screen and (max-width : 1150px) {
.main .image-container{
width: 780px;
}
}
@media only screen and (max-width : 992px) {
.main .card-wrapper{
flex-wrap: nowrap;
justify-content: center;
display: block;
text-align: center;
overflow: hidden;
height: auto;
width: 80%;
}
.main .card-wrapper .image {
width: 100%;
}
.main .card-wrapper .text {
width: 90%;
height: auto;
text-align: left;
margin-top: 27px;
border-radius: 30px;
}
.main iframe.form{
width: 90%;
}
.main .card-wrapper .text p {
margin-left: auto;
margin-right: auto;
color: white;
width: 100%;
font-weight: 400;
font-size: 16px;
padding: 0px 25px;
}
.main .image-container img{
width: 100%;
}
.main .logotypes-wrapper img {
width: 60%;
}
.main {
height: auto;
}
.main h3 {
font-size: 53px;
width: 90%;
margin: auto;
}
.main p{
font-size: 22px;
width: 80%;
}
.gist .gist-file {
width: 80%;
}
.main ul {
width: auto;
flex-wrap: nowrap;
justify-content: center;
display: block;
}
.main ul li{
width: 80%;
margin: auto;
padding: 0px;
margin-bottom: 50px;
margin-top: 50px;
}
}
@media only screen and (max-width : 656px) {
.header h1 {
font-size: 53px;
width: 90%;
margin-right: auto;
margin-left: auto;
}
.header h2 {
font-size: 25px;
width: 90%;
margin-right: auto;
margin-left: auto;
}
.header .mockup {
position: relative;
width: 90%;
max-width: 1138px;
margin-top: 70px;
margin-left: auto;
margin-right: auto;
}
.header .mockup img {
max-width: 100%;
height: auto;
}
.header .mockup .screenshot {
position: absolute;
top: 0;
left: 0;
display: flex;
margin-top: 3%;
justify-content: center;
}
.main .twitter-timeline {
width: 90%;
}
.header .mockup .screenshot img {
width: 80%;
opacity: 0.8;
}
.main .card-wrapper .text {
width: 90%;
height: auto;
text-align: left;
margin-top: 27px;
margin-left: auto;
margin-right: auto;
}
.main .card-wrapper .text p {
color: white;
width: 100%;
font-size: 16px;
}
}
@media only screen and (max-width : 425px) {
.header h1 {
font-size: 40px;
}
.header h2 {
font-size: 25px;
}
.main h3 {
font-size: 40px;
width: 90%;
}
.header p {
font-size: 22px;
width: 90%;
}
.gist .gist-file {
width: 90%;
}
.main p {
width: 90%;
margin-left: auto;
margin-right: auto;
font-size: 21px;
margin-top: 50px;
font-weight: 400;
margin-bottom: 20px;
}
.main .logotypes-wrapper img {
width: 80%;
}
}