0
0
mirror of https://github.com/lipis/flag-icons.git synced 2024-11-22 11:27:29 +01:00
flags/assets/docs.css

37 lines
570 B
CSS
Raw Normal View History

2013-09-25 22:00:00 +02:00
.flag-wrapper {
width: 100%;
display: inline-block;
position: relative;
box-shadow: 0 0 2px black;
overflow: hidden;
margin-bottom: 20px;
}
.flag-wrapper:after {
2013-09-25 22:18:01 +02:00
padding-top: 75%; /* ratio */
2013-09-25 22:00:00 +02:00
display: block;
content: '';
}
.flag-wrapper .flag {
position: absolute;
top: 0; bottom: 0; right: 0; left: 0;
width: 100%;
height: 100%;
background-size: cover;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 300;
}
2013-09-27 00:40:54 +02:00
.no-wrap {
2013-09-25 22:00:00 +02:00
white-space: nowrap;
margin-bottom: 8px;
overflow: hidden;
}
2015-08-31 03:07:13 +02:00
.all-flags .flag-icon-background {
cursor: pointer;
}