File size: 3,743 Bytes
c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee f8521a3 c9329ee aa1cf8a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
/* 📦 1. Importer la police Pacifico */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
/* 2. Réinitialisation globale */
div#root{
margin: 0rem !important;
}
.header-burgundy {
color: #39404B; /* Burgundy */
font-weight: bold;
font-size: 1em;
margin-bottom: 0.5em;
}
.burgundy-border {
border: 2px solid #800020; /* Burgundy border */
color: #800020; /* Burgundy text */
border-radius: 6px;
padding: 0.5em 1em;
}
.source_body{
margin: 2em;
background-color: #ECF4F7;
}
.layout_top {
padding-top: 5em;
}
.css-w1lhxi{
/* --color-background-light: #910029; */
background-color: #910029 ;
color: aliceblue;
}
.table_s{
padding-top: 2em;
}
.table_t{
padding-top: 1.3em;
}
.Title_Page {
font-weight: bold;
font-size: 2em;
color: #39404B;
display: block;
box-sizing: border-box;
position: relative;
width: 100%;
}
.Title_Page::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
width: 100%;
height: 3px;
background-color: #39404B;
}
html, body {
margin: 0;
padding: 0;
height: 100%;
}
.bodyp{
margin: 0;
padding: 0;
}
/* 3. Partie .presentation sans background image */
.presentation {
margin: 0;
padding: 0;
height: 100vh;
width: 100%;
position: relative;
background-color: #f8f9fa; /* Light gray background instead of image */
color: #2c3e50; /* Dark blue-gray text for good contrast */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: sans-serif;
}
/* 4. Nom de l'app en haut à gauche, stylé Pacifico */
.App_name {
position: absolute;
top: 20px;
left: 30px;
font-size: 2.5em;
font-family: 'Pacifico', cursive;
color: #2c3e50; /* Dark color for contrast */
z-index: 2;
}
/* 5. Texte de présentation avec effet elevated au survol */
.presentation_text {
position: relative;
z-index: 2;
text-align: center;
font-size: 2em;
padding: 20px 30px;
max-width: 80%;
background: rgba(44, 62, 80, 0.05); /* Light dark background */
border: 1px solid rgba(44, 62, 80, 0.1);
border-radius: 8px;
color: #2c3e50; /* Dark text color */
transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.presentation_text:hover {
background: rgba(44, 62, 80, 0.1);
transform: translateY(-5px) scale(1.02);
box-shadow:
0 10px 20px rgba(0, 0, 0, 0.15),
0 0 15px rgba(44, 62, 80, 0.2);
}
/* 6. Responsive */
@media (max-width: 768px) {
.App_name {
font-size: 1.8em;
top: 15px;
left: 20px;
}
.presentation_text {
font-size: 1.3em;
padding: 15px 20px;
}
}
@media (max-width: 768px) {
.source_body {
margin: 1em;
padding: 0.5em;
}
.layout_top {
padding-top: 2em;
}
.table_s, .table_t {
padding-top: 1em;
}
/* Make inputs and buttons more touch-friendly on mobile */
input, button, select {
min-height: 44px; /* Apple's recommended touch target size */
font-size: 16px; /* Prevents zoom on iOS */
}
/* Improve table readability on mobile */
.taipy-table {
font-size: 14px;
}
/* Better text wrapping for info messages */
.info-message {
font-size: 14px;
line-height: 1.4;
margin-bottom: 1em;
}
/* Ensure burgundy borders are visible on mobile */
.burgundy-border {
border-width: 1px;
margin-bottom: 1em;
}
}
/* Improve button styling for mobile */
@media (max-width: 480px) {
.source_body {
margin: 0.5em;
}
.Title_Page {
font-size: 1.5em;
}
.header-burgundy {
font-size: 1.1em;
}
}
|