profile-site/styles/thoughts.css

89 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2022-12-01 17:17:31 -05:00
body {
background-color: #FEFDFA;
}
2022-12-01 16:53:30 -05:00
.home {
margin: 1.8rem 2rem 0 0;
float: right;
color: #888;
text-decoration: none;
font-weight: 700;
font-size: 1.5rem;
font-family: monospace;
}
.content {
font-family: "Ubuntu Mono", monospace;
2022-12-02 12:45:27 -05:00
line-height: 1.7rem;
2022-12-01 16:53:30 -05:00
transition: .2s;
}
2022-12-01 17:17:31 -05:00
.article {
margin: 2rem auto 4rem auto;
padding: 0 2rem;
max-width: 700px;
}
.article h2 {
color: #888;
}
2022-12-01 16:53:30 -05:00
.article p {
2022-12-01 17:17:31 -05:00
margin-bottom: .4rem;
2022-12-01 16:53:30 -05:00
text-indent: 1rem;
2024-05-27 13:15:10 -04:00
line-height: 1.5em;
2022-12-01 17:17:31 -05:00
font-size: 1.1rem;
font-family: serif;
2022-12-02 12:45:27 -05:00
transition: .2s;
}
.article img {
2024-06-19 09:08:14 -04:00
max-height: 400px;
max-width: 700px;
}
@media (max-width: 700px) {
.article img {
2024-06-19 09:08:14 -04:00
max-height: none;
max-width: calc(100vw - 4em);
}
}
2022-12-02 12:45:27 -05:00
.tempAlert {
position: fixed;
bottom: -10rem;
right: .5rem;
transition: .2s;
opacity: 0;
background-color: #222;
color: #eee;
font-family: monospace;
font-size: 1.2rem;
padding: 1rem 2rem;
border-radius: 2rem;
2022-12-01 16:53:30 -05:00
}
@media (prefers-color-scheme: dark) {
body {
2022-12-01 17:17:31 -05:00
background-color: #232326;
2022-12-01 16:53:30 -05:00
color: #ddd;
}
2022-12-02 12:45:27 -05:00
.tempAlert {
background-color: #FEFDFA;
color: #222;
}
2022-12-01 16:53:30 -05:00
}
2022-12-02 12:45:27 -05:00
@media only screen and (min-width: 400px) {
.content { padding: 0 0.1rem; }
.article { padding: 0 1rem; }
}
@media only screen and (min-width: 600px) {
.content { padding: 0 2rem; }
}
@media only screen and (min-width: 900px) {
.content { padding: 0 6rem; }
}