Explorar el Código

Justify+hyphenate only on browsers that support hyphenation

full-screen-logo-homepage
Said Achmiz hace 5 años
padre
commit
4272c43c2e
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. 8
    2
      assets/css/main.css

+ 8
- 2
assets/css/main.css Ver fichero

@@ -265,8 +265,6 @@ hr {
/*********/

article {
text-align: justify;
hyphens: auto;
position: relative;
padding: var(--deus-post-padding);
background-color: var(--deus-box-background-color);
@@ -274,6 +272,14 @@ article {
box-shadow: 0 0 0 1px var(--deus-body-background-color);
z-index: 1;
}
@supports (-webkit-hyphens:auto) or (-ms-hyphens:auto) or (hyphens:auto) {
article {
text-align: justify;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
}
article + article {
margin-top: var(--deus-post-spacing);
}

Cargando…
Cancelar
Guardar