Template:Tt: Difference between revisions
Appearance
Tag: Undo |
No edit summary |
||
| Line 1: | Line 1: | ||
< | |||
<div class="banner"> | |||
<div class="left-banner"> | |||
<div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">Welcome to [[Detective Conan]] Wiki,</div> | |||
<div style="top:+0.2em; font-size:95%;">the ultimate resource about Detective Conan.</div> | |||
<div id="articlecount" style="font-size:85%;">This wiki contains a total of [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles thus far</div> | |||
</div> | |||
<div class="right-banner"> | |||
<div style="font-size:95%;" class="front"> | |||
* [http://www.detectiveconanworld.com Homepage] | |||
* [http://www.detectiveconanworld.com/forum Forum] | |||
* [http://www.detectiveconanworld.com/contact Contact] | |||
</div> | |||
<div style="font-size:95%;"> | |||
* [[Characters]] | |||
* [[Anime]] | |||
* [[Manga]] | |||
</div> | |||
<div style="font-size:95%;"> | |||
* [[Movies]] | |||
* [[OVAs]] | |||
* [[Specials]] | |||
</div> | |||
</div> | |||
</div> | |||
{{code | |||
|css= | |css= | ||
. | body | ||
{ | |||
font-family: sans-serif; | |||
} | |||
.banner | |||
{ | |||
background-color: #fcfcfc; | |||
border:1px solid #ccc; | |||
color:#000; | |||
min-height: 75px; | |||
display: flex; | |||
flex-direction: row; | |||
align-items: center; | |||
justify-content: space-between; | |||
} | |||
.left-banner | |||
{ | |||
display: flex; | |||
flex-direction: column; | |||
align-items: center; | |||
width: 55vw; | |||
} | |||
.right-banner | |||
{ | |||
display: flex; | |||
justify-content: space-around; | |||
width: 35vw; | |||
padding: 0px 5vw | |||
} | |||
/* .right-banner div:first-child | |||
{ | |||
margin-left: 15%; | |||
} | |||
.right-banner div:last-child | |||
{ | |||
margin-right: 5%; | |||
} */ | |||
@media only screen and (max-width: 850px) { | |||
.left-banner | |||
{ | |||
width: 55%; | |||
} | } | ||
.right-banner | |||
{ | |||
width: 40%; | |||
} | } | ||
} | |||
@media only screen and (max-width: 700px) { | |||
.banner | |||
{ | |||
flex-direction: column; | |||
} | } | ||
.left-banner, .right-banner | |||
. | { | ||
width: ; | |||
} | } | ||
.right-banner div | |||
{ | |||
margin: 0px; | |||
} | } | ||
} | |||
}} | |||
} | |||
Revision as of 11:46, 19 June 2025