-
Notifications
You must be signed in to change notification settings - Fork 0
/
sf.css
108 lines (98 loc) · 2.85 KB
/
sf.css
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
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100;0,300;0,400;0,500;0,700;1,400;1,500;1,700&family=Space+Mono:wght@400;700&display=swap');
/* Styles de base */
body, html, .graph-wrapper, aside.menu, .graph-timeline, button.record-btn-close, button, .btn, h1.title, aside.menu header, .record footer li .record-links-context, .record header, .graph-controls {
font-family: 'Space Mono', monospace;
background-color: rgba(36, 36, 36, 0.8); /* Fond uniforme pour tous les éléments */
color: white; /* Texte blanc pour tout */
}
/* Configuration du wrapper du graphique */
.graph-wrapper {
position: fixed;
top: 0;
right: 0;
height: 100vh;
width: calc(100vw - 30rem);
}
/* Styles pour les boutons */
button, .btn {
background-color: #0d2621;
border-radius: 6px;
border: none;
padding: 5px 10px;
transition: all 0.1s ease;
}
button:hover {
animation-name: clignoter;
transition: none;
}
/* Configuration de main#record-container pour le centrage et la transparence */
main#record-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: transparent;
backdrop-filter: blur(10px);
color: white;
border: solid 2px #33ffbe;
box-shadow: none;
padding: 20px;
width: auto;
max-width: calc(100vw - 40rem); /* Ajusté pour ne pas dépasser le graph-wrapper */
box-sizing: border-box;
}
/* Animation de clignotement pour les boutons */
@keyframes clignoter {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
/* Styles pour les contrôles du graphique */
.graph-controls {
position: fixed;
bottom: 0;
right: calc(100vw - 30rem);
}
/* Styles pour la timeline du graphique */
.graph-timeline {
position: fixed;
left: 0;
bottom: 0;
width: 100vw;
}
/* Styles pour l'entête de l'enregistrement utilisant CSS Grid */
article.record header {
display: grid;
gap: 0 1em;
grid-template-areas:
"img title"
"img id"
"img type"
"img tags"
"img prenom"
"img nom"
"img orcid"
"img hal"
"img gscholar"
"img wikipedia"
"img twitter";
grid-template-columns: 1fr 2fr;
}
/* Affectation des zones de la grille */
h1.record-title { grid-area: title; }
img.record-img { grid-area: img; }
div.record-id { grid-area: id; }
div.record-type { grid-area: type; }
div.record-tags { grid-area: tags; }
div.record-prenom { grid-area: prenom; }
div.record-nom { grid-area: nom; }
div.record-orcid { grid-area: orcid; }
div.record-hal { grid-area: hal; }
div.record-gscholar { grid-area: gscholar; }
div.record-wikipedia { grid-area: wikipedia; }
div.record-twitter { grid-area: twitter; }
article.record div,
article.record h1,
article.record a {
color: #00FF00; /* Vert d'écran d'ordinateur classique */
}