210 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			210 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| :root {
 | |
| 	--main-bg: #292929;
 | |
| 	--main-light: #ffffff;
 | |
| 	--main-medium-dark: #1E1E1E;
 | |
| 	--main-dark: #000000;
 | |
| 	--secondary: #1D9BF0;
 | |
| }
 | |
| 
 | |
| body, html, .container {
 | |
| 	width: 100%;
 | |
| 	height: 100%;
 | |
| 	margin: 0;
 | |
| 	padding: 0;
 | |
| 	overflow: auto;
 | |
| 	box-sizing: border-box;
 | |
| }
 | |
| 
 | |
| body {
 | |
| 	font-family: 'Roboto', sans-serif;
 | |
| 	font-weight: 400;
 | |
| }
 | |
| 
 | |
| .container {
 | |
| 	background-color: var(--main-bg);
 | |
| 	color: white;
 | |
| 	padding: 16px 48px;
 | |
| }
 | |
| 
 | |
| .header, .sports, .logo {
 | |
| 	display: flex;
 | |
| 	flex-direction: row;
 | |
| }
 | |
| 
 | |
| .header {
 | |
| 	align-items: center;
 | |
| 	user-select: none;
 | |
| }
 | |
| 
 | |
| .logo {
 | |
| 	display: flex;
 | |
| 	align-items: center;
 | |
| 	padding: 16px;
 | |
| 	background-color: var(--main-medium-dark);
 | |
| 	border-radius: 16px;
 | |
| }
 | |
| 
 | |
| .logo img {
 | |
| 	height: 40px;
 | |
| }
 | |
| 
 | |
| .logo span {
 | |
| 	font-size: 40px;
 | |
| 	font-weight: 500;
 | |
| 	margin: 0 8px;
 | |
| }
 | |
| 
 | |
| .sports {
 | |
| 	margin-left: 16px;
 | |
| 	overflow-x: auto;
 | |
| }
 | |
| 
 | |
| .sport {
 | |
| 	display: flex;
 | |
| 	flex-direction: row;
 | |
| 	align-items: center;
 | |
| 	height: 30px;
 | |
| 	padding: 4px;
 | |
| 	margin-right: 8px;
 | |
| 	border: 1px solid white;
 | |
| 	border-radius: 100px;
 | |
| 	cursor: pointer;
 | |
| }
 | |
| 
 | |
| .sport .material-symbols-outlined {
 | |
| 	font-size: 32px;
 | |
| }
 | |
| 
 | |
| .sport-name {
 | |
| 	font-weight: 500;
 | |
| 	font-size: 24px;
 | |
| 	margin: 0 6px 0 4px;
 | |
| }
 | |
| 
 | |
| .selected {
 | |
| 	color: var(--secondary);
 | |
| 	border-color: var(--secondary);
 | |
| }
 | |
| 
 | |
| .tweet {
 | |
| 	display: flex;
 | |
| 	background-color: var(--main-dark);
 | |
| 	border-radius: 16px;
 | |
| 	padding: 16px;
 | |
| }
 | |
| 
 | |
| .tweet-profilepicture {
 | |
| 	border-radius: 100%;
 | |
| 	width: 60px;
 | |
| 	height: 60px;
 | |
| 	/* padding: 8px; */
 | |
| }
 | |
| 
 | |
| .tweet-content {
 | |
| 	padding-left: 16px;
 | |
| }
 | |
| 
 | |
| .tweet-interactions {
 | |
| 	display: flex;
 | |
| 	margin-top: 8px;
 | |
| }
 | |
| 
 | |
| .tweet-interaction {
 | |
| 	display: flex;
 | |
| 	align-items: center;
 | |
| 	margin-right: 32px;
 | |
| }
 | |
| 
 | |
| .tweet-interaction .material-symbols-outlined {
 | |
| 	margin-right: 4px;
 | |
| }
 | |
| 
 | |
| .tweet-nickname {
 | |
| 	font-weight: bold;
 | |
| }
 | |
| 
 | |
| .tweet-username {
 | |
| 	opacity: 0.8;
 | |
| }
 | |
| 
 | |
| .filters-search input {
 | |
| 	height: 28px;
 | |
| 	width: 100%;
 | |
| 	border: none;
 | |
| 	font-family: 'Robot', sans-serif;
 | |
| 	font-size: 24px;
 | |
| 	padding: 0;
 | |
| 	padding-right: 32px;
 | |
| }
 | |
| 
 | |
| .filters-search span {
 | |
| 	position: absolute;
 | |
| 	font-weight: 500;
 | |
| 	font-size: 24px;
 | |
| 	color: var(--main-medium-dark);
 | |
| }
 | |
| 
 | |
| /* Three main columns; CSS Grid */
 | |
| .maintable {
 | |
| 	/*background-color: #ffffff; */ /* The colors are there just so that I can see what I'm doing better */
 | |
| 	display: grid;
 | |
| 	width: 100%;
 | |
| 	grid-template-columns: 1fr 1fr 1fr;
 | |
| 	grid-template-rows: 1fr 1fr;
 | |
| 
 | |
| 	gap: 48px;
 | |
| 	/* margin:20px; */
 | |
| }
 | |
| 
 | |
| .main {
 | |
| 	margin-top: 48px;
 | |
| }
 | |
| 
 | |
| .column {
 | |
| 	border-radius: 16px;
 | |
| }
 | |
| 
 | |
| .leftcol {
 | |
| 	background-color: red;
 | |
| 	grid-row: 1/ -1;
 | |
| }
 | |
| 
 | |
| .centercol {
 | |
| 	background-color: green;
 | |
| 	grid-row: 1/ -1;
 | |
| }
 | |
| 
 | |
| .searchcontainer {
 | |
| 	background-color: blue;
 | |
| 	height: 400px;
 | |
| }
 | |
| 
 | |
| .popchart {
 | |
| 	background-color: rgba(255, 0, 255, 0.344);
 | |
| 	height: 400px;
 | |
| }
 | |
| 
 | |
| .colheader {
 | |
| 	font-size: 38px;
 | |
| 	padding-left: 30px;
 | |
| }
 | |
| 
 | |
| .searchbar {
 | |
| 	width: 500px;
 | |
| }
 | |
| .searchbar, .button {
 | |
| 	font-weight: bold;
 | |
| 	font-size: 32px;
 | |
| 	border-radius: 50px;
 | |
| 	padding: 10px;
 | |
| 	margin: 16px;
 | |
| }
 | |
| 
 | |
| .button {
 | |
| 	border-radius: 50px;
 | |
| 	border: none;
 | |
| }
 | |
| 
 | |
| .button:hover {
 | |
| 	background-color: ;
 | |
| } | 
