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

266 lines
4.5 KiB
CSS
Raw Normal View History

2019-12-11 22:05:15 +01:00
/* GENERAL */
2019-08-18 20:06:06 +02:00
: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;
}
2019-08-17 02:15:43 +02:00
html {
position: relative;
min-height: 100%;
}
2019-08-16 12:05:56 +02:00
body {
2019-08-18 20:06:06 +02:00
background-color: var(--background-color);
color: var(--text-color);
2019-08-16 12:05:56 +02:00
font-family: 'Montserrat', 'Arial', sans-serif;
2019-08-18 20:06:06 +02:00
margin: 0 0 var(--footer-height); /* bottom = footer height */
2019-12-28 21:33:09 +01:00
padding-top: 94px; /* Hauteur de la navbar */
2019-08-18 20:06:06 +02:00
}
.important {
color: var(--important);
2019-08-16 12:05:56 +02:00
}
b {
font-weight: bold;
2019-08-18 20:06:06 +02:00
color: var(--important);
}
a, a:hover {
color: var(--important);
2019-08-16 12:05:56 +02:00
}
2019-08-18 20:06:06 +02:00
h1 {
font-family: 'Roboto', 'sans-serif';
2019-08-18 23:48:24 +02:00
margin: auto;
text-align: center;
2019-08-18 20:06:06 +02:00
}
p {
font-size: 18px;
line-height: 1.9;
2019-08-16 12:05:56 +02:00
}
/* HEADER */
2019-08-18 20:06:06 +02:00
#header-container {
padding-bottom: 0;
}
2019-08-16 12:05:56 +02:00
.navbar {
position: fixed;
width: 100%;
top: 0;
left: 0;
right: 0;
z-index: 100;
background-color: var(--background-color);
2019-08-18 20:06:06 +02:00
border-bottom: var(--border-header-footer);
2019-08-16 12:05:56 +02:00
}
2019-08-18 23:48:24 +02:00
.nav-link {
text-align: center !important;
}
2019-08-16 12:05:56 +02:00
/* CONTENT */
2019-12-28 22:36:09 +01:00
main {
padding-top: 81px;
}
2019-09-19 20:18:08 +02:00
@media (max-width: 576px) {
.container {
width: 90% !important;
}
}
2019-10-08 11:18:34 +02:00
.selectInline {
2019-12-11 22:05:15 +01:00
display: inline-block !important;
2019-10-08 11:18:34 +02:00
width: 80px !important;
height: 40px !important;
2019-11-16 15:21:21 +01:00
}
pre code {
color: #e83c8c !important;
2019-10-08 11:18:34 +02:00
}
2019-12-11 22:05:15 +01:00
#currencyOfTheValue, #currencyAfter, #convertNumberType, #option {
width: auto !important;
2019-08-29 23:35:40 +02:00
}
#convertIn {
width: 6.7em;
}
.function-list-title {
width: 85%;
2019-10-06 16:58:20 +02:00
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;
}
2019-08-16 12:05:56 +02:00
.table {
2019-08-18 20:06:06 +02:00
color: white;
2019-08-16 12:05:56 +02:00
}
.quote-element-list {
vertical-align: middle !important;
line-height: 2;
}
2019-12-11 20:46:57 +01:00
.original-link-list {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
vertical-align: middle;
}
2019-12-21 19:32:05 +01:00
.error {
color: #ff7f7f !important;
}
.success {
color: #90EE90 !important;
}
.italic {
font-style: italic;
}
2019-12-11 20:46:57 +01:00
2019-08-16 12:05:56 +02:00
/* FOOTER */
footer
{
2019-08-18 20:06:06 +02:00
border-top: var(--border-header-footer);
2019-08-17 02:15:43 +02:00
position: absolute;
left: 0;
bottom: 0;
2019-08-18 20:06:06 +02:00
height: var(--footer-height);
2019-08-17 02:15:43 +02:00
width: 100%;
2019-08-16 12:05:56 +02:00
}
.footer-text
{
font-size: 18px;
2019-08-17 02:15:43 +02:00
padding: 0 0 25px 0;
2019-08-16 12:05:56 +02:00
}
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';
2019-12-26 12:31:47 +01:00
}
/* 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{
2019-12-27 00:08:41 +01:00
height: 100%;
2019-12-26 12:31:47 +01:00
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 {
2019-12-27 00:08:41 +01:00
margin-top: 10px;
2019-12-26 12:31:47 +01:00
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;
2019-08-16 12:05:56 +02:00
}