mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 03:03:09 +00:00
theme: remove CSS vendor prefixes #175
according to latest caniuse data
This commit is contained in:
parent
5e06e2e21a
commit
46328c3bc0
2 changed files with 21 additions and 40 deletions
|
@ -6,44 +6,38 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#body .tags a.tag-link {
|
#body .tags a.tag-link {
|
||||||
display: inline-block;
|
|
||||||
line-height: 2em;
|
|
||||||
font-size: 0.8em;
|
|
||||||
position: relative;
|
|
||||||
margin: 0 16px 8px 0;
|
|
||||||
padding: 0 10px 0 12px;
|
|
||||||
background: #7dc903; /* var(--MENU-HEADER-BG-color) */
|
background: #7dc903; /* var(--MENU-HEADER-BG-color) */
|
||||||
|
|
||||||
-webkit-border-bottom-right-radius: 3px;
|
|
||||||
border-bottom-right-radius: 3px;
|
border-bottom-right-radius: 3px;
|
||||||
-webkit-border-top-right-radius: 3px;
|
|
||||||
border-top-right-radius: 3px;
|
border-top-right-radius: 3px;
|
||||||
|
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
|
||||||
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
|
||||||
color: #ffffff; /* var(--MAIN-BG-color) */
|
color: #ffffff; /* var(--MAIN-BG-color) */
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 0.8em;
|
||||||
|
line-height: 2em;
|
||||||
|
margin: 0 16px 8px 0;
|
||||||
|
padding: 0 10px 0 12px;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
#body .tags a.tag-link:before {
|
#body .tags a.tag-link:before {
|
||||||
content: "";
|
|
||||||
position: absolute;
|
|
||||||
top:0;
|
|
||||||
left: -.99em;
|
|
||||||
width: 0;
|
|
||||||
height: 0;
|
|
||||||
border-color: transparent #7dc903 transparent transparent; /* var(--MENU-HEADER-BG-color) */
|
border-color: transparent #7dc903 transparent transparent; /* var(--MENU-HEADER-BG-color) */
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1em 1em 1em 0;
|
border-width: 1em 1em 1em 0;
|
||||||
|
content: "";
|
||||||
|
left: -.99em;
|
||||||
|
height: 0;
|
||||||
|
position: absolute;
|
||||||
|
top:0;
|
||||||
|
width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#body .tags a.tag-link:after {
|
#body .tags a.tag-link:after {
|
||||||
|
background: #ffffff; /* var(--MAIN-BG-color) */
|
||||||
|
border-radius: 100%;
|
||||||
content: "";
|
content: "";
|
||||||
|
left: 1px;
|
||||||
|
height: 5px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
left: 1px;
|
|
||||||
width: 5px;
|
width: 5px;
|
||||||
height: 5px;
|
|
||||||
-webkit-border-radius: 50%;
|
|
||||||
border-radius: 100%;
|
|
||||||
background: #ffffff; /* var(--MAIN-BG-color) */
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,8 +83,6 @@ th {
|
||||||
}
|
}
|
||||||
|
|
||||||
.default-animation{
|
.default-animation{
|
||||||
-webkit-transition: all 0.5s ease;
|
|
||||||
-moz-transition: all 0.5s ease;
|
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -935,7 +933,6 @@ td {
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
height: 0;
|
height: 0;
|
||||||
min-height: 3rem;
|
min-height: 3rem;
|
||||||
position: -webkit-sticky;
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
|
@ -961,10 +958,6 @@ td {
|
||||||
#body #breadcrumbs {
|
#body #breadcrumbs {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
-webkit-transform: translateY(-50%);
|
|
||||||
-moz-transform: translateY(-50%);
|
|
||||||
-o-transform: translateY(-50%);
|
|
||||||
-ms-transform: translateY(-50%);
|
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1232,9 +1225,6 @@ option {
|
||||||
display: block;
|
display: block;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
width: 0%;
|
width: 0%;
|
||||||
-webkit-transition: width 0.5s ease;
|
|
||||||
-moz-transition: width 0.5s ease;
|
|
||||||
-ms-transition: width 0.5s ease;
|
|
||||||
transition: width 0.5s ease;
|
transition: width 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1305,15 +1295,11 @@ option {
|
||||||
padding: 6px 12px !important;
|
padding: 6px 12px !important;
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
text-align: center !important;
|
text-align: center !important;
|
||||||
-ms-touch-action: manipulation !important;
|
touch-action: manipulation !important;
|
||||||
touch-action: manipulation !important;
|
transition: all 0.15s !important;
|
||||||
-webkit-transition: all 0.15s !important;
|
-ms-user-select: none !important;
|
||||||
-moz-transition: all 0.15s !important;
|
|
||||||
transition: all 0.15s !important;
|
|
||||||
-webkit-user-select: none !important;
|
-webkit-user-select: none !important;
|
||||||
-moz-user-select: none !important;
|
user-select: none !important;
|
||||||
-ms-user-select: none !important;
|
|
||||||
user-select: none !important;
|
|
||||||
vertical-align: middle !important;
|
vertical-align: middle !important;
|
||||||
white-space: nowrap !important;
|
white-space: nowrap !important;
|
||||||
}
|
}
|
||||||
|
@ -1445,6 +1431,7 @@ h6 a {
|
||||||
|
|
||||||
.select-style select {
|
.select-style select {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
|
appearance: none;
|
||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
Loading…
Reference in a new issue