297 lines
No EOL
4.8 KiB
CSS
297 lines
No EOL
4.8 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
|
|
|
|
:root {
|
|
font-smooth: always;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
|
|
lrgrid, right, rbottom, rtop, namegrid, projectgrid, .projectbox, .maincontent, trendinggrid, announcementsgrid {
|
|
display: grid;
|
|
}
|
|
|
|
left, logobox, firstbox, secondbox, .sidebar, rtophalf, rbottomhalf, wrapper, buttons, .trendingentryflex, .buttons {
|
|
display: flex;
|
|
}
|
|
|
|
logobox, firstbox, secondbox, buttons {
|
|
width: inherit;
|
|
}
|
|
|
|
left, firstbox, secondbox {
|
|
flex-direction: column;
|
|
}
|
|
|
|
logobox, .sidebar {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.paragraph, trendinggrid, .trendingimage, announcementsgrid, line {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.rbottomheader {
|
|
padding-top: 1vh;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.rbottomheader, left, projectgrid, .announcementheader, .announcementtext, .trendingtag, .trendingsubtitle {
|
|
padding-left: 20px;
|
|
}
|
|
|
|
left, .rbottomheader, greeting, .paragraphheader {
|
|
font-weight: 500;
|
|
}
|
|
|
|
#logotext, rtophalf, wrapper {
|
|
flex: 2 1 auto;
|
|
}
|
|
|
|
.sidebar, rtophalf, wrapper, buttons, .buttons, .trendingentryflex {
|
|
align-items: center;
|
|
}
|
|
|
|
right, #searchbar {
|
|
background-color: #e2e8f0;
|
|
}
|
|
|
|
#logotext, #name, .announcementheader, .trendingtag, .trendingsubtitle {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
#logotext, #name, .announcementheader, .announcementtext, .trendingtag, .trendingsubtitle {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
#name, nameandtag, .headerbuttons, .announcementheader {
|
|
font-weight: 700;
|
|
}
|
|
|
|
left, nameandtag {
|
|
font-size: 20px;
|
|
}
|
|
|
|
left, .headerbuttons {
|
|
background-color: #1992d4;
|
|
color: white;
|
|
}
|
|
|
|
#searchbar, .headerbuttons {
|
|
border-radius: 50px;
|
|
border-width: 0px;
|
|
}
|
|
|
|
.buttons, .paragraphcontent, trendinggrid, announcementsgrid, .announcementtext, line {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.projectbox, trendinggrid, announcementsgrid {
|
|
border-radius: 7.5px;
|
|
box-shadow: 1px 1px 5px -.25px darkgray;
|
|
background-color: white;
|
|
}
|
|
|
|
.buttons, trendinggrid, announcementsgrid {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
lrgrid {
|
|
grid-template-columns: 21% 1fr;
|
|
height: 100vh;
|
|
}
|
|
|
|
right {
|
|
grid-template-rows: 17.5% 1fr;
|
|
}
|
|
|
|
logobox {
|
|
flex: 0.75 0 auto;
|
|
align-items: flex-start;
|
|
column-gap: 10px;
|
|
padding-top: 15px;
|
|
}
|
|
|
|
#logo {
|
|
margin-left: -12px;
|
|
}
|
|
|
|
#logotext {
|
|
font-size: 30px;
|
|
padding-top: 7.5px;
|
|
}
|
|
|
|
firstbox {
|
|
flex: 1 10 auto;
|
|
row-gap: 18px;
|
|
}
|
|
|
|
secondbox {
|
|
flex: 7 1 auto;
|
|
row-gap: 20px;
|
|
}
|
|
|
|
.sidebartext, #searchbar {
|
|
padding-left: 15px;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
rtop {
|
|
box-shadow: -5px 7px 5px -5px darkgray;
|
|
grid-template-rows: 40% 60%;
|
|
padding-left: 30px;
|
|
background-color: white;
|
|
}
|
|
|
|
rbottom {
|
|
grid-template-columns: 72.5% 1fr;
|
|
}
|
|
|
|
rtophalf {
|
|
padding-top: 3px;
|
|
}
|
|
|
|
#searchbar {
|
|
width: 100%;
|
|
height: 36px;
|
|
margin-left: 15px;
|
|
padding-right: 15px;
|
|
padding-top: 0px;
|
|
padding-bottom: 0px;
|
|
flex: 1 1 0;
|
|
}
|
|
|
|
#searchicon {
|
|
height: 24px;
|
|
}
|
|
|
|
#notificationbell {
|
|
margin-left: 20vw;
|
|
}
|
|
|
|
#avatar {
|
|
max-width: 48px;
|
|
max-height: 48px;
|
|
margin-left: 2vw;
|
|
}
|
|
|
|
#name {
|
|
margin-left: 1.5vw;
|
|
font-size: 16px;
|
|
margin-right: 5vw;
|
|
}
|
|
|
|
#avatarlower {
|
|
max-width: 72px;
|
|
max-height: 72px;
|
|
}
|
|
|
|
namegrid {
|
|
grid-template-rows: 10% 1fr;
|
|
gap: 5px;
|
|
margin-left: 25px;
|
|
}
|
|
|
|
buttons {
|
|
flex: 1 1 auto;
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
buttons:last-child {
|
|
margin-right: .75vw;
|
|
}
|
|
.headerbuttons {
|
|
width: 88px;
|
|
height: 38px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
projectgrid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
grid-template-rows: repeat(3, 1fr);
|
|
height: auto;
|
|
gap: 25px;
|
|
max-height: inherit;
|
|
}
|
|
|
|
.projectbox {
|
|
grid-template-columns: 2.5% 1fr;
|
|
}
|
|
|
|
.leftsliver {
|
|
background-color:goldenrod;
|
|
border-top-left-radius: 7.5px;
|
|
border-bottom-left-radius: 7.5px;
|
|
}
|
|
|
|
.buttons {
|
|
justify-content: flex-end;
|
|
column-gap: 20px;
|
|
}
|
|
|
|
.paragraph, trendinggrid, announcementsgrid {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.paragraphheader {
|
|
margin: 0px;
|
|
}
|
|
|
|
.paragraphcontent {
|
|
font-size: max(1.5vh,11px);
|
|
margin-top: 5px;
|
|
margin-bottom: 20px;
|
|
color: #666;
|
|
}
|
|
|
|
trendinggrid {
|
|
row-gap: 10px;
|
|
}
|
|
|
|
.trendingentryflex {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.trendingsubtitle {
|
|
color: #666;
|
|
margin-top: -.75rem;
|
|
padding-top: 2vh;
|
|
}
|
|
|
|
.trendingimage {
|
|
max-width: 48px;
|
|
max-height: 48px;
|
|
}
|
|
|
|
announcementsgrid {
|
|
row-gap: 10px;
|
|
grid-template-rows: 1fr 1px 1fr 1px 1fr;
|
|
}
|
|
|
|
.announcementheader {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.announcementtext {
|
|
font-size: 11px;
|
|
margin-top: 2px;
|
|
color: #666;
|
|
line-height: .9vw;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
max-width: 15vw;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.announcementparas {
|
|
border-color: black;
|
|
border-width: 1px;
|
|
}
|
|
|
|
line {
|
|
background-color: #dddddd;
|
|
} |