main
Last change
on this file since 5347491 was e958037, checked in by Viktor <mlviktor23@…>, 2 years ago |
added styling to /professor/{professorId} page
|
-
Property mode
set to
100644
|
File size:
468 bytes
|
Rev | Line | |
---|
[e958037] | 1 | import styled from "styled-components";
|
---|
| 2 |
|
---|
| 3 | export const ProfessorCard = styled.div`
|
---|
| 4 | background-color: papayawhip;
|
---|
| 5 | width: fit-content;
|
---|
| 6 | padding: 10px;
|
---|
| 7 | margin-bottom: 30px;
|
---|
| 8 | `;
|
---|
| 9 |
|
---|
| 10 | export const ProfessorCardName = styled.h2`
|
---|
| 11 | margin-bottom: 10px; ;
|
---|
| 12 | `;
|
---|
| 13 |
|
---|
| 14 | export const ProfessorCardSeparator = styled.hr`
|
---|
| 15 | color: darkslategray;
|
---|
| 16 | margin: 0;
|
---|
| 17 | `;
|
---|
| 18 |
|
---|
| 19 | export const ProfessorCardDetails = styled.h3`
|
---|
| 20 | font-size: ${(props) => props.fontSize};
|
---|
| 21 | color: black;
|
---|
| 22 | opacity: 0.6;
|
---|
| 23 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.