-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle_jitsugyo.css
126 lines (121 loc) · 2.36 KB
/
style_jitsugyo.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
*{margin: 0; padding: 0;}
body { margin: 0pt; font-family: serif; padding: 0pt;background-color: #fff; color: #1c1c1c; }
a { color: #2d88c4; }
a:hover { color: #4dcbeb; }
#main { margin: 2vw; white-space: pre-wrap; }
img { width :100% }
#footer { border-top: 1px solid gray; padding: 2vw; background-color: black;}
.mv{position: relative;z-index: 0;padding: 2vw;overflow: hidden;}
.main{
height: 100vh;
max-height: 400px;
position: relative;
z-index: 1;
}
.left{
display: block;
width: 400px;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.right{
display: block;
margin-left: 300px;
height: 100%;
background-image: url(./co_event3.png) ;
background-size:cover;
opacity: 0.6;
background-position:center left;
position: relative;
top: 0;
right: 0;
z-index: 1;
}
h1 {
display: block;
box-sizing: border-box;
position: absolute;
top: 40%;
white-space: nowrap;
border-top: #1c1c1c solid 1px;
border-bottom: #1c1c1c solid 1px;
color: #fff;
text-shadow:
2px 0 2px #1c1c1c,
0 2px 2px #1c1c1c,
-2px 0 2px #1c1c1c,
0 -2px 2px #1c1c1c
}
.club{
display: block;
float: left;
position: relative;
margin-top: -40px;
margin-left: 40px;
text-align: left;
z-index: 6;
max-width: 700px;
}
h2{
padding: 1.2em 1.2em 0 1.2em;
}
h2:first-of-type+div{
padding: 2em;
margin-bottom: 3em;
}
h2:last-of-type{
background-color: #ececec;
}
h2:last-of-type+div{
padding: 2em;
background-color: #ececec;
}
dl{
border: #1c1c1c 1px solid;
padding: 1em;
overflow: hidden;
max-width: 350px;
}
dt{
margin-bottom: 0.5em;
font-weight: 700;
}
dd{
padding-left: 1em;
margin-bottom: 0.5em;
}
dd:last-of-type{
border-bottom: none;
}
.sdgsicon{
padding: 1em 0 2em;
text-align: center;
background-color: #ececec;
}
/* 640 *//* ------- */@media screen and (max-width:640px){
body{font-size: 0.8em;}
.main{
height: 360px;
padding-bottom: 20px;
}
.left{width: 100%;
}
h1{
text-align: center;
margin: auto;left:0;right: 0;}
.right{display: block;
margin-left: 0px;
}
.club{
text-align: center;
margin-left: auto;
}
h2{
padding: 1em;
text-align: center;
}
}