Более надежный css

This commit is contained in:
2021-07-03 16:37:35 +03:00
parent 2ee163cba7
commit 42d352c0f6
3 changed files with 14 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,7 @@
"128": "assets/icons/icon128.png", "128": "assets/icons/icon128.png",
"48": "assets/icons/icon48.png" "48": "assets/icons/icon48.png"
}, },
"version": "1.2", "version": "1.3",
"description": "Позволяет заглушить нежелаемых собеседников", "description": "Позволяет заглушить нежелаемых собеседников",
"permissions": [ "permissions": [
"declarativeContent", "declarativeContent",

View File

@@ -4,6 +4,7 @@
body { body {
min-width: 160px; min-width: 160px;
margin: 0;
} }
/* The switch - the box around the slider */ /* The switch - the box around the slider */
.switch { .switch {
@@ -71,19 +72,17 @@ input:checked + .slider:before {
.header { .header {
background-color: #2196F3; background-color: #2196F3;
color: white; color: white;
width: 100vw; width: 100%;
height: 3rem;
position: relative; position: relative;
margin-left: -50vw; display: flex;
left: 50%; align-items: center;
margin-top: -20vw; justify-content: center;
margin-bottom: 10vw; margin-bottom: 1rem;
padding-top: 5px;
padding-bottom: 5px;
} }
h3 { h3 {
margin-bottom: 0; margin: 0;
padding: 1rem 0 .5rem 0;
} }
.idToHide { .idToHide {
@@ -92,7 +91,6 @@ h3 {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background-color: #fff; background-color: #fff;
width: 100vw;
} }
.idToHide:hover { .idToHide:hover {
@@ -102,9 +100,8 @@ h3 {
#id_list { #id_list {
color: black; color: black;
position: relative; position: relative;
margin-left: -50vw; width: 100%;
left: 50%; margin-top: 1rem;
margin-top: 10vw;
} }
.del_item { .del_item {
@@ -119,6 +116,7 @@ h3 {
.donation_btn { .donation_btn {
text-align: right; text-align: right;
margin-top: .5rem; margin-top: .5rem;
padding: 0 10px 10px 0;
} }
a { a {