diff options
author | 2019-01-20 11:21:30 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:54 +0300 | |
commit | e087c434d4903d0ee0c680e11e657cc3e2043d7a (patch) | |
tree | e41a3ebbea18fa550664c9a5c92638feae9f4724 | |
parent | ffa96cca4e2191965a3ede1a2b6b786dd8f89b35 (diff) |
Fix stylelint warnings
-rw-r--r-- | vnext/src/components/Avatar.css | 2 | ||||
-rw-r--r-- | vnext/src/components/Button.css | 2 | ||||
-rw-r--r-- | vnext/src/components/Chat.css | 4 | ||||
-rw-r--r-- | vnext/src/components/Message.css | 2 | ||||
-rw-r--r-- | vnext/src/components/NavigationIcon.css | 2 | ||||
-rw-r--r-- | vnext/src/components/UserInfo.css | 2 | ||||
-rw-r--r-- | vnext/src/style/main.css | 44 |
7 files changed, 40 insertions, 18 deletions
diff --git a/vnext/src/components/Avatar.css b/vnext/src/components/Avatar.css index d30686ed..9784bbd9 100644 --- a/vnext/src/components/Avatar.css +++ b/vnext/src/components/Avatar.css @@ -18,4 +18,4 @@ .Avatar { width: 300px; } -}
\ No newline at end of file +} diff --git a/vnext/src/components/Button.css b/vnext/src/components/Button.css index 7394583b..2acb87be 100644 --- a/vnext/src/components/Button.css +++ b/vnext/src/components/Button.css @@ -10,4 +10,4 @@ .Button:hover { background: #f8f8f8; border-bottom: 1px solid #ff339a; -}
\ No newline at end of file +} diff --git a/vnext/src/components/Chat.css b/vnext/src/components/Chat.css index 02c81ef7..520a5c9b 100644 --- a/vnext/src/components/Chat.css +++ b/vnext/src/components/Chat.css @@ -5,5 +5,5 @@ height: 450px; display: flex; flex-direction: column-reverse; - width: 100% -}
\ No newline at end of file + width: 100%; +} diff --git a/vnext/src/components/Message.css b/vnext/src/components/Message.css index 2e90e5e4..c19c7eec 100644 --- a/vnext/src/components/Message.css +++ b/vnext/src/components/Message.css @@ -5,7 +5,7 @@ .msg-cont > nav.l { border-top: 1px solid #eee; display: flex; - justify-content: space-around; + justify-content: space-around; } .msg-cont > nav.l a { color: #888; diff --git a/vnext/src/components/NavigationIcon.css b/vnext/src/components/NavigationIcon.css index 9c18dd00..caff6195 100644 --- a/vnext/src/components/NavigationIcon.css +++ b/vnext/src/components/NavigationIcon.css @@ -1,4 +1,4 @@ #navicon { padding: 12px; color: #88958d; -}
\ No newline at end of file +} diff --git a/vnext/src/components/UserInfo.css b/vnext/src/components/UserInfo.css index 27eba7e5..e4f58693 100644 --- a/vnext/src/components/UserInfo.css +++ b/vnext/src/components/UserInfo.css @@ -1,3 +1,3 @@ .userinfo { padding: 40px; -}
\ No newline at end of file +} diff --git a/vnext/src/style/main.css b/vnext/src/style/main.css index e6e40dfb..0216192f 100644 --- a/vnext/src/style/main.css +++ b/vnext/src/style/main.css @@ -3,7 +3,18 @@ --main-width: 1000px; } -html, body, div, h1, h2, ul, li, p, form, input, textarea, pre { +html, +body, +div, +h1, +h2, +ul, +li, +p, +form, +input, +textarea, +pre { margin: 0; padding: 0; } @@ -17,13 +28,17 @@ textarea { overflow: auto; } -html, input, textarea, button { +html, +input, +textarea, +button { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; -webkit-font-smoothing: subpixel-antialiased; font-size: 12pt; } -h1, h2 { +h1, +h2 { font-weight: normal; padding: 24px; } @@ -55,7 +70,8 @@ a { text-decoration: none; } -img, hr { +img, +hr { border: none; } @@ -79,7 +95,8 @@ img, hr { transform: translateY(-100%); } -#header_wrapper, .footer_container { +#header_wrapper, +.footer_container { display: flex; justify-content: space-between; align-items: center; @@ -166,7 +183,8 @@ img, hr { display: flex; } -#global a, #ctitle a { +#global a, +#ctitle a { display: flex; align-items: center; border-bottom: 2px solid transparent; @@ -177,7 +195,7 @@ img, hr { padding: 14px 16px; } -#sidebar>a { +#sidebar > a { color: #88958d; border-right: 2px solid transparent; display: flex; @@ -186,7 +204,7 @@ img, hr { vertical-align: middle; } -#sidebar>a:hover { +#sidebar > a:hover { background-color: #f8f8f8; border-right: 2px solid #ff339a; cursor: pointer; @@ -196,7 +214,10 @@ img, hr { padding: 2px 20px; } -#global a:hover, #ctitle a:hover, .l a:hover .msg-button:hover { +#global a:hover, +#ctitle a:hover, +.l a:hover, +.msg-button:hover { background-color: #f8f8f8; border-bottom: 2px solid #ff339a; cursor: pointer; @@ -257,7 +278,8 @@ img, hr { grid-template-columns: 1fr 1fr; grid-template-rows: min-content minmax(min-content, 1fr) min-content; } - #header_wrapper, .footer_container { + #header_wrapper, + .footer_container { margin: 0 auto; width: var(--main-width); } @@ -290,4 +312,4 @@ img, hr { overflow-x: inherit; width: 240px; } -}
\ No newline at end of file +} |