fixed css
This commit is contained in:
@ -160,6 +160,24 @@ pre {
|
||||
overflow-x: auto; /* add scrollbars to wide code blocks*/
|
||||
}
|
||||
|
||||
p > code,
|
||||
a > code,
|
||||
li > code,
|
||||
figcaption > code,
|
||||
td > code {
|
||||
padding-top: 0.1rem;
|
||||
padding-bottom: 0.1rem;
|
||||
font-size: 0.8em;
|
||||
background: $code-background-color;
|
||||
border-radius: $border-radius;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
letter-spacing: -0.2em;
|
||||
content: "\00a0"; /* non-breaking space*/
|
||||
}
|
||||
}
|
||||
|
||||
/* horizontal rule */
|
||||
|
||||
hr {
|
||||
@ -208,6 +226,13 @@ figure {
|
||||
border-radius: $border-radius;
|
||||
-webkit-transition: $global-transition;
|
||||
transition: $global-transition;
|
||||
:hover {
|
||||
width: 120%;
|
||||
}
|
||||
}
|
||||
|
||||
> p {
|
||||
align-content: middle;
|
||||
}
|
||||
|
||||
> a {
|
||||
@ -228,10 +253,27 @@ figure {
|
||||
}
|
||||
|
||||
&.third {
|
||||
> p,
|
||||
// > a,
|
||||
> img {
|
||||
width: calc(33.3333% - 0.5em);
|
||||
@include breakpoint($small) {
|
||||
width: calc(28.0% - 0.5em);
|
||||
}
|
||||
}
|
||||
|
||||
figcaption {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.fourth {
|
||||
> p,
|
||||
> a,
|
||||
> img {
|
||||
|
||||
@include breakpoint($small) {
|
||||
width: calc(33.3333% - 0.5em);
|
||||
width: calc(15% - 0.5em);
|
||||
}
|
||||
}
|
||||
|
||||
@ -239,6 +281,44 @@ figure {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&.research_icons {
|
||||
> p,
|
||||
> a {
|
||||
|
||||
font-size: 0%;
|
||||
|
||||
@include breakpoint($small) {
|
||||
font-size: 0%;
|
||||
}
|
||||
|
||||
@include breakpoint($medium) {
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
@include breakpoint($medium-wide) {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
@include breakpoint($large) {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
&.research_icons {
|
||||
> p,
|
||||
> a,
|
||||
> img {
|
||||
|
||||
width: calc(15% - 0.5em);
|
||||
}
|
||||
|
||||
figcaption {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Figure captions */
|
||||
@ -333,7 +413,8 @@ form button,
|
||||
input[type="submit"],
|
||||
.btn,
|
||||
.highlight,
|
||||
.archive__item-teaser {
|
||||
.archive__item-teaser,
|
||||
.archive__item-teaser-list {
|
||||
-webkit-transition: $global-transition;
|
||||
transition: $global-transition;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user