1
0
Fork 0

spostato stile talk in un file css (wow)

This commit is contained in:
boyska 2017-06-09 12:11:30 +02:00
parent c6bf2433a6
commit 77bd99150d
No known key found for this signature in database
GPG key ID: 7395DCAE58289CA9
2 changed files with 46 additions and 44 deletions

View file

@ -1,47 +1,3 @@
<style>
.talk-grid {
table-layout: auto;
width: 100%;
border-collapse: collapse;
text-align: center;
}
.talk-grid > thead th:first-child {
max-width: 5em;
}
.talk-grid > thead th {
text-align: center;
}
.talk-grid tr { height: 1.5em; }
.rooms-4 .talk { width: 25%; }
.rooms-3 .talk { width: 33%; }
.rooms-2 .talk { width: 50%; }
.rooms-1 .talk { width: 100%; }
td.talk {
border: 1px solid #444;
padding: 4px;
}
td.talk > a {
text-decoration: none;
}
.talk-grid tr { line-height: 1em; }
.talk-grid tr:hover td:first-child {
background-color: rgb(152, 14, 14);
background-color: rgba(152, 14, 14, 0.79);
}
.talk-grid tr:hover td {
background-color: rgb(60, 22, 22)
}
</style>
<table class="talk-grid rooms-{{-rooms|length}}"> <table class="talk-grid rooms-{{-rooms|length}}">
<thead> <thead>
<tr> <tr>

View file

@ -85,3 +85,49 @@ blockquote {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
/* TALK */
.talk-grid {
table-layout: auto;
width: 100%;
border-collapse: collapse;
text-align: center;
}
.talk-grid > thead th:first-child {
max-width: 5em;
}
.talk-grid > thead th {
text-align: center;
}
.talk-grid tr { height: 1.5em; }
.rooms-4 .talk { width: 25%; }
.rooms-3 .talk { width: 33%; }
.rooms-2 .talk { width: 50%; }
.rooms-1 .talk { width: 100%; }
td.talk {
border: 1px solid #444;
padding: 4px;
}
td.talk > a {
text-decoration: none;
}
.talk-grid tr { line-height: 1em; }
.talk-grid tr:hover td:first-child {
background-color: rgb(152, 14, 14);
background-color: rgba(152, 14, 14, 0.79);
}
.talk-grid tr:hover td {
background-color: rgb(60, 22, 22)
}
.talk-title a { font-size: 50%; }