mirror of
https://github.com/lipis/flag-icons.git
synced 2024-11-29 01:42:13 +01:00
163 lines
2.5 KiB
Plaintext
163 lines
2.5 KiB
Plaintext
@color-from: #0d6632;
|
|
@color-to: #f4c01a;
|
|
|
|
body {
|
|
font-weight: 300;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 300;
|
|
}
|
|
|
|
.flag-wrapper {
|
|
width: 100%;
|
|
display: inline-block;
|
|
position: relative;
|
|
box-shadow: 0 0 2px black;
|
|
overflow: hidden;
|
|
margin-bottom: 20px;
|
|
|
|
&:after {
|
|
padding-top: 75%; /* ratio */
|
|
display: block;
|
|
content: '';
|
|
}
|
|
|
|
.flag {
|
|
position: absolute;
|
|
top: 0; bottom: 0; right: 0; left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-size: cover;
|
|
}
|
|
}
|
|
|
|
.no-wrap {
|
|
white-space: nowrap;
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.all-flags .flag-icon-background {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.jumbotron {
|
|
position: relative;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
color: rgba(255,255,255,.75);
|
|
text-align: center;
|
|
border-radius: 0;
|
|
padding-bottom: 80px;
|
|
background: linear-gradient(to right, @color-from, @color-to);
|
|
h1 {
|
|
margin-bottom: 15px;
|
|
font-weight: 300;
|
|
letter-spacing: -1px;
|
|
color: #fff;
|
|
}
|
|
iframe {
|
|
width: 100px!important;
|
|
height: 20px!important;
|
|
border: none;
|
|
overflow: hidden;
|
|
margin: 2px;
|
|
}
|
|
|
|
p
|
|
a,
|
|
.jumbotron-links a {
|
|
font-weight: 500;
|
|
color: #fff;
|
|
}
|
|
|
|
.jumbotron-links {
|
|
margin-top: 15px;
|
|
margin-bottom: 0;
|
|
padding-left: 0;
|
|
list-style: none;
|
|
font-size: 14px;
|
|
li {
|
|
display: inline;
|
|
}
|
|
li + li {
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
|
|
.bottom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 18px;
|
|
background-color: fade(#000, 20%);
|
|
}
|
|
}
|
|
|
|
.btn-outline {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
padding: 18px 24px;
|
|
font-size: inherit;
|
|
font-weight: 500;
|
|
color: #fff; /* redeclare to override the `.jumbotron a` */
|
|
background-color: transparent;
|
|
border-color: #fff;
|
|
border-color: rgba(255,255,255,.5);
|
|
transition: all .1s ease-in-out;
|
|
&:hover,
|
|
&:active {
|
|
color: @color-from;
|
|
background-color: #fff;
|
|
border-color: #fff;
|
|
}
|
|
}
|
|
|
|
.how-to {
|
|
padding: 20px;
|
|
h2 {
|
|
text-align: center;
|
|
}
|
|
li {
|
|
font-size: 21px;
|
|
line-height: 1.7;
|
|
margin-top: 20px;
|
|
p {
|
|
font-size: 16px;
|
|
color: #555;
|
|
}
|
|
}
|
|
code {
|
|
font-size: 85%;
|
|
word-wrap: break-word;
|
|
white-space: normal;
|
|
}
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
opacity: .8;
|
|
padding: 50px;
|
|
background: linear-gradient(to right, @color-to, @color-from);
|
|
|
|
a {
|
|
color: #fff;
|
|
&:hover {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
.links {
|
|
margin: 0;
|
|
list-style: none;
|
|
padding-left: 0;
|
|
li {
|
|
display: inline;
|
|
padding: 0 10px;
|
|
}
|
|
}
|