File size: 2,034 Bytes
9b5ef69 318cce1 aad10ac 9b5ef69 f923e24 aad10ac 8fc6c76 aad10ac 8fc6c76 aad10ac 8fc6c76 aad10ac 8fc6c76 f923e24 aad10ac 9b5ef69 8fc6c76 aad10ac 8fc6c76 318cce1 aad10ac 318cce1 aad10ac 8fc6c76 aad10ac 8fc6c76 aad10ac 8fc6c76 aad10ac 8fc6c76 aad10ac f923e24 |
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 |
import streamlit as st
# Custom CSS for styling
st.markdown(
"""
<style>
.stApp {
background: linear-gradient(to right, #f3e5f5, #e1bee7);
color: #4a148c;
}
.title {
text-align: center;
color: #6a1b9a;
font-weight: bold;
}
.stMarkdown {
font-size: 16px;
line-height: 1.6;
}
.sidebar-title {
font-size: 20px;
font-weight: bold;
color: #6a1b9a;
}
</style>
""",
unsafe_allow_html=True
)
# Set page title
st.title("π Cricket Team Players")
# Introduction about the players
st.markdown(
"""
## π Introduction to Team Players
Every successful cricket team is built on a strong foundation of talented players who contribute with their unique skills.
A well-balanced team consists of skilled batsmen, versatile all-rounders, and impactful bowlers who work together to achieve victory.
**Player Categories:**
- **β‘ Batsmen:** Responsible for scoring runs, building partnerships, and setting or chasing targets. Some are aggressive strikers, while others anchor the innings.
- **π― Bowlers:** A mix of fast bowlers and spinners bring variety to the attack, focusing on taking wickets and maintaining control over the opposition.
- **π All-Rounders:** Players who contribute with both bat and ball provide balance to the team, often playing crucial roles in match situations.
- **π§€ Wicketkeepers:** The backbone of the fielding unit, wicketkeepers not only take catches and stumpings but also contribute with the bat.
With a blend of experience and emerging talent, the team thrives on teamwork, strategy, and determination to succeed on the field.
""",
unsafe_allow_html=True
)
# Sidebar - Author Details
st.sidebar.markdown("<p class='sidebar-title'>π Author Details</p>", unsafe_allow_html=True)
st.sidebar.markdown("**π€ Name:** Shweta Singh")
st.sidebar.markdown("**π§ Email:** singhshwet05@gmail.com")
|