mirror of
https://github.com/unraid/webgui.git
synced 2026-01-20 08:30:14 -06:00
Instead of styling defined inside a page file, these settings are now kept in a dedicated css file. This has several advantages: - It comes much easier to maintain styling, all css files are easy to find and update - Browser can cache css files, which may improve page loading time - Separate theme css files exist, no more need to make selection by coding - This PR is a 1-to-1 move of existing inline styling to css files - In future more optimization can be made by consolidating css files
5 lines
303 B
CSS
5 lines
303 B
CSS
.vmheader{padding:10px;font-size:1.4rem;text-align:left;color:#888}
|
|
.vmtemplate{display:inline-block;width:80px;height:90px;margin-bottom:15px;margin-left:10px;text-align:center;vertical-align:top}
|
|
.vmtemplate img{width:48px;height:48px}
|
|
.vmtemplate p{text-align:center;margin-top:8px;line-height:12px}
|