VPE @ Aerolab
@Blunk sbehrends
#cssconfar
window.foreground = black
font.family = times
font.size = 12pt # alternative units are px, mm, cm
font.slant = normal
font.weight = normal
h1.font.size = font.size * 3
h2.font.size = font.size * 2.5
h3.font.size = font.size * 2
Håkon W Lie
h1 {
}
h1 {
color: #503EEF;
text-transform: uppercase;
}
h1 {
color: #503EEF;
text-transform: uppercase;
}
#nav ul li {
float: left;
}
.dontUPPER {
text-transform: none !important;
}
.red {
color: red;
}
header li.red.otherRed {
color: #CD1203;
}
.hide {
display: none !important;
}
.no-padding {
padding: 0 !important;
}
Browsers
Resolutions
.btn {
/* Mobile */
...
@media screen and (min-width: 320px) {
/* Tablet */
...
}
@media screen and (min-width: 768px) {
/* Desktop */
...
}
}
.btn {
}
@import "vars";
@import "btn";
$purple: #503EEF;
$btn-size: 40px;
.btn {
font-size: $btn-size/2;
border-radius: $btn-size;
line-height: $btn-size;
&.btn-purple {
border: 3px solid $purple;
color: $purple;
}
}
├── fonts
│ └── ...
├── images
│ └── ...
└── styles
├── base
│ ├── _base.scss
│ ├── _fonts.scss
│ ├── _text.scss
│ └── _vars.scss
├── layout
│ ├── _footer.scss
│ ├── _header.scss
│ └── ...
├── styles.scss
├── modules
│ ├── _btn.scss
│ └── ...
└── util
└── mixins.scss
header.main-header nav > ul > li > ul > li a {
text-decoration: none;
}
London is a treasure trove of brilliant activities and days out worth boasting about. We're completely spoilt for choice with things to do in London, whether you live and work in the capital or you’re planning a holiday, there's loads of ways to fill a free day with fun.
London is a treasure trove of brilliant activities and days out worth boasting about. We're completely spoilt for choice with things to do in London, whether you live and work in the capital or you’re planning a holiday, there's loads of ways to fill a free day with fun.
Notre Dame and the Eiffel Tower have been described countless times, as have the Seine and the subtle (and not-so-subtle) differences between the Left and Right Banks.
London is a treasure trove of brilliant activities and days out worth boasting about. We're completely spoilt for choice with things to do in London, whether you live and work in the capital or you’re planning a holiday, there's loads of ways to fill a free day with fun.
London is a treasure trove of brilliant activities and days out worth boasting about. We're completely spoilt for choice with things to do in London, whether you live and work in the capital or you’re planning a holiday, there's loads of ways to fill a free day with fun.
/* _card.scss */
.card {
...
img {
...
}
h3 {
...
}
.content {
...
}
}
/* _related.scss */
.related {
.card {
...
}
}
London is a treasure trove of brilliant activities and days out worth boasting about. We're completely spoilt for choice with things to do in London, whether you live and work in the capital or you’re planning a holiday, there's loads of ways to fill a free day with fun.
London is a treasure trove of brilliant activities and days out worth boasting about. We're completely spoilt for choice with things to do in London, whether you live and work in the capital or you’re planning a holiday, there's loads of ways to fill a free day with fun.
/* _card.scss */
.card {
...
.related & {
...
}
}
.card-image {
...
}
.card-title {
...
}
.card-content {
...
}
.animation {
/* Little hack for better rendering */
transform: translateZ(0);
}
/* Fixes strange issue with image sizing in IE */
_:-ms-fullscreen, :root .content image {
min-height: 100%;
}
@Blunk sbehrends