Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
welcome
Community portal
village pump
participate
Upload file
Recent changes
latestfiles
Random File
contact
Special pages
Islamical Commons
Search
Search
English
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Module
:
Information/styles.css
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Upload file
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
/** * IMPORTANT: * * These styles are copied to [[MediaWiki:Filepage.css]]. * If you make any changes here, make sure to update that page as well. * * When previewing changes, you must use a file outside the File namespace. * * See [[Module talk:Information/styles.css]] for details. */ /** * Generally we have div.commons-file-information-table > table.fileinfotpl-type-information * But additional cells have table.commons-file-information-table * We currently only deal with tbody, as there are no known usages of thead/tfoot * This is hyper specific to avoid */ table.commons-file-information-table, .fileinfotpl-type-information, .fileinfotpl-type-artwork { /* toccolours */ border: 1px solid var(--border-color-base,#a2a9b1); background-color: var(--background-color-interactive-subtle,#f8f9fa); padding: 5px; font-size: 95%; /* end of toccolours */ border-spacing: 2px; box-sizing: border-box; margin: 0; width: 100%; color: inherit; } table.commons-file-information-table > tbody > tr, .fileinfotpl-type-information > tbody > tr, .fileinfotpl-type-artwork > tbody > tr { vertical-align: top; } table.commons-file-information-table > tbody > tr > td, table.commons-file-information-table > tbody > tr > th, .fileinfotpl-type-information > tbody > tr > td, .fileinfotpl-type-information > tbody > tr > th, .fileinfotpl-type-artwork > tbody > tr > td, .fileinfotpl-type-artwork > tbody > tr > th { padding: 4px; } /* This should be removed from MediaWiki:Filepage.css and MediaWiki:Common.css */ .fileinfo-paramfield { background: #ccf; text-align: right; padding-right: 0.4em; width: 15%; font-weight: bold; color: inherit; } /* stack with additional adjacent templates */ .commons-file-information-table + table.commons-file-information-table, .commons-file-information-table + div.commons-file-information-table > table { border-top: 0; padding-top: 0; margin-top: -8px; } /* Layout on mobile devices */ @media only screen and (max-width:719px) { table.commons-file-information-table, .commons-file-information-table .fileinfotpl-type-information, .commons-file-information-table .fileinfotpl-type-artwork { border-spacing: 0; padding: 0; word-break: break-word; width: 100% !important; } .commons-file-information-table > tbody, .fileinfotpl-type-information > tbody, .fileinfotpl-type-artwork > tbody { display: block; } .commons-file-information-table > tbody > tr > td, .commons-file-information-table > tbody > tr > th, .fileinfotpl-type-information > tbody > tr > td, .fileinfotpl-type-information > tbody > tr > th, .fileinfotpl-type-artwork > tbody > tr > td, .fileinfotpl-type-artwork > tbody > tr > th { padding: 0.2em 0.4em; text-align: left; text-align: start; } .commons-file-information-table > tbody > tr, .fileinfotpl-type-information > tbody > tr, .fileinfotpl-type-artwork > tbody > tr { display: flex; flex-direction: column; } /* stack with additional adjacent templates */ .commons-file-information-table + table.commons-file-information-table, .commons-file-information-table + div.commons-file-information-table > table { margin-top: -1px; } table .fileinfo-paramfield { box-sizing: border-box; flex: 1 0 100%; width: 100%; } } table.commons-file-information-table, .fileinfotpl-type-information, .fileinfotpl-type-artwork, .fileinfo-paramfield { color: var(--color-base,#202122); } /********* General fixes for night mode *********/ html.skin-theme-clientpref-night .fileinfo-paramfield { background: #2a2a5c; color: white; } html.skin-theme-clientpref-night .fileinfotpl-type-artwork tbody > tr > th[style*="#ccf"] { background-color: #2a2a5c !important;; color: white; } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os .fileinfo-paramfield { background: #2a2a5c; color: white; } html.skin-theme-clientpref-os .fileinfotpl-type-artwork tbody > tr > th[style*="#ccf"] { background-color: #2a2a5c !important;; color: white; } }
Summary:
Please note that all contributions to Islamical Commons may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
commons:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Module
:
Information/styles.css
Add languages
Add topic