From f44ba2d6c7480da71801e9f15c702eed3c56bac9 Mon Sep 17 00:00:00 2001 From: AK Delfin Date: Thu, 29 Dec 2022 07:23:18 +0300 Subject: [PATCH] add popander --- blocks/popunder.php | 55 +++++++++++++++++++++++++++++ blocks/top.php | 12 +++++++ footer.php | 37 +++++++++++--------- header.php | 2 +- single.php | 4 +++ style.css | 84 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 177 insertions(+), 17 deletions(-) create mode 100644 blocks/popunder.php create mode 100644 blocks/top.php diff --git a/blocks/popunder.php b/blocks/popunder.php new file mode 100644 index 0000000..5282646 --- /dev/null +++ b/blocks/popunder.php @@ -0,0 +1,55 @@ +
+ + \ No newline at end of file diff --git a/blocks/top.php b/blocks/top.php new file mode 100644 index 0000000..f45ed0c --- /dev/null +++ b/blocks/top.php @@ -0,0 +1,12 @@ + + +
+

Самое читаемое

+ + +
+ + +
+ + \ No newline at end of file diff --git a/footer.php b/footer.php index 770f3eb..db4dbf9 100644 --- a/footer.php +++ b/footer.php @@ -70,17 +70,15 @@ -
- - + +
-
- - + +
@@ -104,8 +102,10 @@ '']);?> 'mob-lite']);?> - '']);?> - 'mob-lite']);?> + '']);?> + 'mob-lite']);?> + + @@ -130,13 +130,15 @@ - 'mob-lite']);?> -
- - - -
+ + + + + + 'mob-lite']);?> + + 'mob-lite']);?> @@ -144,9 +146,12 @@ + + +
- - + +
diff --git a/header.php b/header.php index 49c92f4..7c9475d 100644 --- a/header.php +++ b/header.php @@ -10,7 +10,7 @@ - + diff --git a/single.php b/single.php index 85b3a27..1a827d0 100644 --- a/single.php +++ b/single.php @@ -74,6 +74,8 @@ + +
@@ -95,4 +97,6 @@ + + diff --git a/style.css b/style.css index 790efd9..a8e2a91 100644 --- a/style.css +++ b/style.css @@ -2345,6 +2345,90 @@ span.rub_back_title{ } +#parent_subscript_win { + background-color: rgba(0, 0, 0, 0.8); + display: none; + position: fixed; + z-index: 99999; + top: 0; + right: 0; + bottom: 0; + left: 0; + text-align: center; + white-space: nowrap; +} + +#subscript_win { + width: 90%; + max-width: 640px; + margin: 10% auto; +/* border: 1px solid #ff6900; */ + position: relative; +/* -webkit-box-shadow: 0px 0px 20px #000; */ +/* -moz-box-shadow: 0px 0px 20px #000; */ +/* box-shadow: 0px 0px 20px #000; */ +/* -webkit-border-radius: 15px; */ +/* -moz-border-radius: 15px; */ +/* border-radius: 15px; */ +} + + +#close_win { +background-color: rgba(0, 0, 0, 0.8); +height: 32px; +line-height: 32px; +position: absolute; +top: 0; +right: 0; +cursor: pointer; +font-weight: bold; +text-align: center; +text-decoration: none; +color: rgba(255, 255, 255, 0.9); +font-size: 18px; +text-shadow: 0 -1px rgba(0, 0, 0, 0.9); +width: 32px; +-moz-box-shadow: 1px 1px 3px #000; +-webkit-box-shadow: 1px 1px 3px #000; +box-shadow: 1px 1px 3px #000; +} + + +.fixed-overlay { + position: fixed; + overflow: auto; + left: 0; + top: 0; + width: 100%; + height: 100%; +} + +.fixed-overlay__modal { + text-align: center; + white-space: nowrap; +} + +.fixed-overlay__modal::after { + display: inline-block; + vertical-align: middle; + width: 0; + height: 100%; + content: ''; +} + +.modal { + display: inline-block; + vertical-align: middle; +} + +.modal_container { + margin: 50px; + text-align: left; + white-space: normal; + color: #000; +} + + @media screen and ( max-width: 580px ) { #left{