greg.everydayimshuflin.com/style-mobile.css

75 lines
988 B
CSS
Raw Normal View History

2024-10-16 01:48:23 -07:00
* {
box-sizing: border-box;
}
body {
2024-10-18 04:11:27 -07:00
padding: 0em 0.5em;
2024-10-16 01:48:23 -07:00
background-color:#2B2B4D;
color: white;
font-family: "Fira Sans", sans-serif;
2024-10-18 04:11:27 -07:00
font-size: 20px;
line-height: 1.5;
display: flex;
flex-direction: column;
align-items: center;
}
.container {
2024-10-18 17:26:36 -07:00
width: 100%;
2024-10-18 04:11:27 -07:00
max-width: 961px;
2024-10-16 01:48:23 -07:00
display: flex;
2024-10-18 04:11:27 -07:00
flex-direction: column;
align-items: center;
2024-10-16 01:48:23 -07:00
}
2024-10-18 04:11:27 -07:00
h1 {
text-align: center;
margin: 0;
2024-10-16 01:48:23 -07:00
}
2024-10-18 04:11:27 -07:00
code.nostrPubkey {
display: none;
2024-10-16 01:48:23 -07:00
}
a {
color: #f74848;
font-weight:bolder;
}
a:visited {
color:#f74848;
}
a.codeLink {
color:#31E631;
font-weight:normal;
}
a.emailLink {
color:#31E631;
font-family: "monospace";
text-decoration: none;
}
2024-10-18 17:26:36 -07:00
.photo {
width: 100%;
}
2024-10-16 01:48:23 -07:00
.photo img {
2024-10-18 17:26:36 -07:00
width: 100%;
2024-10-16 01:48:23 -07:00
}
2024-10-18 17:26:36 -07:00
2024-10-16 01:48:23 -07:00
/* Desktop */
@media only screen and (min-width: 961px) {
2024-10-18 04:11:27 -07:00
code.nostrPubkey {
display: revert;
}
.photo {
float: right;
width: 400px;
margin: 1em;
}
2024-10-16 01:48:23 -07:00
}