mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-22 14:34:37 +01:00
Fix webkit glitches
This commit is contained in:
@@ -117,14 +117,14 @@ h1, h2 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 1rem 0;
|
||||
padding: 1rem 0;
|
||||
justify-content: left;
|
||||
}
|
||||
@media (max-width: 580px) {
|
||||
.top {
|
||||
display: block;
|
||||
width: 90%;
|
||||
margin: 1rem auto 1rem auto;
|
||||
padding: 1rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
@@ -138,6 +138,8 @@ h1, h2 {
|
||||
.pic-wrapper {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
-webkit-clip-path: url(#svg-shape);
|
||||
clip-path: url(#svg-shape);
|
||||
}
|
||||
@media (max-width: 580px) {
|
||||
.pic-wrapper {
|
||||
@@ -145,14 +147,10 @@ h1, h2 {
|
||||
}
|
||||
}
|
||||
.pic-wrapper img.pic {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
-webkit-clip-path: url(#svg-shape);
|
||||
-moz-clip-path: url(#svg-shape);
|
||||
-o-clip-path: url(#svg-shape);
|
||||
-ms-clip-path: url(#svg-shape);
|
||||
clip-path: url(#svg-shape);
|
||||
}
|
||||
|
||||
.container_wrapper {
|
||||
|
||||
@@ -185,12 +185,12 @@ a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 1rem 0;
|
||||
padding: 1rem 0;
|
||||
justify-content: left;
|
||||
@media (max-width: 580px) {
|
||||
display: block;
|
||||
width: 90%;
|
||||
margin: 1rem auto 1rem auto;
|
||||
padding: 1rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
span {
|
||||
@@ -203,18 +203,16 @@ a {
|
||||
.pic-wrapper {
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
-webkit-clip-path: url(#svg-shape);
|
||||
clip-path: url(#svg-shape);
|
||||
@media (max-width: 580px) {
|
||||
flex-basis: 40%;
|
||||
}
|
||||
img.pic {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
-webkit-clip-path: url(#svg-shape);
|
||||
-moz-clip-path: url(#svg-shape);
|
||||
-o-clip-path: url(#svg-shape);
|
||||
-ms-clip-path: url(#svg-shape);
|
||||
clip-path: url(#svg-shape);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -63,5 +63,5 @@
|
||||
{{end}}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/njump/static/styles.css?v=20230601b" />
|
||||
<link rel="stylesheet" href="/njump/static/styles.css?v=20230602" />
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user