-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
125 lines (124 loc) · 1.86 KB
/
style.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
*{
margin: 0;
padding: 0;
border: 0;
}
html,body{
height: 100%;
width: 100%;
}
body{
font-family: 'Cairo', sans-serif;
color: white;
min-height: 100%;
}
header{
position: fixed;
width: 100%;
text-align: right;
background: rgba(0, 0, 0);
font-size: 1.8vw;
height: 4.04vw;
display: inline-block;
}
header span{
padding-left: 1vw;
float: left;
font-size: 1.5rem;
color:lightblue;
font-weight: bold;
}
ul,ol{
list-style-type: none;
}
header button{
background-color: rgba(0, 0, 0);
padding: 0.3rem;
text-decoration: none;
color:lightblue;
font-weight: bold;
}
header button:hover,button:active{
background-color: blue;
color:white;
}
header button{
font-size: 1.5rem;
display: inline-block;
box-sizing: border-box;
padding:1rem 1rem;
height: 90%;
border-bottom: 1px solid transparent;
transition: all .5s ease-in;
}
header button:hover{
border-bottom: 1px solid white;
}
main{
box-sizing: border-box;
background: url('portfolio_single.jpg');
background-repeat: no-repeat;
background-size: cover;
text-align:center;
height: 86%;
}
h1{
font-weight: bold;
text-align: center;
font-family: 'Lobster', cursive;
}
#about{
display: flex;
flex-direction: row;
justify-content: space-around;
}
#about > p{
width:50%;
margin: auto;
margin-left: 0;
}
img{
width:30%;
height: 25%;
padding-right: 1.5vw;
}
#image{
order:-1;
}
p{
order: 0;
}
footer{
background-image: url('footer.jpg');
background-repeat: no-repeat;
background-size: cover;
text-align: center;
height: 15%;
}
footer a{
text-decoration: none;
margin: 2vh;
}
footer img{
height: 5vh;
width: 5vh;
}
@media screen and (max-width: 1000px){
header{
box-sizing: border-box;
text-align: center;
font-size: 1.8rem;
height: 7vw;
}
#about{
flex-direction: column;
}
#about > p{
margin:auto;
font-size: 1.8rem;
}
#about img{
width: 100%;
padding:5px;
}
}