This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/css/style.css
2019-12-28 22:36:09 +01:00

266 lines
4.5 KiB
CSS

/* GENERAL */
:root {
--footer-height: 182px;
--border-header-footer: 3px rgba(255,255,255,0.7) solid;
--background-color: #181818;
--text-color: rgb(222, 222, 222);
--important: #ffd800;
}
html {
position: relative;
min-height: 100%;
}
body {
background-color: var(--background-color);
color: var(--text-color);
font-family: 'Montserrat', 'Arial', sans-serif;
margin: 0 0 var(--footer-height); /* bottom = footer height */
padding-top: 94px; /* Hauteur de la navbar */
}
.important {
color: var(--important);
}
b {
font-weight: bold;
color: var(--important);
}
a, a:hover {
color: var(--important);
}
h1 {
font-family: 'Roboto', 'sans-serif';
margin: auto;
text-align: center;
}
p {
font-size: 18px;
line-height: 1.9;
}
/* HEADER */
#header-container {
padding-bottom: 0;
}
.navbar {
position: fixed;
width: 100%;
top: 0;
left: 0;
right: 0;
z-index: 100;
background-color: var(--background-color);
border-bottom: var(--border-header-footer);
}
.nav-link {
text-align: center !important;
}
/* CONTENT */
main {
padding-top: 81px;
}
@media (max-width: 576px) {
.container {
width: 90% !important;
}
}
.selectInline {
display: inline-block !important;
width: 80px !important;
height: 40px !important;
}
pre code {
color: #e83c8c !important;
}
#currencyOfTheValue, #currencyAfter, #convertNumberType, #option {
width: auto !important;
}
#convertIn {
width: 6.7em;
}
.function-list-title {
width: 85%;
padding-bottom: 0.6em;
margin: auto;
}
.function-list-image {
max-width: 160px;
padding-bottom: 20px;
}
.function-list-description {
width: 70%;
margin: auto;
}
.function-image {
max-width: 130px;
padding-bottom: 20px;
}
.table {
color: white;
}
.quote-element-list {
vertical-align: middle !important;
line-height: 2;
}
.original-link-list {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
vertical-align: middle;
}
.error {
color: #ff7f7f !important;
}
.success {
color: #90EE90 !important;
}
.italic {
font-style: italic;
}
/* FOOTER */
footer
{
border-top: var(--border-header-footer);
position: absolute;
left: 0;
bottom: 0;
height: var(--footer-height);
width: 100%;
}
.footer-text
{
font-size: 18px;
padding: 0 0 25px 0;
}
footer i
{
font-size: 25px;
margin: 20px;
height: 30px;
}
footer i:hover
{
font-size: 30px;
}
.realDateTime {
padding-bottom: 20px;
}
#realDateTime {
font-size: 18px;
font-family: 'Roboto', 'sans-serif';
}
/* ToDo List */
/* ------------ header ------------ */
.header{
height:100%;
background-color: #fff;
border-radius: 15px 15px 0 0;
position: relative;
border-bottom: 1px solid rgba(0,0,0,0.3);
}
.toDoListTitle {
color: #181818;
font-family: 'Montserrat', 'Arial', sans-serif;
}
.clear{
width : 30px;
}
.clear i{
font-size: 27px;
color: #181818;
}
.clear i:hover{
cursor: pointer;
transform: rotate(60deg);
}
/* ------------ content ------------ */
.content{
height: 350px;
max-height:350px;
overflow: auto;
background-color: #fff;
}
.content::-webkit-scrollbar {
display: none;
}
.content ul{
padding:0;
margin:0;
}
.item{
height: 100%;
min-height: 45px;
position: relative;
border-bottom: 1px solid rgba(0,0,0,0.1);
list-style: none;
padding: 0;
margin: 0;
}
.item i.co{
position: absolute;
font-size: 25px;
padding-left:5px;
left:15px;
top:10px;
}
.item i.co:hover{
cursor: pointer;
}
.fa-check-circle{
color:#6eb200;
}
.item p.text {
margin-top: 10px;
font-size: 20px;
transition: 0.2s;
color: #181818;
}
.lineThrough {
text-decoration: line-through;
color : #ccc;
}
.item i.de{
color: #363636;
position: absolute;
font-size: 25px;
right:15px;
top:10px;
}
.item i.de:hover{
color:#af0000;
cursor: pointer;
}
/* ------------ add item ------------ */
.add-to-do{
position: relative;
height:80px;
padding: 10px;
border-top: 1px solid rgba(0,0,0,0.1);
border-radius: 0 0 15px 15px;
background-color: #fff;
}
.add-to-do i{
position: absolute;
font-size: 40px;
color: #4162f6;
}
.add-to-do input{
position: absolute;
left: 50px;
height: 35px;
border: none;
font-size: 20px;
padding-left:10px;
max-width: 50%;
}
.add-to-do input::-webkit-input-placeholder {
color: #4162f6;
font-family: sans-serif;
font-size: 20px;
}