mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
193 lines
5.1 KiB
HTML
193 lines
5.1 KiB
HTML
<style type="text/css">
|
|
|
|
/* we deliberately inline style here to avoid flash-of-CSS problems, and to avoid
|
|
* voodoo where we have to set display: none by default
|
|
*/
|
|
|
|
h1::after {
|
|
content: "!";
|
|
}
|
|
|
|
.mx_Parent {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-box-pack: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin-top: 100px;
|
|
}
|
|
|
|
.mx_Well {
|
|
display: block;
|
|
-webkit-box-pack: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-webkit-flex-wrap: wrap;
|
|
-ms-flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
border-radius: 10px;
|
|
background-color: #F2F5F8;
|
|
}
|
|
|
|
.mx_ButtonParent {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
padding: 10px 20px;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-webkit-flex-direction: row;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
-webkit-box-pack: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
border-radius: 10px;
|
|
width: 140px;
|
|
}
|
|
|
|
.mx_ButtonRow {
|
|
display: -webkit-box;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
width: 600px;
|
|
height: 120px;
|
|
-webkit-justify-content: space-around;
|
|
-ms-flex-pack: distribute;
|
|
justify-content: space-around;
|
|
-webkit-box-align: center;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.mx_buttonheadline {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.mx_buttonicon {
|
|
width: 40px;
|
|
}
|
|
|
|
.mx_buttonlabel {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.mx_buttonwrappertext {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.mx_Header2 {
|
|
font-size: 32px;
|
|
font-weight: 400;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.mx_Header22 {
|
|
font-size: 14px;
|
|
font-weight: 200;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.mx_ButtonSignIn {
|
|
background: #368BD6;
|
|
color: white;
|
|
}
|
|
|
|
.mx_ButtonCreateAccount {
|
|
background: #03B381;
|
|
color: white;
|
|
}
|
|
|
|
.mx_secondarybutton {
|
|
background: #FFFFFF;
|
|
color: #2E2F32;
|
|
}
|
|
|
|
</style>
|
|
|
|
<div class="mx_Parent">
|
|
<a href="https://riot.im">
|
|
<img src="home/images/logo.svg" alt="" class="mx_logo"/>
|
|
</a>
|
|
<h1 class="mx_Header2">_t("Welcome to Riot.im")</h1>
|
|
<h4 class="mx_Header22">_t("Decentralised, encrypted chat & collaboration powered by [matrix]")</h4>
|
|
<div class="mx_Well">
|
|
<div class="mx_ButtonRow">
|
|
<div class="mx_ButtonParent mx_ButtonSignIn">
|
|
<img src="home/images/icon-sign-in.svg" alt="" class="mx_buttonicon"/>
|
|
<div class="mx_buttonlabel">Sign In</div>
|
|
</div>
|
|
<div class="mx_ButtonParent mx_ButtonCreateAccount">
|
|
<img src="home/images/icon-create-account.svg" alt="" class="mx_buttonicon"/>
|
|
<div class="mx_buttonlabel">Create Account</div>
|
|
</div>
|
|
</div>
|
|
<div class="mx_ButtonRow">
|
|
<div class="mx_buttonwrapper">
|
|
<div class="mx_buttonwrappertext">Need help?</div>
|
|
<div class="mx_ButtonParent mx_secondarybutton">
|
|
<img src="home/images/icon-help.svg" alt="" class="mx_buttonicon"/>
|
|
<div class="mx_buttonlabel">Chat with Riot Bot</div>
|
|
</div>
|
|
</div>
|
|
<div class="mx_buttonwrapper">
|
|
<div class="mx_buttonwrappertext">Explore rooms</div>
|
|
<div class="mx_ButtonParent mx_secondarybutton">
|
|
<img src="home/images/icon-room-directory.svg" alt="" class="mx_buttonicon"/>
|
|
<div class="mx_buttonlabel">Room Directory</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<!-- <div class="mx_HomePage_well">
|
|
<div class="mx_HomePage_col">
|
|
<div class="mx_HomePage_row ">
|
|
<div>
|
|
<h3>_t("Search the room directory")</h3>
|
|
<a class="mx_HomePage_room" href="#/directory">
|
|
<img class="mx_HomePage_icon" src="home/images/icons-directory.svg">
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="mx_HomePage_row">
|
|
<div>
|
|
<h3>_t("Chat with Riot Bot")</h3>
|
|
<a class="mx_HomePage_room" href="#/user/@riot-bot:matrix.org?action=chat">
|
|
<img class="mx_HomePage_icon" src="home/rooms/riot-bot.png">
|
|
</a>
|
|
<span class="mx_HomePage_comment">
|
|
_t("Get started with some tips from Riot Bot!")
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> -->
|