MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
AdminIsidore (talk | contribs) No edit summary |
AdminIsidore (talk | contribs) No edit summary |
||
| Line 57: | Line 57: | ||
text-anchor: middle; /* Center horizontally */ | text-anchor: middle; /* Center horizontally */ | ||
transform: translateY(-5px); /* Shift text up */ | transform: translateY(-5px); /* Shift text up */ | ||
} | |||
/* Styling for Essentia Semantic Graph */ | |||
.essentia-graph { | |||
background-color: #000000; /* Black background */ | |||
color: #00FF00; /* Green text */ | |||
font-family: "Courier New", monospace; | |||
border: 1px solid #00FF00; | |||
padding: 0.5em; | |||
box-shadow: 0 0 8px #00FF00; /* CRT glow */ | |||
margin-top: 1em; | |||
width: 100%; | |||
max-width: 800px; | |||
height: 400px; | |||
box-sizing: border-box; | |||
} | |||
.essentia-graph svg { | |||
background-color: #000000; | |||
width: 100%; | |||
height: 100%; | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
.essentia-graph, .essentia-graph svg { | |||
background-color: #111111; /* Near-black for dark mode */ | |||
color: #00FF00; | |||
box-shadow: 0 0 8px #00FF00; | |||
} | |||
} | |||
@media screen and (max-width: 600px) { | |||
.essentia-graph { | |||
max-width: 100%; | |||
height: 300px; /* Smaller height for mobile */ | |||
} | |||
} | } | ||