| 
									
										
										
										
											2022-06-09 12:51:19 +02:00
										 |  |  | /* | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	GoToSocial | 
					
						
							|  |  |  | 	Copyright (C) 2021-2022 GoToSocial Authors admin@gotosocial.org | 
					
						
							| 
									
										
										
										
											2022-06-09 12:51:19 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	This program is free software: you can redistribute it and/or modify | 
					
						
							|  |  |  | 	it under the terms of the GNU Affero General Public License as published by | 
					
						
							|  |  |  | 	the Free Software Foundation, either version 3 of the License, or | 
					
						
							|  |  |  | 	(at your option) any later version. | 
					
						
							| 
									
										
										
										
											2022-06-09 12:51:19 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	This program is distributed in the hope that it will be useful, | 
					
						
							|  |  |  | 	but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  | 	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
					
						
							|  |  |  | 	GNU Affero General Public License for more details. | 
					
						
							| 
									
										
										
										
											2022-06-09 12:51:19 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	You should have received a copy of the GNU Affero General Public License | 
					
						
							|  |  |  | 	along with this program.  If not, see <http://www.gnu.org/licenses/>. | 
					
						
							| 
									
										
										
										
											2022-06-09 12:51:19 +02:00
										 |  |  | */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | header { | 
					
						
							|  |  |  | 	a img { | 
					
						
							|  |  |  | 		height: 5rem; | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-15 14:33:01 +02:00
										 |  |  | main { | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	background: transparent; | 
					
						
							|  |  |  | 	padding-top: 0; | 
					
						
							| 
									
										
										
										
											2022-04-15 14:33:01 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .profile { | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 	background: $bg-accent; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	display: grid; | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 	grid-template-rows: auto auto auto; | 
					
						
							|  |  |  | 	grid-template-columns: auto; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	gap: 0.5rem; | 
					
						
							|  |  |  | 	margin-bottom: 0.2rem; | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 	overflow-x: hidden; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 	border-radius: $br; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	box-shadow: $boxshadow; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 	border: $boxshadow-border; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	.headerimage { | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 		width: 100%; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		aspect-ratio: 3 / 1; | 
					
						
							| 
									
										
										
										
											2022-10-03 18:26:01 +02:00
										 |  |  | 		max-height: 30ch; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		overflow: hidden; | 
					
						
							|  |  |  | 		box-shadow: $boxshadow; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		img { | 
					
						
							|  |  |  | 			width: 100%; | 
					
						
							|  |  |  | 			height: 100%; | 
					
						
							|  |  |  | 			object-fit: cover; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 			border-radius: $br-inner $br-inner 0 0; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.basic { | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 		max-height: 10rem; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		margin-top: -7rem; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		display: grid; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 		grid-template-columns: 1rem auto 1fr; | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 		grid-template-rows: auto auto auto; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		grid-template-areas: | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 			".       avatar ." | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 			"filler2 avatar displayname" | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 			".       avatar username"; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		#profile-basic-filler2 { | 
					
						
							|  |  |  | 			grid-area: filler2; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 			background: $bg-trans; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 		} | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 		.avatar { | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 			align-self: end; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 			box-sizing: border-box; | 
					
						
							|  |  |  | 			height: 8.5rem; | 
					
						
							|  |  |  | 			width: 8.5rem; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 			grid-area: avatar; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 			background: $bg; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 			border: 0.2rem solid $avatar-border; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 			padding: 0; | 
					
						
							|  |  |  | 			border-radius: $br; | 
					
						
							|  |  |  | 			position: relative; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			box-shadow: $boxshadow; | 
					
						
							|  |  |  | 			img { | 
					
						
							|  |  |  | 				object-fit: cover; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 				border-radius: $br-inner; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 				width: 100%; | 
					
						
							|  |  |  | 				height: 100%; | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 		a, div { | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 			color: inherit; | 
					
						
							|  |  |  | 			text-decoration: none; | 
					
						
							|  |  |  | 			padding: 0.5rem; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.displayname { | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 			grid-area: displayname; | 
					
						
							|  |  |  | 			padding-right: 1rem; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 			font-weight: bold; | 
					
						
							|  |  |  | 			font-size: 2rem; | 
					
						
							|  |  |  | 			line-height: 2.2rem; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 			background: $bg-trans; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 			word-break: break-all; | 
					
						
							|  |  |  | 			text-overflow: ellipsis; | 
					
						
							|  |  |  | 			overflow: hidden; | 
					
						
							|  |  |  | 			max-height: 6rem; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.username { | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 			display: flex; | 
					
						
							|  |  |  | 			flex-wrap: wrap; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 			grid-area: username; | 
					
						
							|  |  |  | 			padding-top: 0; | 
					
						
							|  |  |  | 			margin-top: 0.25rem; | 
					
						
							|  |  |  | 			padding-bottom: 0.25rem; | 
					
						
							| 
									
										
										
										
											2022-09-29 12:02:41 +02:00
										 |  |  | 			color: $fg-accent; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 			font-weight: bold; | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 			word-break: break-all; | 
					
						
							|  |  |  | 			text-overflow: ellipsis; | 
					
						
							|  |  |  | 			overflow: hidden; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	@media screen and (max-width: 600px) { | 
					
						
							|  |  |  | 		.basic { | 
					
						
							|  |  |  | 			max-height: initial; | 
					
						
							|  |  |  | 			margin-top: -7.5vh; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			display: flex; | 
					
						
							|  |  |  | 			flex-direction: column; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			#profile-basic-filler2 { | 
					
						
							|  |  |  | 				display: none; | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			.avatar { | 
					
						
							|  |  |  | 				align-self: flex-start; | 
					
						
							|  |  |  | 				margin-left: 1rem; | 
					
						
							|  |  |  | 				height: 22vw; | 
					
						
							|  |  |  | 				width: 22vw; | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			.displayname { | 
					
						
							|  |  |  | 				padding-left: 1rem; | 
					
						
							|  |  |  | 				font-size: 5vw; | 
					
						
							|  |  |  | 				align-self: stretch; | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			.username { | 
					
						
							|  |  |  | 				padding-left: 1rem; | 
					
						
							|  |  |  | 			} | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.detailed { | 
					
						
							|  |  |  | 		display: flex; | 
					
						
							|  |  |  | 		flex-direction: column; | 
					
						
							|  |  |  | 		flex: 1 1 25em; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		h2 { | 
					
						
							|  |  |  | 			margin-top: 0; | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		.bio { | 
					
						
							| 
									
										
										
										
											2022-07-13 11:28:05 +02:00
										 |  |  | 			margin-top: 0.5rem; | 
					
						
							|  |  |  | 			margin-bottom: 0.5rem; | 
					
						
							|  |  |  | 			margin-left: 1rem; | 
					
						
							|  |  |  | 			margin-right: 1rem; | 
					
						
							|  |  |  | 			word-break: break-word; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 			a { | 
					
						
							|  |  |  | 				color: $acc1; | 
					
						
							|  |  |  | 				text-decoration: underline; | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2022-04-15 14:33:01 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .accountstats { | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	display: flex; | 
					
						
							|  |  |  | 	flex-wrap: wrap; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 	justify-content: space-around; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 	border-radius: 0 0 $br $br; | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 	border-top: 0.1rem solid $bg; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	.entry { | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | 		padding: 1rem 1.2rem; | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 		text-align: center; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2022-04-15 14:33:01 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-13 09:57:47 +02:00
										 |  |  | .nothinghere { | 
					
						
							|  |  |  | 	margin-left: 1rem; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | .backnextlinks { | 
					
						
							|  |  |  | 	display: flex; | 
					
						
							|  |  |  | 	flex-wrap: wrap; | 
					
						
							|  |  |  | 	justify-content: space-between; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	a { | 
					
						
							|  |  |  | 		padding: 1rem; | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	.next { | 
					
						
							|  |  |  | 		margin-left: auto; | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | .toot, .toot:last-child { | 
					
						
							|  |  |  | 	box-shadow: $boxshadow; | 
					
						
							| 
									
										
										
										
											2022-04-15 14:33:01 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-06-21 10:48:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | #recent { | 
					
						
							| 
									
										
										
										
											2022-10-08 14:00:39 +02:00
										 |  |  | 	display: flex; | 
					
						
							|  |  |  | 	flex-direction: row; | 
					
						
							|  |  |  | 	align-items: center; | 
					
						
							|  |  |  | 	justify-content: space-between; | 
					
						
							|  |  |  | 	margin: 1rem; | 
					
						
							|  |  |  | 	.rsslogo { | 
					
						
							|  |  |  | 		width: 1.45em; | 
					
						
							|  |  |  | 		height: 1.45em; | 
					
						
							|  |  |  | 		object-fit: contain; | 
					
						
							|  |  |  | 		vertical-align: middle; | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2022-07-04 16:23:59 +02:00
										 |  |  | } |