nuitdelinfo_2021/static/css/style.css

387 lines
7.7 KiB
CSS
Raw Normal View History

2021-12-02 22:30:17 +01:00
@import url("https://fonts.googleapis.com/css2?family=Courgette&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Play&display=swap");
body {
background-color: #414142;
padding: 0;
margin: 0;
}
h1, h2 {
font-family: "Courgette", cursive;
color: #efefef;
}
a {
text-decoration: none;
}
2021-12-02 19:30:42 +01:00
h1 {
2021-12-02 22:30:17 +01:00
font-size: 60px;
2021-12-03 00:06:04 +01:00
text-align: center;
margin: 10px 0;
2021-12-02 22:30:17 +01:00
}
h2 {
font-size: 40px;
}
img {
max-width: 100%;
}
a.btn {
display: block;
width: -webkit-fit-content;
width: fit-content;
width: -moz-fit-content;
color: #efefef;
padding: 10px 20px;
border: 2px solid #efefef;
font-size: 18px;
}
2021-12-03 00:06:04 +01:00
a.btn--blue {
color: #00E8C2;
border-color: #00E8C2;
}
2021-12-02 22:30:17 +01:00
p {
margin: 5px 0;
}
2021-12-03 00:06:04 +01:00
input::-webkit-input-placeholder {
font-family: "Play", sans-serif;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
color: #efefef;
}
input::-moz-placeholder {
font-family: "Play", sans-serif;
transition-duration: 0.3s;
color: #efefef;
}
input:-ms-input-placeholder {
font-family: "Play", sans-serif;
transition-duration: 0.3s;
color: #efefef;
}
input::-ms-input-placeholder {
font-family: "Play", sans-serif;
transition-duration: 0.3s;
color: #efefef;
}
a, p, span, input, input::placeholder {
2021-12-02 22:30:17 +01:00
font-family: "Play", sans-serif;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
color: #efefef;
}
a:hover {
color: #00E8C2 !important;
}
.container {
2021-12-03 00:06:04 +01:00
padding-top: 100px;
2021-12-02 22:30:17 +01:00
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
2021-12-03 00:06:04 +01:00
section {
padding-bottom: 50px;
}
.map {
width: 75%;
display: block;
margin: auto;
}
2021-12-02 22:30:17 +01:00
nav {
background-color: #303030;
padding: 5px 20px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
2021-12-03 00:06:04 +01:00
position: fixed;
top: 0;
z-index: 9999;
left: 0;
width: -webkit-fill-available;
2021-12-02 22:30:17 +01:00
}
nav .logo {
margin: 0;
cursor: pointer;
font-size: 50px;
font-family: "Courgette", cursive;
color: #efefef;
margin-right: 30px;
}
nav .left {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
nav .left .submenu {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
nav .left .submenu a {
font-size: 20px;
color: #efefef;
padding: 0 20px;
}
nav .right {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: right;
-ms-flex-pack: right;
justify-content: right;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
nav .right img {
width: 50px;
cursor: pointer;
border: 2px solid #efefef;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
nav .right img:hover {
border-color: #00E8C2;
}
nav .right .search {
color: #efefef;
font-size: 50px;
margin-right: 20px;
cursor: pointer;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
nav .right .search:hover {
color: #00E8C2;
}
.flex-card {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
2021-12-03 00:06:04 +01:00
-ms-flex-wrap: wrap;
flex-wrap: wrap;
2021-12-02 22:30:17 +01:00
}
.flex-card .card {
-webkit-box-flex: 0;
2021-12-03 00:06:04 +01:00
-ms-flex: 0 1 33%;
flex: 0 1 33%;
margin-bottom: 70px;
}
.flex-card .card .inner {
margin: 0 30px;
background: #333333;
}
.flex-card .card .inner:hover img {
cursor: pointer;
-webkit-filter: grayscale(70%);
filter: grayscale(70%);
-webkit-transform: scale(1.2) !important;
transform: scale(1.2) !important;
2021-12-02 22:30:17 +01:00
}
.flex-card .card .img-container {
width: 100%;
overflow: hidden;
}
.flex-card .card .img-container img {
-webkit-transition: all ease-in-out 0.3s;
transition: all ease-in-out 0.3s;
width: 100%;
}
.flex-card .card .content {
padding: 20px;
}
.flex-card .card .content .date {
color: #00E8C2;
font-style: italic;
font-size: 15px;
}
.flex-card .card .content .titre {
font-size: 20px;
}
.flex-card .card .content a {
margin: auto;
margin-top: 30px;
2021-12-02 19:30:42 +01:00
}
2021-12-03 00:06:04 +01:00
#quicksearch {
position: fixed;
display: none;
padding: 30px;
padding-top: 100px;
height: 100vh;
width: -webkit-fill-available;
background: rgba(0, 0, 0, 0.9);
top: 0;
left: 0;
}
#quicksearch:target {
display: block !important;
}
#quicksearch .close {
position: absolute;
right: 20px;
top: 20px;
-webkit-transition: all ease-in-out 0.3s;
transition: all ease-in-out 0.3s;
}
#quicksearch .close i {
font-size: 70px;
color: #efefef;
}
#quicksearch .close:hover {
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
#quicksearch .search-bar {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
margin-top: 30px;
}
#quicksearch .search-bar input {
width: 80%;
background: transparent;
color: #efefef;
font-size: 30px;
border: none;
border-bottom: 3px solid #efefef;
padding: 15px;
}
#quicksearch .search-bar input::-webkit-input-placeholder {
color: #d3d2d2;
font-size: 30px;
}
#quicksearch .search-bar input::-moz-placeholder {
color: #d3d2d2;
font-size: 30px;
}
#quicksearch .search-bar input:-ms-input-placeholder {
color: #d3d2d2;
font-size: 30px;
}
#quicksearch .search-bar input::-ms-input-placeholder {
color: #d3d2d2;
font-size: 30px;
}
#quicksearch .search-bar input::placeholder {
color: #d3d2d2;
font-size: 30px;
}
#quicksearch .search-bar i {
font-size: 50px;
color: #efefef;
cursor: pointer;
}
#quicksearch .fast-search {
margin-top: 50px;
}
#quicksearch .fast-search h2 {
text-align: center;
font-size: 35px;
}
#quicksearch .fast-search .flex-search {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: space-evenly;
-ms-flex-pack: space-evenly;
justify-content: space-evenly;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
#quicksearch .fast-search .flex-search .search-col {
-webkit-box-flex: 0;
-ms-flex: 0 1 30%;
flex: 0 1 30%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
#quicksearch .fast-search .flex-search .search-col:first-child, #quicksearch .fast-search .flex-search .search-col:nth-child(2) {
border-right: 2px solid #00E8C2;
}
#quicksearch .fast-search .flex-search .search-col .titre {
text-align: center;
font-size: 28px;
color: #00E8C2;
margin: 15px 0;
}
#quicksearch .fast-search .flex-search .search-col .search-card {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
width: 85%;
margin: auto;
margin-top: 20px;
background: #464646;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
#quicksearch .fast-search .flex-search .search-col .search-card img {
width: 50px;
}
#quicksearch .fast-search .flex-search .search-col .search-card .name {
font-size: 20px;
margin-left: 15px;
}
2021-12-02 22:30:17 +01:00
/*# sourceMappingURL=style.css.map */