mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +00:00
fix: fallback for browsers which doesn't support for calc()
See #13 release 2.6.4
This commit is contained in:
parent
22515fb8c0
commit
758f15746a
6 changed files with 8 additions and 5 deletions
|
@ -57,7 +57,7 @@
|
|||
{{- end }}
|
||||
|
||||
<!-- Styles -->
|
||||
<link href="{{ "dist/even.min.css?v=2.6.3" | relURL }}" rel="stylesheet">
|
||||
<link href="{{ "dist/even.min.css?v=2.6.4" | relURL }}" rel="stylesheet">
|
||||
{{ if .Site.Params.bootcdn -}}
|
||||
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }}
|
||||
{{- else if .Site.Params.publicCDN.enable -}}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script>
|
||||
{{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }}
|
||||
{{- end }}
|
||||
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.3" | relURL }}"></script>
|
||||
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.4" | relURL }}"></script>
|
||||
|
||||
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -96,6 +96,9 @@
|
|||
|
||||
span {
|
||||
position: absolute;
|
||||
/* fallback for browsers which still doesn't support for `calc()` */
|
||||
left: 15px;
|
||||
top: 25px;
|
||||
left: calc((100% - 20px) / 2);
|
||||
top: calc((100% - 1px) / 2);
|
||||
width: 20px;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "even-src",
|
||||
"version": "2.6.3",
|
||||
"version": "2.6.4",
|
||||
"description": "even source file",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
2
static/dist/even.min.css
vendored
2
static/dist/even.min.css
vendored
File diff suppressed because one or more lines are too long
2
static/dist/even.min.css.map
vendored
2
static/dist/even.min.css.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue