Spaces:
Runtime error
Runtime error
EliottZemour
commited on
Commit
·
48af5a6
1
Parent(s):
84cddf4
update app
Browse files
app.py
CHANGED
@@ -41,111 +41,7 @@ class CARDS_TEMPLATE(object):
|
|
41 |
html = """<head>
|
42 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
43 |
|
44 |
-
<
|
45 |
-
@import url("https://fonts.googleapis.com/css?family=Merriweather|Open+Sans");
|
46 |
-
|
47 |
-
.container {
|
48 |
-
display: flex;
|
49 |
-
justify-content: center;
|
50 |
-
padding: 80px;
|
51 |
-
}
|
52 |
-
|
53 |
-
ul {
|
54 |
-
list-style-type: none;
|
55 |
-
display: flex;
|
56 |
-
float: none;
|
57 |
-
justify-content: center;
|
58 |
-
align-items: center;
|
59 |
-
}
|
60 |
-
|
61 |
-
#urllinks li {
|
62 |
-
padding: 0px 30px 5px 5px;
|
63 |
-
}
|
64 |
-
|
65 |
-
.square {
|
66 |
-
width: 700px;
|
67 |
-
background: white;
|
68 |
-
border-radius: 4px;
|
69 |
-
box-shadow: 0px 20px 50px #d9dbdf;
|
70 |
-
}
|
71 |
-
|
72 |
-
.mask {
|
73 |
-
width: 700px;
|
74 |
-
height: 65px;
|
75 |
-
clip: rect(0px, 700px, 150px, 0px);
|
76 |
-
border-radius: 4px;
|
77 |
-
position: absolute;
|
78 |
-
background-color: #b31b1b;
|
79 |
-
display: flex;
|
80 |
-
}
|
81 |
-
|
82 |
-
.mask .left,
|
83 |
-
.mask .right {
|
84 |
-
flex: 1;
|
85 |
-
}
|
86 |
-
|
87 |
-
img {
|
88 |
-
position: absolute;
|
89 |
-
width: 60px;
|
90 |
-
padding: 8px 0px 0px 10px
|
91 |
-
}
|
92 |
-
|
93 |
-
.h1 {
|
94 |
-
margin: auto;
|
95 |
-
text-align: left;
|
96 |
-
margin-top: 90px;
|
97 |
-
padding-left: 30px;
|
98 |
-
font-family: "Merriweather", serif;
|
99 |
-
font-size: 22px;
|
100 |
-
}
|
101 |
-
|
102 |
-
h2 {
|
103 |
-
color: white;
|
104 |
-
text-align: center;
|
105 |
-
font-size: 14px;
|
106 |
-
padding: 10px 0px;
|
107 |
-
font-family: "Open Sans", sans-serif;
|
108 |
-
font-weight: 400;
|
109 |
-
}
|
110 |
-
|
111 |
-
p {
|
112 |
-
text-align: justify;
|
113 |
-
padding-left: 30px;
|
114 |
-
padding-right: 30px;
|
115 |
-
font-family: "Open Sans", sans-serif;
|
116 |
-
font-size: 12px;
|
117 |
-
color: #949494;
|
118 |
-
line-height: 18px;
|
119 |
-
}
|
120 |
-
|
121 |
-
.auth {
|
122 |
-
text-align: justify;
|
123 |
-
padding-left: 0px;
|
124 |
-
padding-right: 20px;
|
125 |
-
font-family: "Open Sans", sans-serif;
|
126 |
-
font-size: 14px;
|
127 |
-
line-height: 18px;
|
128 |
-
}
|
129 |
-
|
130 |
-
.button {
|
131 |
-
background-color: #b31b1b;
|
132 |
-
color: white;
|
133 |
-
width: 150px;
|
134 |
-
padding: 10px 10px;
|
135 |
-
border-radius: 3px;
|
136 |
-
text-align: center;
|
137 |
-
text-decoration: none;
|
138 |
-
display: block;
|
139 |
-
margin-top: 20px;
|
140 |
-
margin-left: 20px;
|
141 |
-
margin-right: 20px;
|
142 |
-
font-size: 12px;
|
143 |
-
cursor: pointer;
|
144 |
-
font-family: "merriweather";
|
145 |
-
}
|
146 |
-
|
147 |
-
</style>
|
148 |
-
|
149 |
|
150 |
</head>
|
151 |
|
@@ -154,10 +50,10 @@ p {
|
|
154 |
<div class="container">
|
155 |
<div class="square">
|
156 |
<div class="mask">
|
157 |
-
<
|
158 |
-
|
159 |
-
</
|
160 |
-
<h2 class="right">
|
161 |
</div>
|
162 |
<div class="h1">Observational Signatures of Galactic Turbulent Dynamos</div>
|
163 |
<ul id="links">
|
|
|
41 |
html = """<head>
|
42 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
43 |
|
44 |
+
<link href="file/csscard.css" rel="stylesheet" type="text/css"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
</head>
|
47 |
|
|
|
50 |
<div class="container">
|
51 |
<div class="square">
|
52 |
<div class="mask">
|
53 |
+
<div class="left">
|
54 |
+
<img src="file/arxiv-logo.svg" alt="arxiv logo" z-index: 1>
|
55 |
+
</div>
|
56 |
+
<h2 class="right">[2208.14178v1]</h2>
|
57 |
</div>
|
58 |
<div class="h1">Observational Signatures of Galactic Turbulent Dynamos</div>
|
59 |
<ul id="links">
|