File tree Expand file tree Collapse file tree 6 files changed +46
-15
lines changed
Expand file tree Collapse file tree 6 files changed +46
-15
lines changed Original file line number Diff line number Diff line change 11# Acc-container {
22 background-color : # 20dea0 ;
33 width : 100% ;
4- height : 80vh ;
4+ min- height: 80vh ;
55 display : flex;
66 align-items : center;
77 justify-content : center;
1515 padding : 0 ;
1616 margin : 0 ;
1717 box-sizing : border-box;
18- width : 500px ;
19- height : 500px ;
18+ max- width: 500px ;
19+ min- height: 500px ;
2020 background-color : white;
2121 position : relative;
2222 box-shadow : 5px 5px 15px black;
2828 z-index : 0 ;
2929 overflow : hidden;
3030 border-radius : 10px ;
31+ margin-left : 20px ;
32+ margin-right : 20px ;
3133
3234
3335}
6870}
6971
7072# Acc-card : hover : before {
71- transform : scale (45 );
73+ transform : scale (70 );
7274}
7375
7476# Acc-go-corner {
Original file line number Diff line number Diff line change @@ -53,7 +53,11 @@ export const Card = styled.div`
5353 grid-template-rows: 190px 310px 100px;
5454 }
5555 @media screen and (max-width: 320px) {
56- grid-template-columns: 180px;
56+ grid-template-columns: 200px;
57+ grid-template-rows: 190px 310px 100px;
58+ }
59+ @media screen and (max-width: 300px) {
60+ grid-template-columns: 150px;
5761 grid-template-rows: 190px 310px 100px;
5862 }
5963` ;
@@ -147,3 +151,22 @@ export const Lefts = styled.h3`
147151 font-size: 14px;
148152 }
149153` ;
154+
155+ export const HeadingText = styled . h1 `
156+ height: 38px;
157+ font-size: 1.5vw;
158+ font-weight: bold;
159+
160+ @media screen and (max-width: 960px) {
161+ font-size: 2vw;
162+ }
163+
164+ @media screen and (max-width: 690px) {
165+ font-size: 2.5vw;
166+ }
167+ @media screen and (max-width: 530px) {
168+ font-size: 4vw;
169+ }
170+ ` ;
171+
172+
Original file line number Diff line number Diff line change 99 CStat ,
1010 AchorTag ,
1111 Lefts ,
12+ HeadingText ,
1213} from "../Cards/CardStyle" ;
1314const EventCrads = ( props ) => {
1415 let leftDate ;
@@ -30,9 +31,9 @@ const EventCrads = (props) => {
3031 < Card >
3132 < Cardimage backgrounds = { props . image } > </ Cardimage >
3233 < Cardtext >
33- < h1 style = { ( { height : "38px" , fontSize : "1.5vw" } ) } >
34+ < HeadingText >
3435 { props . cardTitles }
35- </ h1 >
36+ </ HeadingText >
3637 < h3 > DATE : { props . edate . split ( "-" ) . reverse ( ) . join ( "-" ) } </ h3 >
3738 < h3 > VENUE : { props . evenue } </ h3 >
3839 < ParaCard > { props . cardText } </ ParaCard >
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ export const Teamgrids = styled.div`
1919 @media screen and (max-width: 720px) {
2020 grid-template-columns: repeat(1, 300px);
2121 }
22-
23-
22+ @media screen and (max-width: 320px) {
23+ grid-template-columns: repeat(1, 280px);
24+ }
25+ @media screen and (max-width: 320px) {
26+ grid-template-columns: repeat(1, 150px);
27+ }
2428` ;
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ export const NavLogo = styled(LinkR)`
3838 margin-left: 24px;
3939 font-weight: bolder;
4040 text-decoration: none;
41+ @media screen and (max-width: 330px) {
42+ font-size: 1rem;
43+ }
4144` ;
4245
4346export const MobileIcon = styled . div `
Original file line number Diff line number Diff line change @@ -3,12 +3,6 @@ import styled from "styled-components";
33export const DisplayList = styled . div `
44 display: flex;
55 background: #010606;
6-
7- @media screen and (max-width: 768px) {
8- }
9-
10- @media screen and (max-width: 480px) {
11- }
126` ;
137
148export const DisplayH1 = styled . h1 `
@@ -23,6 +17,10 @@ export const DisplayH1 = styled.h1`
2317 @media screen and (max-width: 480px) {
2418 font-size: 2rem;
2519 }
20+ @media screen and (max-width: 330px) {
21+ font-size: 1.5rem;
22+ padding: 5px auto 25px auto !important;
23+ }
2624` ;
2725
2826export const DisplayListEvent = styled . div `
You can’t perform that action at this time.
0 commit comments