muse-inquietanti/main.css
2015-04-30 21:55:50 +02:00

160 lines
2.4 KiB
CSS

@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,700);
body {
font-family: "PT Serif", serif;
font-size: 1.1em;
color: #555;
background: #777;
}
h1 {
text-transform: uppercase;
text-align: center;
}
h1, h2{
color: #454545;
margin: 1.2em 0em;
}
#container > p,
#container > div { margin: 3em }
a {
transition: color .2s ease
}
a:link, a:visited {
color: #fff;
text-decoration: none
}
a:hover {
color: #aaa;
text-decoration: underline;
}
figure {
width: 30em;
margin-left: auto;
margin-right: auto;
margin-bottom: 3em;
}
figcaption {
float: right;
font-style: italic;
font-size: .8em;
margin-top: .5em;
}
img {
width: 100%;
border: 6px solid #dfdfdf;
border-radius: 5px;
}
blockquote {
quotes: "\201C""\201D";
background: #f9f9f9;
border-left: .3em solid #ccc;
padding: .3em 1em;
width: 32em;
margin-left: auto;
margin-right: auto;
}
blockquote:before {
color: #ccc;
content: open-quote;
font-size: 4em;
line-height: 0.1em;
margin-right: 0.25em;
vertical-align: -0.4em;
}
blockquote p {
display: inline;
}
.source {
color: #777;
font-style: italic;
font-size: .9em;
text-align: right;
}
td > img {
border: none;
width: 5em;
}
table {
padding: 0;
width: 35em;
}
table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
background-color: #f8f8f8;
}
table tr th {
font-weight: bold;
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px;
}
table tr td {
border: 1px solid #cccccc;
text-align: left;
margin: 0;
padding: 6px 13px
}
table tr th :first-child, table tr td :first-child {
margin-top: 0;
}
table tr th :last-child, table tr td :last-child {
margin-bottom: 0;
}
#container {
width: 40em;
margin: 2em;
margin-left: auto;
margin-right: auto;
background: #fff;
padding: 3.5em;
border-radius: 3px;
box-shadow: 0 4px 5px 0 #555;
text-align: justify;
-webkit-hyphens: auto;
}
#confronto { display: table }
#confronto img { width: 15em }
#confronto figure{
display: table-cell;
padding-left: 1em;
}
footer {
text-align: center;
margin: auto;
margin-top: 2em;
margin-bottom: 2em;
padding: .5em;
width: 25em;
border-top: 2px solid #fff;
font-size: .9em;
}