Difference between revisions of "User:Felix/Test.css"
Jump to navigation
Jump to search
imported>Felix |
imported>Felix |
||
| Line 1: | Line 1: | ||
.outer { | .outer { | ||
| − | + | border: 2px solid #102f45; | |
| − | + | border-radius: 10px; | |
| − | + | background-color: #eff9ff; | |
| − | + | padding: 0px; | |
| − | + | width: 100%; | |
| − | min-width: 260px; | + | min-width: 260px; |
| − | max-width: 1080px; | + | max-width: 1080px; |
| − | display: flex; | + | display: flex; |
| − | flex-flow: row wrap; | + | flex-flow: row wrap; |
| − | + | } | |
| − | + | .data { | |
| − | + | padding: .5em; | |
| − | + | } | |
| − | + | #left { | |
width: 260px; | width: 260px; | ||
border-right: 1px dotted #102f45; | border-right: 1px dotted #102f45; | ||
| − | flex: 0 1 260px; | + | flex: 0 1 260px; |
| − | + | } | |
#right { | #right { | ||
| − | flex: 1; | + | flex: 1; |
| − | min-width: 260px; | + | min-width: 260px; |
| − | + | } | |
| − | + | .header { | |
| − | + | border-top: 1px solid #102f45; | |
| − | + | border-bottom: 1px dotted #102f45; | |
| − | + | padding: 5px 0; | |
| − | + | background-color: #C3D2E7; | |
display: block; | display: block; | ||
width: 100%; | width: 100%; | ||
text-align: center; | text-align: center; | ||
| − | font-weight: bold; | + | font-weight: bold; |
| − | + | } | |
#header { | #header { | ||
| − | + | align-content: center; | |
| − | + | align-items: center; | |
| − | + | background-color: #102f45; | |
| − | + | border: 2px solid #461a00; | |
| − | + | border-radius: 6px 6px 0 0; | |
| − | + | color: #c3d2e7; | |
| − | + | display: flex; | |
| − | + | flex: 2 1 100%; | |
| − | + | flex-flow: row wrap; | |
| − | + | font-size: 2.5em; | |
| − | + | font-weight: bold; | |
| − | + | justify-content: center; | |
| − | + | line-height: 2em; | |
| − | + | text-align: center; | |
| − | + | text-shadow: 1px 1px 3px #461a00, -1px -1px 3px #461a00, -1px 1px 3px #461a00, 1px -1px 3px #461a00; | |
} | } | ||
#contents { | #contents { | ||
| − | + | color: #102f45; | |
| − | + | background-color: #c3d2e7; | |
| − | + | padding: 5px; | |
| − | + | text-align: center; | |
} | } | ||
#contents ul { | #contents ul { | ||
| − | + | margin: 0; | |
} | } | ||
#contents li { | #contents li { | ||
| − | + | display: inline-block; | |
} | } | ||
#contents li::before{ | #contents li::before{ | ||
| − | + | content: ""; | |
| − | + | width: 2em; | |
| − | + | display: inline-block; | |
} | } | ||
| − | #contents li:first-of-type::before{ | + | #contents li:first-of-type::before, .hide { |
| − | + | display: none; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
#Quotes+div { | #Quotes+div { | ||
| − | text-align: justify; | + | text-align: justify; |
| − | padding: .5em 1em; | + | padding: .5em 1em; |
} | } | ||
#Playlist+div { | #Playlist+div { | ||
| − | + | overflow: hidden; | |
} | } | ||
#Playlist+div ul { | #Playlist+div ul { | ||
| − | display: flex; | + | display: flex; |
| − | flex-flow: row wrap; | + | flex-flow: row wrap; |
| − | margin-left: -5px; | + | margin-left: -5px; |
| − | font-size: 90%; | + | font-size: 90%; |
| − | list-style: none; | + | list-style: none; |
} | } | ||
#Playlist+div li { | #Playlist+div li { | ||
| − | flex: 1 0 190px; | + | flex: 1 0 190px; |
| − | white-space: nowrap; | + | white-space: nowrap; |
| − | margin-left: 10px; | + | margin-left: 10px; |
} | } | ||
#Playlist+div li::before { | #Playlist+div li::before { | ||
| − | + | content: "■ "; | |
| − | color: #461a00; | + | color: #461a00; |
} | } | ||
.attr { | .attr { | ||
| − | width:100%; | + | width:100%; |
| − | text-align: right; | + | text-align: right; |
| − | display: block; | + | display: block; |
| − | font-style: italic; | + | font-style: italic; |
} | } | ||
#mainimg, #altimg { | #mainimg, #altimg { | ||
| − | + | text-align: center; | |
| − | + | padding: 5px; | |
| − | + | border-top: 1px solid #102f45; | |
} | } | ||
#altimg, #also { | #altimg, #also { | ||
| − | margin-bottom: -2px; | + | margin-bottom: -2px; |
} | } | ||
#mainimg img, #altimg img { | #mainimg img, #altimg img { | ||
| − | + | border: 1px solid #461a00; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
tr { | tr { | ||
| − | vertical-align: top; | + | vertical-align: top; |
} | } | ||
.lastrow td { | .lastrow td { | ||
| − | border-bottom: 1px dotted #102f45 | + | border-bottom: 1px dotted #102f45; |
| − | |||
| − | |||
| − | |||
} | } | ||
a { | a { | ||
| − | color: #461a00 !important; | + | color: #461a00 !important; |
} | } | ||
.dot5 { | .dot5 { | ||
| − | margin-left: 1em; | + | margin-left: 1em; |
} | } | ||
.dot5 img { | .dot5 img { | ||
| − | vertical-align: unset; | + | vertical-align: unset; |
} | } | ||
.wrapper { | .wrapper { | ||
| − | + | position: relative; | |
| − | + | cursor: help; | |
} | } | ||
| − | |||
.wrapper .tooltip { | .wrapper .tooltip { | ||
| − | + | visibility: hidden; | |
| − | + | white-space:nowrap; | |
| − | + | background-color: #C3D2E7; | |
| − | + | color: #461a00; | |
| − | + | border:2px #461a00 solid; | |
| − | + | text-align: center; | |
| − | + | border-radius: 6px; | |
| − | + | padding: 5px 1em; | |
| − | + | position: absolute; | |
| − | + | z-index: 1; | |
| − | + | top: -7px; | |
| − | + | left: 115%; | |
} | } | ||
.wrapper .tooltip.wrap { | .wrapper .tooltip.wrap { | ||
| − | + | white-space:normal; | |
| − | + | width:20em; | |
} | } | ||
.wrapper .tooltip::after { | .wrapper .tooltip::after { | ||
| − | + | content: ""; | |
| − | + | position: absolute; | |
| − | + | top: 50%; | |
| − | + | right: 100%; | |
| − | + | margin-top: -8px; | |
| − | + | border-width: 8px; | |
| − | + | border-style: solid; | |
| − | + | border-color: transparent #461a00 transparent transparent; | |
} | } | ||
.wrapper .tooltip.wrap::after { | .wrapper .tooltip.wrap::after { | ||
| − | + | top: 1.25em; | |
} | } | ||
.wrapper:hover .tooltip { | .wrapper:hover .tooltip { | ||
| − | + | visibility: visible; | |
} | } | ||
#Gallery+div ul { | #Gallery+div ul { | ||
| − | + | display: flex; | |
| − | + | flex-flow: row wrap; | |
| − | + | justify-content: space-around; | |
| − | + | list-style: none; | |
| − | + | margin: 5px; | |
| − | + | position: relative; | |
| − | + | align-items: center; | |
} | } | ||
#Gallery+div li { | #Gallery+div li { | ||
| − | + | background-color: rgba(195,210,231,0.33); | |
| − | + | border: 1px solid #461a00; | |
| − | + | flex: 1 0 auto; | |
| − | + | max-width: 22%; | |
| − | + | margin: 5px; | |
} | } | ||
| − | |||
#Gallery+div li:hover { | #Gallery+div li:hover { | ||
| − | + | transform:scale(2,2); | |
| − | + | background-color: rgba(195,210,231,1); | |
} | } | ||
#Gallery+div li.edge:hover { | #Gallery+div li.edge:hover { | ||
| − | + | transform-origin: 75% 50% 0; | |
| − | |||
} | } | ||
#Gallery+div a { | #Gallery+div a { | ||
| − | + | display: flex; | |
} | } | ||
#Gallery+div li img { | #Gallery+div li img { | ||
| − | + | width: 92%; | |
| − | + | height: auto; | |
| − | + | margin: 5px; | |
| − | + | border: 1px dotted #461a00; | |
} | } | ||
.caption { | .caption { | ||
| − | + | font-size: 75%; | |
| − | + | line-height: 1.25em; | |
| − | + | margin: 0 5px 5px; | |
| − | + | font-style: italic; | |
| − | + | color: #461a00; | |
} | } | ||
| − | |||
@media only screen and (max-width: 730px) { | @media only screen and (max-width: 730px) { | ||
| − | + | #left { | |
| − | + | min-width: 100%; | |
| − | + | border-right: 0; | |
| − | + | } | |
} | } | ||
Revision as of 00:04, 14 September 2016
.outer {
border: 2px solid #102f45;
border-radius: 10px;
background-color: #eff9ff;
padding: 0px;
width: 100%;
min-width: 260px;
max-width: 1080px;
display: flex;
flex-flow: row wrap;
}
.data {
padding: .5em;
}
#left {
width: 260px;
border-right: 1px dotted #102f45;
flex: 0 1 260px;
}
#right {
flex: 1;
min-width: 260px;
}
.header {
border-top: 1px solid #102f45;
border-bottom: 1px dotted #102f45;
padding: 5px 0;
background-color: #C3D2E7;
display: block;
width: 100%;
text-align: center;
font-weight: bold;
}
#header {
align-content: center;
align-items: center;
background-color: #102f45;
border: 2px solid #461a00;
border-radius: 6px 6px 0 0;
color: #c3d2e7;
display: flex;
flex: 2 1 100%;
flex-flow: row wrap;
font-size: 2.5em;
font-weight: bold;
justify-content: center;
line-height: 2em;
text-align: center;
text-shadow: 1px 1px 3px #461a00, -1px -1px 3px #461a00, -1px 1px 3px #461a00, 1px -1px 3px #461a00;
}
#contents {
color: #102f45;
background-color: #c3d2e7;
padding: 5px;
text-align: center;
}
#contents ul {
margin: 0;
}
#contents li {
display: inline-block;
}
#contents li::before{
content: "";
width: 2em;
display: inline-block;
}
#contents li:first-of-type::before, .hide {
display: none;
}
#Quotes+div {
text-align: justify;
padding: .5em 1em;
}
#Playlist+div {
overflow: hidden;
}
#Playlist+div ul {
display: flex;
flex-flow: row wrap;
margin-left: -5px;
font-size: 90%;
list-style: none;
}
#Playlist+div li {
flex: 1 0 190px;
white-space: nowrap;
margin-left: 10px;
}
#Playlist+div li::before {
content: "■ ";
color: #461a00;
}
.attr {
width:100%;
text-align: right;
display: block;
font-style: italic;
}
#mainimg, #altimg {
text-align: center;
padding: 5px;
border-top: 1px solid #102f45;
}
#altimg, #also {
margin-bottom: -2px;
}
#mainimg img, #altimg img {
border: 1px solid #461a00;
}
tr {
vertical-align: top;
}
.lastrow td {
border-bottom: 1px dotted #102f45;
}
a {
color: #461a00 !important;
}
.dot5 {
margin-left: 1em;
}
.dot5 img {
vertical-align: unset;
}
.wrapper {
position: relative;
cursor: help;
}
.wrapper .tooltip {
visibility: hidden;
white-space:nowrap;
background-color: #C3D2E7;
color: #461a00;
border:2px #461a00 solid;
text-align: center;
border-radius: 6px;
padding: 5px 1em;
position: absolute;
z-index: 1;
top: -7px;
left: 115%;
}
.wrapper .tooltip.wrap {
white-space:normal;
width:20em;
}
.wrapper .tooltip::after {
content: "";
position: absolute;
top: 50%;
right: 100%;
margin-top: -8px;
border-width: 8px;
border-style: solid;
border-color: transparent #461a00 transparent transparent;
}
.wrapper .tooltip.wrap::after {
top: 1.25em;
}
.wrapper:hover .tooltip {
visibility: visible;
}
#Gallery+div ul {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
list-style: none;
margin: 5px;
position: relative;
align-items: center;
}
#Gallery+div li {
background-color: rgba(195,210,231,0.33);
border: 1px solid #461a00;
flex: 1 0 auto;
max-width: 22%;
margin: 5px;
}
#Gallery+div li:hover {
transform:scale(2,2);
background-color: rgba(195,210,231,1);
}
#Gallery+div li.edge:hover {
transform-origin: 75% 50% 0;
}
#Gallery+div a {
display: flex;
}
#Gallery+div li img {
width: 92%;
height: auto;
margin: 5px;
border: 1px dotted #461a00;
}
.caption {
font-size: 75%;
line-height: 1.25em;
margin: 0 5px 5px;
font-style: italic;
color: #461a00;
}
@media only screen and (max-width: 730px) {
#left {
min-width: 100%;
border-right: 0;
}
}