nitter/src/sass/index.scss

166 lines
2.9 KiB
SCSS
Raw Normal View History

2019-09-13 08:44:21 +00:00
@import '_variables';
@import 'tweet/_base';
@import 'profile/_base';
@import 'general';
@import 'navbar';
@import 'inputs';
@import 'timeline';
@import 'search';
2019-09-13 08:44:21 +00:00
body {
// colors
--bg_color: #{$bg_color};
--fg_color: #{$fg_color};
--fg_faded: #{$fg_faded};
--fg_dark: #{$fg_dark};
--fg_nav: #{$fg_nav};
--bg_panel: #{$bg_panel};
--bg_elements: #{$bg_elements};
--bg_overlays: #{$bg_overlays};
--bg_hover: #{$bg_hover};
--grey: #{$grey};
--dark_grey: #{$dark_grey};
--darker_grey: #{$darker_grey};
--darkest_grey: #{$darkest_grey};
--border_grey: #{$border_grey};
--accent: #{$accent};
--accent_light: #{$accent_light};
--accent_dark: #{$accent_dark};
--accent_border: #{$accent_border};
--play_button: #{$play_button};
--play_button_hover: #{$play_button_hover};
--more_replies_dots: #{$more_replies_dots};
--error_red: #{$error_red};
--verified_blue: #{$verified_blue};
--icon_text: #{$icon_text};
--tab: #{$fg_color};
--tab_selected: #{$accent};
--profile_stat: #{$fg_color};
background-color: var(--bg_color);
color: var(--fg_color);
2019-09-13 08:44:21 +00:00
font-family: $font_0, $font_1, $font_2, $font_3;
font-size: 14px;
line-height: 1.3;
margin: 0;
}
* {
outline: unset;
margin: 0;
text-decoration: none;
}
h1 {
display: inline;
}
h2, h3 {
font-weight: normal;
}
p {
margin: 14px 0;
}
a {
color: var(--accent);
2019-09-13 08:44:21 +00:00
&:hover {
text-decoration: underline;
}
}
fieldset {
border: 0;
padding: 0;
margin-top: -0.6em;
}
legend {
width: 100%;
padding: .6em 0 .3em 0;
border: 0;
font-size: 16px;
2021-12-27 17:05:09 +00:00
font-weight: 600;
border-bottom: 1px solid var(--border_grey);
2019-09-13 08:44:21 +00:00
margin-bottom: 8px;
}
2021-12-27 17:05:09 +00:00
.preferences .note {
border-top: 1px solid var(--border_grey);
border-bottom: 1px solid var(--border_grey);
padding: 6px 0 8px 0;
margin-bottom: 8px;
margin-top: 16px;
}
2019-09-13 08:44:21 +00:00
ul {
padding-left: 1.3em;
}
.container {
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
padding-top: 50px;
margin: auto;
min-height: 100vh;
}
.icon-container {
display: inline;
}
.overlay-panel {
max-width: 600px;
width: 100%;
margin: 0 auto;
margin-top: 10px;
background-color: var(--bg_overlays);
2019-09-13 08:44:21 +00:00
padding: 10px 15px;
align-self: start;
2019-09-22 23:42:00 +00:00
ul {
margin-bottom: 14px;
}
2019-12-25 02:28:05 +00:00
p {
word-break: break-word;
}
2019-09-13 08:44:21 +00:00
}
.verified-icon {
color: var(--icon_text);
background-color: var(--verified_blue);
2019-09-13 08:44:21 +00:00
border-radius: 50%;
flex-shrink: 0;
margin: 2px 0 3px 3px;
padding-top: 2px;
height: 12px;
width: 14px;
font-size: 8px;
display: inline-block;
text-align: center;
vertical-align: middle;
}
@media(max-width: 600px) {
.preferences-container {
max-width: 95vw;
}
.nav-item, .nav-item .icon-container {
font-size: 16px;
}
2019-09-13 08:44:21 +00:00
}