Template:Collections Fish/styles.css: Difference between revisions
Appearance
imported>Margotbean No edit summary |
imported>第二个熺 Make two modifications to this template to fit the main template: First, Add the distance parameter between two pictures in reference to page A; Second, Modify the width limit to place two images on the same line. |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
/* Derived from #calendartable in vector.css */ | /* Derived from #calendartable in vector.css */ | ||
# | #fishtable { | ||
position: absolute; | position: absolute; | ||
margin: 20px 14px 0px | margin: 20px 14px 0px 19px; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
display: block; | display: block; | ||
| Line 10: | Line 10: | ||
} | } | ||
# | #fishtable td { | ||
height: | height: 35px; | ||
width: 36px; | width: 36px; | ||
border-style: solid; | border-style: solid; | ||
| Line 18: | Line 18: | ||
} | } | ||
# | #fishtable tr.h36 td {height: 36px;} | ||
# | #fishtable td.w34 {width: 34px;} | ||
#fishtable td.w46 {width: 46px;} | |||
#fishtable a { | |||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
| Line 27: | Line 30: | ||
} | } | ||
# | #fishtable a:hover { | ||
border-style: solid; | border-style: solid; | ||
border-color: blue; | border-color: blue; | ||
| Line 34: | Line 37: | ||
} | } | ||
# | #outerfishdiv { | ||
position: relative; | position: relative; | ||
width: | width: 800px; | ||
height: 304px; | height: 304px; | ||
} | } | ||
# | #innerfishdiv {position: absolute;} | ||
/* [[Category:Template stylesheets]] */ | /* [[Category:Template stylesheets]] */ | ||
Latest revision as of 02:16, 29 June 2024
/* Derived from #calendartable in vector.css */
#fishtable {
position: absolute;
margin: 20px 14px 0px 19px;
border-collapse: collapse;
display: block;
border-spacing: 0;
padding: 0;
}
#fishtable td {
height: 35px;
width: 36px;
border-style: solid;
border: 0;
padding: 0;
}
#fishtable tr.h36 td {height: 36px;}
#fishtable td.w34 {width: 34px;}
#fishtable td.w46 {width: 46px;}
#fishtable a {
width: 100%;
height: 100%;
display: block;
font-size: 0px;
}
#fishtable a:hover {
border-style: solid;
border-color: blue;
border-width: 3px;
box-sizing: border-box;
}
#outerfishdiv {
position: relative;
width: 800px;
height: 304px;
}
#innerfishdiv {position: absolute;}
/* [[Category:Template stylesheets]] */