compudanzas/templates/estilo.css

133 lines
2.0 KiB
CSS
Raw Normal View History

2022-04-15 01:58:56 +00:00
/* colors by https://www.colourlovers.com/palette/1078634/Sentences */
2022-03-27 23:55:43 +00:00
/* links externos */
2022-04-13 22:49:28 +00:00
a[rel^=external]:after{ content: "⭷"; }
2022-04-22 17:43:59 +00:00
main h1:before{
content: "#";
font-size: smaller;
padding-right:1em;
}
main h2:before{
content: "##";
font-size: smaller;
padding-right:1em;
}
main h3:before{
content: "###";
font-size: smaller;
padding-right:1em;
}
2022-03-27 23:55:43 +00:00
a{
2022-04-15 01:58:56 +00:00
color: #C04E43;
2022-03-27 23:55:43 +00:00
}
a:visited{
2022-04-15 01:58:56 +00:00
color: #872645;
2022-03-27 23:55:43 +00:00
}
a.icon{
2022-04-15 01:58:56 +00:00
/* background-color: #fff; */
2022-03-27 23:55:43 +00:00
}
2022-04-15 01:58:56 +00:00
2022-03-27 23:55:43 +00:00
a.arrow:before{ content: "⇒ "; }
body{
2022-04-15 01:58:56 +00:00
color: #563850;
2022-03-27 23:55:43 +00:00
max-width:36em;
margin:0 auto;
font-size:18px;
2022-04-15 02:20:24 +00:00
padding: 0 1em;
2022-03-27 23:55:43 +00:00
font-family:sans-serif;
}
2022-04-15 02:12:18 +00:00
#header-icon { float:left; padding: 0.5em 1em 0 0em }
2022-03-27 23:55:43 +00:00
footer{
font-size: x-small;
padding-top:2em;
}
footer img{
margin:0;
}
2022-04-15 01:58:56 +00:00
hr{ color: #872645 }
2022-03-27 23:55:43 +00:00
pre{
2022-04-15 01:58:56 +00:00
background-color: #F4F6CF;
color: #872645;
2022-03-27 23:55:43 +00:00
padding:1em;
overflow-x: auto;
}
blockquote{
font-style: italic;
}
main h1{
2022-04-22 17:43:59 +00:00
margin-top: 2em;
2022-03-27 23:55:43 +00:00
font-size: xx-large;
}
main h2{
font-size: x-large;
margin-left:0.3em;
}
main h3{
font-size: larger;
2022-04-22 17:43:59 +00:00
margin-left:0.6em;
2022-03-27 23:55:43 +00:00
}
gallery{
display:flex;
flex-direction:row;
flex-wrap:wrap;
justify-content:space-evenly;
align-content:center;
}
img{
margin:10px;
border-radius:5px;
max-width: 320px;
}
2022-04-15 01:37:10 +00:00
nav { float: none }
2022-04-15 01:04:18 +00:00
nav, #incoming{ font-size:smaller; }
nav li, #incoming li{ padding:0.2em; }
main li, #incoming li{ padding:0.5em; }
2022-04-15 02:12:18 +00:00
#incoming h1 { font-size: x-large }
2022-03-27 23:55:43 +00:00
table {
font-size: smaller;
max-width: 90%;
border-collapse: collapse;
margin: 1em auto;
text-align:left;
}
table th {
border-bottom: 1px solid black;
padding: 0.1em 1em;
}
table td {
padding: 0.1em 1em;
}
td.num{
text-align:right;
}
#translation{
font-size: smaller;
font-style: italic;
2022-04-15 01:37:10 +00:00
margin-left: 2em;
}
#incoming{
font-size: smaller;
}
2022-03-27 23:55:43 +00:00
/* desktop */
@media screen and (min-width: 600px) {
2022-04-15 01:37:10 +00:00
nav { float: right; width:30% }
nav ul { margin-top:0; padding-left: 3em }
#incoming li{
display:inline;
padding: 0.5em 1em 0.5em 0;
2022-03-27 23:55:43 +00:00
}
2022-04-15 01:37:10 +00:00
nav, #incoming{ font-size:0.7em; }
2022-03-27 23:55:43 +00:00
img{ max-width: 100%; }
}