-
Notifications
You must be signed in to change notification settings - Fork 2
/
Styles.css
165 lines (164 loc) · 3.17 KB
/
Styles.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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
body{
margin: 30px 200px;
}
.container{
display: grid;
grid-template-columns: 200px 1fr 100px;
grid-template-rows: 60px 30px auto auto 1fr;
grid-gap:10px;
}
.header{
grid-column: 2 / 3;
grid-row: 1 / 2;
}
.header h1{
display: grid;
align-items: center;
justify-items: center;
font-family: NewYorkTimes;
src: url(/Fount/NewYorkTimes.ttf);
margin: 0px;
font-size: 50px;
}
hr{
margin-left: 30%;
margin-right: 30%;
height: 2px;
width: 40%;
background-color: black;
}
.subheading{
grid-column: 1 / -1;
grid-row: 2 / 3;
text-align: left;
border-bottom: 1px solid black;
border-top: 1px solid black;
padding-left: 20px;
}
.subheading p{
margin: 0px;
}
/*Style for the first column (left)*/
.first--column{
grid-column: 1 / 2;
grid-row: 3 / -1;
text-align: center;
padding-right: 10px;
border-right: 1px solid black;
}
.first--column h2, h3, h4, h5{
margin: 0px;
padding-top: 10px;
padding-bottom: 10px;
font-family: 'Times New Roman', Times, serif;
}
.first--column hr{
margin-left: 30%;
margin-right: 30%;
height: 2px;
width: 40%;
background-color: black;
}
.first--column p{
margin: 0px;
text-align: justify;
}
/*Style for the principal news column center*/
.Principal--News{
grid-column: 2 / 3;
border-bottom: 1px solid black;
}
.Principal--News img{
width: 100%;
}
.Principal--News p{
margin: 0px;
text-align: justify;
}
/*Style for the second news column center (Politic)*/
.second--news{
grid-column: 2 / 3;
grid-row: 4 / 5;
border-bottom: 1px solid black;
}
.second--news__container{
}
.second--news__container h2{
margin: 0px;
display: grid;
grid-column: 1 / 5;
grid-row: 1 / 2;
font-style: italic;
}
.second--news__container td{
width: 25%;
text-align: justify;
padding: 5px;
}
.second--news__container h5{
text-align: center;
margin: 0px;
padding-bottom: 25px;
}
.second--news__container hr{
padding: 0px;
margin-left: 25%;
margin-right: 25%;
height: 2px;
width: 50%;
}
/*Style for the thrird news column center (Art)*/
.third--news{
grid-column: 2 / 3;
grid-row: 5 / 6;
}
.third--news h2{
margin: 0px;
font-style: italic;
grid-column: 1 / 3;
grid-row: 1;
}
.third--news__container{
display: grid;
grid-template-columns: 50% 50%;
grid-template-rows: 1fr;
grid-gap: 10px;
padding: 10px;
}
.third--news__container img{
grid-column: 2 / 3;
grid-row: 2;
grid-gap:10px;
width: 100%;
}
.third--news__text{
grid-column: 1 / 2;
grid-row: 2 / 3;
grid-gap:10px;
width: 100%;
}
.third--news__text p{
margin: 0px;
}
.third--news__text h4{
text-align: center;
padding-bottom: 2px;
}
.third--news__text hr{
margin: 0% 15% 0% 15%;
height: 2px;
width: 70%;
background-color: black;
}
.highlight{
float: left;
padding: 15px;
shape-outside: inset(20px 20px 20px 20px);
shape-margin: 100px;
}
/*Style for the margin right (white space - rigth)*/
.margin--right{
grid-column: 3 / 4;
grid-row: 3 / -1;
border-left: 1px solid black;
}