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

58 lines
841 B
CSS
Raw Normal View History

2021-10-22 22:26:29 +02:00
.header {
margin: 0 0 48px;
padding: 32px 0;
text-align: center;
background: linear-gradient(90deg, #2b8a3e, #e8590c);
color: #fff;
2021-10-22 22:56:37 +02:00
font-size: 1.1em;
2013-09-25 22:00:00 +02:00
}
2021-10-22 22:26:29 +02:00
2021-10-22 22:53:27 +02:00
.header .btn {
margin: 0 4px;
}
2021-12-20 14:54:20 +01:00
.header pre {
background-color: rgba(32, 32, 32, 0.3);
2021-10-23 09:09:43 +02:00
padding: 8px;
max-width: 320px;
margin: 12px auto;
2021-10-25 20:55:21 +02:00
border-radius: 4px;
2021-10-23 09:09:43 +02:00
}
2021-10-22 22:53:27 +02:00
2021-10-23 11:43:30 +02:00
h2 {
text-align: center;
margin: 32px 0;
}
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;
2021-10-22 22:26:29 +02:00
text-overflow: ellipsis;
2013-09-25 22:00:00 +02:00
}
2021-10-22 22:26:29 +02:00
.flag {
2021-10-25 20:55:21 +02:00
border-radius: 4px;
2021-10-22 22:26:29 +02:00
border: 1px solid #dee2e6;
margin-bottom: 32px;
padding: 8px;
2015-12-23 23:45:33 +01:00
}
2021-10-22 22:26:29 +02:00
.flag-country {
width: 100%;
border-bottom: 1px solid #e9ecef;
2015-12-23 23:45:33 +01:00
}
2021-10-22 22:26:29 +02:00
.flag-img {
width: 100%;
2021-10-23 10:51:27 +02:00
aspect-ratio: 4 / 3;
2021-10-23 16:37:08 +02:00
border: 1px solid #e9ecef;
2021-10-25 20:55:21 +02:00
border-radius: 2px;
overflow: hidden;
2015-12-23 23:45:33 +01:00
}
2021-10-22 22:26:29 +02:00
.flag-code {
2021-12-20 14:54:20 +01:00
color: #343a40;
font-weight: 600;
2015-12-23 23:45:33 +01:00
}