-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfirst.css
145 lines (140 loc) · 2.24 KB
/
first.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
.body {
margin: 0;
padding: 0;
}
.wrapper {
padding: 0;
margin: 0;
}
.portrait
{
display: block;
position: fixed;
top: 0;
width: 100%;
height: 100vh;
background-color:#1a237e
;
background-image:url(http://exe.nith.ac.in/images/logo.png), radial-gradient(circle at left, #34373e, #18171d);
background-repeat: no-repeat;
background-blend-mode: lighten;
background-size: contain;
background-position: bottom;
}
.nav-container {
position: absolute;
top: 20px;
right: 20px;
}
.intro {
}
.text-container {
width: 318px;
position: relative;
top: 50vh;
left: 3vw;
}
.title-text {
font-family: "Unica One", serif;
font-size: 120px;
margin: 0;
line-height: 90px;
color: #fff;
}
.sub-text {
font-family: "Kelly Slab", sans-serif;
font-size: 33px;
color: white;
margin: 0 10px 0;
}
.body {
margin-top: 50vh;
margin-left: 10px;
padding-bottom: 26vh;
}
.body-text {
color: #fff;
font-family: "Rajdhani", sans-serif;
}
ul {
display: flex;
flex-direction: row;
width: 160px;
justify-content: space-between;
}
.icon {
width: 36px;
height: 36px;
filter: invert();
display: block;
}
ul {
margin: 0;
list-style: none;
}
.attribution {
border-top: 1px solid rgba(255, 255, 255, .5);
width: 100vw;
position: absolute;
bottom: 0;
left: -3vw;
}
.author {
font-family: "Rajdhani", sans-serif;
color: #fff;
margin: 10px 5vw;
}
/* Media Query for Smaller Screens */
@media screen and (max-width: 799px) {
.portrait {
background-position: bottom right;
}
.text-container {
top: 50vh;
left: 8vw;
}
.nav-container {
top: 20px;
left: 20px;
}
}
@media screen and (max-width: 659px) {
.text-container {
top: 64vh;
left: 5vw;
}
.body {
}
}
@media screen and (max-width: 350px) {
.text-container {
left: 0;
text-align: center;
margin: 0 auto;
padding: 0;
}
.title-text {
text-align: center;
}
.sub-text {
transform: translateX(4px);
}
ul {
width: 260px;
}
.nav-container {
left: 0;
margin: 0;
padding: 0;
}
}
a.sdp_animLine {
font-family: sans-serif;
font-size: 1.3rem;
display: inline-block;
margin: -0.5em;
color:#292929;
position: relative;
transition:color 0.25s ease;
cursor: pointer;
}