146 lines
2.0 KiB
CSS
146 lines
2.0 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 32px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.tweet-profilepicture {
|
|
border-radius: 100%;
|
|
}
|
|
|
|
.tweet-interactions {
|
|
display: flex;
|
|
}
|
|
|
|
.tweet-interaction {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* 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: 20px;
|
|
margin:20px;
|
|
}
|
|
|
|
.leftcol {
|
|
background-color: red;
|
|
border-radius: 16px;
|
|
grid-row: 1/ -1;
|
|
|
|
margin: 40px;
|
|
}
|
|
|
|
.centercol {
|
|
background-color: green;
|
|
border-radius: 16px;
|
|
grid-row: 1/ -1;
|
|
margin: 40px;
|
|
}
|
|
|
|
.searchbar {
|
|
background-color: blue;
|
|
border-radius: 16px;
|
|
height: 400px;
|
|
margin: 40px;
|
|
}
|
|
|
|
.popchart {
|
|
background-color: rgba(255, 0, 255, 0.344);
|
|
border-radius: 16px;
|
|
height: 400px;
|
|
margin: 40px;
|
|
} |