microblog.pub/app/scss/main.scss

221 lines
3.4 KiB
SCSS
Raw Normal View History

2022-07-01 17:35:34 +00:00
$font-stack: Helvetica, sans-serif;
$background: #002B36; // solarized background color
// font-family: Inconsolata, monospace;
$primary-color: #e14eea;
$secondary-color: #32cd32;
$muted-color: #586e75; // solarized comment text
// #93a1a1; solarized body text
2022-06-22 18:11:22 +00:00
body {
2022-07-01 17:35:34 +00:00
font-family: $font-stack;
font-size: 20px;
line-height: 32px;
background: $background;
color: #ccc;
margin: 0;
padding: 0;
display: flex;
min-height: 100vh;
flex-direction: column;
}
a {
text-decoration: none;
}
.activity-main {
a {
color: #ddd;
}
}
.activity-wrap {
}
code, pre {
color: #859900; // #cb4b16; // #268bd2; // #2aa198;
font-family: 'Inconsolata, monospace';
}
header {
.title {
font-size: 1.3em;
text-decoration: none;
.handle {
font-size: 0.85em;
color: #93a1a1;
}
}
.counter {
color: #93a1a1;
}
}
.purple {
color: #e14eea;
}
a {
color: #e14eea;
}
.green, a:hover {
color: #32cd32;
2022-06-22 18:11:22 +00:00
}
#main {
flex: 1;
}
main {
2022-07-01 17:35:34 +00:00
width: 100%;
max-width: 960px;
margin: 30px auto;
2022-06-22 18:11:22 +00:00
}
footer {
2022-07-01 17:35:34 +00:00
width: 100%;
max-width: 960px;
2022-06-22 18:11:22 +00:00
margin: 20px auto;
2022-07-01 17:35:34 +00:00
color: #93a1a1;
}
.actor-box {
display: flex;
column-gap: 20px;
margin:20px 0 10px 0;
.icon-box {
flex: 0 0 50px;
}
.actor-handle {
font-size: 0.85em;
line-height: 1em;
color: #93a1a1;
}
.actor-icon {
margin-top: 5px;
max-width: 50px;
}
2022-06-22 18:11:22 +00:00
}
#notifications, #followers, #following {
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
li {
display: inline-block;
}
}
#admin {
}
2022-07-01 17:35:34 +00:00
.activity-bar {
input[type=submit], button {
font-size: 20px;
line-height: 32px;
font-family: "Inconsolata, monospace";
background: none!important;
border: none;
padding: 0!important;
cursor: pointer;
color: #e14eea;
}
input[type=submit]:hover, button:hover {
color: #32cd32;
2022-06-22 18:11:22 +00:00
2022-07-01 17:35:34 +00:00
}
2022-06-22 18:11:22 +00:00
}
nav.flexbox {
2022-07-01 17:35:34 +00:00
input[type=submit] {
font-size: 20px;
line-height: 32px;
font-family: "Inconsolata, monospace";
background: none!important;
border: none;
padding: 0!important;
cursor: pointer;
color: #e14eea;
}
input[type=submit]:hover {
color: #32cd32;
}
2022-06-22 18:11:22 +00:00
ul {
display: flex;
2022-07-01 17:35:34 +00:00
flex-wrap: wrap;
2022-06-22 18:11:22 +00:00
align-items: center;
list-style-type: none;
margin: 0;
padding: 0;
}
ul li {
margin-right: 20px;
&:last-child {
margin-right: 0px;
}
}
2022-07-01 17:35:34 +00:00
a {
text-decoration: none;
}
2022-06-22 18:11:22 +00:00
a.active {
2022-07-01 17:35:34 +00:00
color: #32cd32;
2022-06-22 18:11:22 +00:00
font-weight: bold;
}
}
.activity-wrap {
margin: 0 auto;
padding: 30px 0;
.actor-icon {
2022-07-01 17:35:34 +00:00
width: 50px;
2022-06-22 18:11:22 +00:00
margin-right: 15px;
2022-07-01 17:35:34 +00:00
margin-top: 5px;
2022-06-22 18:11:22 +00:00
}
2022-07-01 17:35:34 +00:00
2022-06-22 18:11:22 +00:00
.activity-content {
display: flex;
align-items:flex-start;
.activity-header {
width: 100%;
strong {
font-weight:bold;
}
span {
font-weight:normal;
margin-left: 5px;
}
2022-07-01 17:35:34 +00:00
.actor-handle {
color: #93a1a1;
}
2022-06-22 18:11:22 +00:00
.activity-date { float:right; }
}
}
.activity-attachment {
padding-left: 60px;
img, audio, video {
width: 100%;
max-width: 740px;
margin: 30px 0;
}
}
.activity-bar {
display: flex;
margin-left: 60px;
margin-top: 10px;
.bar-item {
display: flex;
margin-right: 20px;
}
}
}
2022-06-25 08:20:07 +00:00
.actor-action {
padding-left:70px;
margin-top:20px;
span {
float: right;
}
}
2022-06-27 18:55:44 +00:00
.emoji, .custom-emoji {
max-width: 25px;
}