File size: 1,731 Bytes
f978ccd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
h1 {
  padding-top: 0rem;
  padding-bottom: 0rem;
  margin-top:6px;
}
h2 {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

/* La ligne suivante est nécessaire à cause du module streamlit_option_menu qui "casse" les CSS suivants */
@media (prefers-color-scheme: dark) {
  .st-cc {
      color: #fff!important; /* Couleur du texte en mode sombre */
  }
.st-cg:hover {
  color: rgb(255, 75, 75)!important; /* Couleur du texte en mode sombre */
  }
}

p {
  margin-bottom:0.1rem;
}

code {
  color: #1ec3bc;
}

#MainMenu {
  display: none;
}

div[data-testid="stDecoration"] {
  display: none;
}

footer {
  display: none;
}

/* Radio buttons */

.st-cc {
  color: black;
  font-weight: 500;
}

/* Sidebar */

.css-1544g2n {
  padding-top: 1rem;
}

.css-10oheav {
  padding-top: 3rem;
}

.css-ue6h4q {
  min-height: 0.5rem;
}

section[data-testid="stSidebar"] > div {
  background-color: #10b8dd;
  padding-top: 1rem;
  padding-left: 0.5rem;
}

section[data-testid="stSidebar"] button[title="View fullscreen"] {
  display: none;
}

section[data-testid="stSidebar"] button[kind="icon"] {
  display: none;
}

section[data-testid="stSidebar"] .st-bk {
  background-color: #10b8dd;
}

section[data-testid="stSidebar"] .st-c0 {
/*  background-color: #10b8dd; */
}

section[data-testid="stSidebar"] hr {
  margin-top: 30px;
  border-color: white;
  width: 50px;
}

section[data-testid="stSidebar"] h2 {
  color: white;
}

/* Images */

button[title="View fullscreen"] {
  display: none;
}

/* hr */

hr {
  width: 700px;
  border-width: 5px;
  border-color: #10b8dd;
  margin-top: 0px;
  margin-bottom: 1em;
  max-width: 100%;
}

/* First Page */

section[tabindex="0"] .block-container {
  padding-top: 0px;
  padding-bottom: 0px;
}