Template:Infobox/styles.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
div.infobox .heading { | div.infobox .heading { | ||
font-weight:700; | font-weight:700; | ||
text-align:center; | text-align:center; | ||
border:1px solid rgba(0,0,0,0.25); | border:1px solid rgba(0,0,0,0.25); | ||
Line 30: | Line 30: | ||
font-size-adjust:0.43; | font-size-adjust:0.43; | ||
padding:0.5em !important | padding:0.5em !important | ||
} | } | ||
Line 47: | Line 41: | ||
clear:both; | clear:both; | ||
padding:0 | padding:0 | ||
} | |||
div.infobox dt{ | |||
float:left; | |||
text-align:right; | |||
width:78px; | |||
line-height:1em; | |||
font-weight:700; | |||
clear:left; | |||
border-right:2px solid #999; | |||
margin:0 -2px 0 0; | |||
padding:2px 8px 2px 3px | |||
} | |||
div.infobox dd{ | |||
float:left; | |||
width:140px; | |||
font-weight:400; | |||
border-left:2px solid #999; | |||
margin:0; | |||
padding:2px 7px | |||
} | |||
div.infobox::after,div.infobox .heading::after{ | |||
content:"";position:absolute; | |||
width:100%; | |||
left:0; | |||
height:3px; | |||
background-size:100% 3px | |||
} | |||
div.infobox::after,div.infobox .heading::after{ | |||
bottom:-3px | |||
} | |||
div.infobox table{ | |||
background-color:transparent | |||
} | |||
div.infobox dt,div.infobox dd{ | |||
line-height:1.667em | |||
} | } |
Revision as of 02:44, 27 June 2024
div.infobox {
float: right;
position: relative;
width:250px;
background:#FFF;
font-size:0.923em;
border:1px solid #AAA;
margin:0 0 1em 1em;
padding:0;
background-image:linear-gradient(135deg,#fff 0%,#eee 100%);
background-color:#390;
border-color:#390
}
div.infobox .heading {
font-weight:700;
text-align:center;
border:1px solid rgba(0,0,0,0.25);
border-bottom-width:0;
position:relative;
z-index:1;
margin:-1px -1px 5px !important;
font-family:EasonPro,"Times New Roman",serif !important;
font-size:1.417em !important;
color:#FFF !important;
background-color:#444 !important;
text-shadow:rgba(0,0,0,0.75) 0 0 0.25em;
line-height:1.176em;
font-size-adjust:0.43;
padding:0.5em !important
}
div.infobox .image_wrapper {
text-align:center;
padding:0;
margin:10px 0
}
div.infobox .wrapper{
clear:both;
padding:0
}
div.infobox dt{
float:left;
text-align:right;
width:78px;
line-height:1em;
font-weight:700;
clear:left;
border-right:2px solid #999;
margin:0 -2px 0 0;
padding:2px 8px 2px 3px
}
div.infobox dd{
float:left;
width:140px;
font-weight:400;
border-left:2px solid #999;
margin:0;
padding:2px 7px
}
div.infobox::after,div.infobox .heading::after{
content:"";position:absolute;
width:100%;
left:0;
height:3px;
background-size:100% 3px
}
div.infobox::after,div.infobox .heading::after{
bottom:-3px
}
div.infobox table{
background-color:transparent
}
div.infobox dt,div.infobox dd{
line-height:1.667em
}